Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.65 KB | None | 0 0
  1. Arduino: 1.6.8 (Windows 7), Board: "Arduino Duemilanove or Diecimila, ATmega328"
  2.  
  3. In file included from sketch\Repetier.h:370:0,
  4.  
  5. from sketch\Commands.cpp:22:
  6.  
  7. sketch\HAL.h: In member function 'void InterruptProtectedBlock::protect()':
  8.  
  9. HAL.h:164: error: 'NVIC_EncodePriority' was not declared in this scope
  10.  
  11. __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
  12.  
  13. ^
  14.  
  15. HAL.h:164: error: '__set_BASEPRI' was not declared in this scope
  16.  
  17. __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
  18.  
  19. ^
  20.  
  21. sketch\HAL.h: In member function 'void InterruptProtectedBlock::unprotect()':
  22.  
  23. HAL.h:168: error: '__set_BASEPRI' was not declared in this scope
  24.  
  25. __set_BASEPRI(0);
  26.  
  27. ^
  28.  
  29. sketch\HAL.h: In constructor 'InterruptProtectedBlock::InterruptProtectedBlock(bool)':
  30.  
  31. HAL.h:173: error: 'NVIC_EncodePriority' was not declared in this scope
  32.  
  33. __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
  34.  
  35. ^
  36.  
  37. HAL.h:173: error: '__set_BASEPRI' was not declared in this scope
  38.  
  39. __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
  40.  
  41. ^
  42.  
  43. sketch\HAL.h: In destructor 'InterruptProtectedBlock::~InterruptProtectedBlock()':
  44.  
  45. HAL.h:177: error: '__set_BASEPRI' was not declared in this scope
  46.  
  47. __set_BASEPRI(0);
  48.  
  49. ^
  50.  
  51. sketch\HAL.h: In static member function 'static void HAL::hwSetup()':
  52.  
  53. HAL.h:297: error: 'TimeTick_Configure' was not declared in this scope
  54.  
  55. TimeTick_Configure(F_CPU_TRUE);
  56.  
  57. ^
  58.  
  59. In file included from sketch\Repetier.h:370:0,
  60.  
  61. from sketch\Commands.cpp:22:
  62.  
  63. HAL.h:99: error: 'ID_TC4' was not declared in this scope
  64.  
  65. #define DELAY_TIMER_IRQ ID_TC4 // IRQ not really used, needed for pmc id
  66.  
  67. ^
  68.  
  69. sketch\HAL.h:300:31: note: in expansion of macro 'DELAY_TIMER_IRQ'
  70.  
  71. pmc_enable_periph_clk(DELAY_TIMER_IRQ);
  72.  
  73. ^
  74.  
  75. In file included from sketch\Repetier.h:370:0,
  76.  
  77. from sketch\Commands.cpp:22:
  78.  
  79. HAL.h:300: error: 'pmc_enable_periph_clk' was not declared in this scope
  80.  
  81. pmc_enable_periph_clk(DELAY_TIMER_IRQ);
  82.  
  83. ^
  84.  
  85. In file included from sketch\Repetier.h:370:0,
  86.  
  87. from sketch\Commands.cpp:22:
  88.  
  89. HAL.h:97: error: 'TC1' was not declared in this scope
  90.  
  91. #define DELAY_TIMER TC1
  92.  
  93. ^
  94.  
  95. sketch\HAL.h:301:22: note: in expansion of macro 'DELAY_TIMER'
  96.  
  97. TC_Configure(DELAY_TIMER, DELAY_TIMER_CHANNEL, TC_CMR_WAVSEL_UP |
  98.  
  99. ^
  100.  
  101. In file included from sketch\Repetier.h:370:0,
  102.  
  103. from sketch\Commands.cpp:22:
  104.  
  105. HAL.h:301: error: 'TC_CMR_WAVSEL_UP' was not declared in this scope
  106.  
  107. TC_Configure(DELAY_TIMER, DELAY_TIMER_CHANNEL, TC_CMR_WAVSEL_UP |
  108.  
  109. ^
  110.  
  111. HAL.h:302: error: 'TC_CMR_WAVE' was not declared in this scope
  112.  
  113. TC_CMR_WAVE | DELAY_TIMER_CLOCK);
  114.  
  115. ^
  116.  
  117. In file included from sketch\Repetier.h:370:0,
  118.  
  119. from sketch\Commands.cpp:22:
  120.  
  121. HAL.h:100: error: 'TC_CMR_TCCLKS_TIMER_CLOCK2' was not declared in this scope
  122.  
  123. #define DELAY_TIMER_CLOCK TC_CMR_TCCLKS_TIMER_CLOCK2
  124.  
  125. ^
  126.  
  127. sketch\HAL.h:302:36: note: in expansion of macro 'DELAY_TIMER_CLOCK'
  128.  
  129. TC_CMR_WAVE | DELAY_TIMER_CLOCK);
  130.  
  131. ^
  132.  
  133. In file included from sketch\Repetier.h:370:0,
  134.  
  135. from sketch\Commands.cpp:22:
  136.  
  137. HAL.h:302: error: 'TC_Configure' was not declared in this scope
  138.  
  139. TC_CMR_WAVE | DELAY_TIMER_CLOCK);
  140.  
  141. ^
  142.  
  143. HAL.h:303: error: 'TC_Start' was not declared in this scope
  144.  
  145. TC_Start(DELAY_TIMER, DELAY_TIMER_CHANNEL);
  146.  
  147. ^
  148.  
  149. In file included from sketch\Repetier.h:370:0,
  150.  
  151. from sketch\Commands.cpp:22:
  152.  
  153. sketch\HAL.h: In static member function 'static void HAL::digitalWrite(uint8_t, uint8_t)':
  154.  
  155. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  156.  
  157. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  158.  
  159. ^
  160.  
  161. sketch\HAL.h:351:9: note: in expansion of macro 'WRITE'
  162.  
  163. WRITE(pin, value);
  164.  
  165. ^
  166.  
  167. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  168.  
  169. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  170.  
  171. ^
  172.  
  173. sketch\HAL.h:351:9: note: in expansion of macro 'WRITE'
  174.  
  175. WRITE(pin, value);
  176.  
  177. ^
  178.  
  179. sketch\HAL.h: In static member function 'static uint8_t HAL::digitalRead(uint8_t)':
  180.  
  181. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  182.  
  183. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  184.  
  185. ^
  186.  
  187. sketch\HAL.h:355:16: note: in expansion of macro 'READ'
  188.  
  189. return READ(pin);
  190.  
  191. ^
  192.  
  193. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  194.  
  195. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  196.  
  197. ^
  198.  
  199. sketch\HAL.h:355:16: note: in expansion of macro 'READ'
  200.  
  201. return READ(pin);
  202.  
  203. ^
  204.  
  205. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  206.  
  207. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  208.  
  209. ^
  210.  
  211. sketch\HAL.h:355:16: note: in expansion of macro 'READ'
  212.  
  213. return READ(pin);
  214.  
  215. ^
  216.  
  217. In file included from sketch\Repetier.h:370:0,
  218.  
  219. from sketch\Commands.cpp:22:
  220.  
  221. sketch\HAL.h: In static member function 'static void HAL::pinMode(uint8_t, uint8_t)':
  222.  
  223. HAL.h:149: error: 'g_APinDescription' was not declared in this scope
  224.  
  225. #define SET_INPUT(pin) pmc_enable_periph_clk(g_APinDescription[pin].ulPeripheralId); \
  226.  
  227. ^
  228.  
  229. sketch\HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
  230.  
  231. if (mode == INPUT) {SET_INPUT(pin);}
  232.  
  233. ^
  234.  
  235. HAL.h:149: error: 'pmc_enable_periph_clk' was not declared in this scope
  236.  
  237. #define SET_INPUT(pin) pmc_enable_periph_clk(g_APinDescription[pin].ulPeripheralId); \
  238.  
  239. ^
  240.  
  241. sketch\HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
  242.  
  243. if (mode == INPUT) {SET_INPUT(pin);}
  244.  
  245. ^
  246.  
  247. HAL.h:150: error: 'PIO_INPUT' was not declared in this scope
  248.  
  249. PIO_Configure(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin, 0)
  250.  
  251. ^
  252.  
  253. sketch\HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
  254.  
  255. if (mode == INPUT) {SET_INPUT(pin);}
  256.  
  257. ^
  258.  
  259. HAL.h:150: error: 'PIO_Configure' was not declared in this scope
  260.  
  261. PIO_Configure(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin, 0)
  262.  
  263. ^
  264.  
  265. sketch\HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
  266.  
  267. if (mode == INPUT) {SET_INPUT(pin);}
  268.  
  269. ^
  270.  
  271. HAL.h:151: error: 'g_APinDescription' was not declared in this scope
  272.  
  273. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  274.  
  275. ^
  276.  
  277. sketch\HAL.h:360:14: note: in expansion of macro 'SET_OUTPUT'
  278.  
  279. else SET_OUTPUT(pin);
  280.  
  281. ^
  282.  
  283. HAL.h:151: error: 'PIO_OUTPUT_1' was not declared in this scope
  284.  
  285. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  286.  
  287. ^
  288.  
  289. sketch\HAL.h:360:14: note: in expansion of macro 'SET_OUTPUT'
  290.  
  291. else SET_OUTPUT(pin);
  292.  
  293. ^
  294.  
  295. HAL.h:152: error: 'PIO_Configure' was not declared in this scope
  296.  
  297. g_APinDescription[pin].ulPin, g_APinDescription[pin].ulPinConfiguration)
  298.  
  299. ^
  300.  
  301. sketch\HAL.h:360:14: note: in expansion of macro 'SET_OUTPUT'
  302.  
  303. else SET_OUTPUT(pin);
  304.  
  305. ^
  306.  
  307. sketch\HAL.h: In static member function 'static void HAL::tone(uint8_t, int)':
  308.  
  309. HAL.h:151: error: 'g_APinDescription' was not declared in this scope
  310.  
  311. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  312.  
  313. ^
  314.  
  315. sketch\HAL.h:394:9: note: in expansion of macro 'SET_OUTPUT'
  316.  
  317. SET_OUTPUT(pin);
  318.  
  319. ^
  320.  
  321. HAL.h:151: error: 'PIO_OUTPUT_1' was not declared in this scope
  322.  
  323. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  324.  
  325. ^
  326.  
  327. sketch\HAL.h:394:9: note: in expansion of macro 'SET_OUTPUT'
  328.  
  329. SET_OUTPUT(pin);
  330.  
  331. ^
  332.  
  333. HAL.h:152: error: 'PIO_Configure' was not declared in this scope
  334.  
  335. g_APinDescription[pin].ulPin, g_APinDescription[pin].ulPinConfiguration)
  336.  
  337. ^
  338.  
  339. sketch\HAL.h:394:9: note: in expansion of macro 'SET_OUTPUT'
  340.  
  341. SET_OUTPUT(pin);
  342.  
  343. ^
  344.  
  345. HAL.h:396: error: 'pmc_set_writeprotect' was not declared in this scope
  346.  
  347. pmc_set_writeprotect(false);
  348.  
  349. ^
  350.  
  351. In file included from sketch\Repetier.h:370:0,
  352.  
  353. from sketch\Commands.cpp:22:
  354.  
  355. HAL.h:95: error: 'ID_TC3' was not declared in this scope
  356.  
  357. #define BEEPER_TIMER_IRQ ID_TC3
  358.  
  359. ^
  360.  
  361. sketch\HAL.h:397:41: note: in expansion of macro 'BEEPER_TIMER_IRQ'
  362.  
  363. pmc_enable_periph_clk((uint32_t)BEEPER_TIMER_IRQ);
  364.  
  365. ^
  366.  
  367. In file included from sketch\Repetier.h:370:0,
  368.  
  369. from sketch\Commands.cpp:22:
  370.  
  371. HAL.h:397: error: 'pmc_enable_periph_clk' was not declared in this scope
  372.  
  373. pmc_enable_periph_clk((uint32_t)BEEPER_TIMER_IRQ);
  374.  
  375. ^
  376.  
  377. HAL.h:399: error: 'IRQn_Type' was not declared in this scope
  378.  
  379. NVIC_SetPriority((IRQn_Type)BEEPER_TIMER_IRQ, NVIC_EncodePriority(4, 6, 3));
  380.  
  381. ^
  382.  
  383. HAL.h:399: error: 'NVIC_EncodePriority' was not declared in this scope
  384.  
  385. NVIC_SetPriority((IRQn_Type)BEEPER_TIMER_IRQ, NVIC_EncodePriority(4, 6, 3));
  386.  
  387. ^
  388.  
  389. HAL.h:399: error: 'NVIC_SetPriority' was not declared in this scope
  390.  
  391. NVIC_SetPriority((IRQn_Type)BEEPER_TIMER_IRQ, NVIC_EncodePriority(4, 6, 3));
  392.  
  393. ^
  394.  
  395. In file included from sketch\Repetier.h:370:0,
  396.  
  397. from sketch\Commands.cpp:22:
  398.  
  399. HAL.h:93: error: 'TC1' was not declared in this scope
  400.  
  401. #define BEEPER_TIMER TC1
  402.  
  403. ^
  404.  
  405. sketch\HAL.h:400:22: note: in expansion of macro 'BEEPER_TIMER'
  406.  
  407. TC_Configure(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, TC_CMR_WAVE | TC_CMR_WAVSEL_UP_RC |
  408.  
  409. ^
  410.  
  411. In file included from sketch\Repetier.h:370:0,
  412.  
  413. from sketch\Commands.cpp:22:
  414.  
  415. HAL.h:400: error: 'TC_CMR_WAVE' was not declared in this scope
  416.  
  417. TC_Configure(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, TC_CMR_WAVE | TC_CMR_WAVSEL_UP_RC |
  418.  
  419. ^
  420.  
  421. HAL.h:400: error: 'TC_CMR_WAVSEL_UP_RC' was not declared in this scope
  422.  
  423. TC_Configure(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, TC_CMR_WAVE | TC_CMR_WAVSEL_UP_RC |
  424.  
  425. ^
  426.  
  427. HAL.h:401: error: 'TC_CMR_TCCLKS_TIMER_CLOCK4' was not declared in this scope
  428.  
  429. TC_CMR_TCCLKS_TIMER_CLOCK4); // TIMER_CLOCK4 -> 128 divisor
  430.  
  431. ^
  432.  
  433. HAL.h:401: error: 'TC_Configure' was not declared in this scope
  434.  
  435. TC_CMR_TCCLKS_TIMER_CLOCK4); // TIMER_CLOCK4 -> 128 divisor
  436.  
  437. ^
  438.  
  439. HAL.h:402: error: 'VARIANT_MCK' was not declared in this scope
  440.  
  441. uint32_t rc = VARIANT_MCK / 128 / frequency;
  442.  
  443. ^
  444.  
  445. HAL.h:403: error: 'TC_SetRA' was not declared in this scope
  446.  
  447. TC_SetRA(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, rc/2); // 50% duty cycle
  448.  
  449. ^
  450.  
  451. HAL.h:404: error: 'TC_SetRC' was not declared in this scope
  452.  
  453. TC_SetRC(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, rc);
  454.  
  455. ^
  456.  
  457. HAL.h:405: error: 'TC_Start' was not declared in this scope
  458.  
  459. TC_Start(BEEPER_TIMER, BEEPER_TIMER_CHANNEL);
  460.  
  461. ^
  462.  
  463. HAL.h:406: error: 'TC_IER_CPCS' was not declared in this scope
  464.  
  465. BEEPER_TIMER->TC_CHANNEL[BEEPER_TIMER_CHANNEL].TC_IER=TC_IER_CPCS;
  466.  
  467. ^
  468.  
  469. In file included from sketch\Repetier.h:370:0,
  470.  
  471. from sketch\Commands.cpp:22:
  472.  
  473. HAL.h:95: error: expected ')' before 'ID_TC3'
  474.  
  475. #define BEEPER_TIMER_IRQ ID_TC3
  476.  
  477. ^
  478.  
  479. sketch\HAL.h:408:35: note: in expansion of macro 'BEEPER_TIMER_IRQ'
  480.  
  481. NVIC_EnableIRQ((IRQn_Type)BEEPER_TIMER_IRQ);
  482.  
  483. ^
  484.  
  485. In file included from sketch\Repetier.h:370:0,
  486.  
  487. from sketch\Commands.cpp:22:
  488.  
  489. HAL.h:408: error: 'NVIC_EnableIRQ' was not declared in this scope
  490.  
  491. NVIC_EnableIRQ((IRQn_Type)BEEPER_TIMER_IRQ);
  492.  
  493. ^
  494.  
  495. sketch\HAL.h: In static member function 'static void HAL::noTone(uint8_t)':
  496.  
  497. HAL.h:411: error: 'TC1' was not declared in this scope
  498.  
  499. TC_Stop(TC1, 0);
  500.  
  501. ^
  502.  
  503. HAL.h:411: error: 'TC_Stop' was not declared in this scope
  504.  
  505. TC_Stop(TC1, 0);
  506.  
  507. ^
  508.  
  509. In file included from sketch\Repetier.h:370:0,
  510.  
  511. from sketch\Commands.cpp:22:
  512.  
  513. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  514.  
  515. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  516.  
  517. ^
  518.  
  519. sketch\HAL.h:412:9: note: in expansion of macro 'WRITE'
  520.  
  521. WRITE(pin, LOW);
  522.  
  523. ^
  524.  
  525. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  526.  
  527. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  528.  
  529. ^
  530.  
  531. sketch\HAL.h:412:9: note: in expansion of macro 'WRITE'
  532.  
  533. WRITE(pin, LOW);
  534.  
  535. ^
  536.  
  537. In file included from sketch\pins.h:295:0,
  538.  
  539. from sketch\Configuration.h:156,
  540.  
  541. from sketch\Repetier.h:178,
  542.  
  543. from sketch\Commands.cpp:22:
  544.  
  545. sketch\HAL.h: In static member function 'static void HAL::serialSetBaudrate(long int)':
  546.  
  547. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  548.  
  549. #define RFSERIAL SerialUSB // Native USB Port of the due
  550.  
  551. ^
  552.  
  553. sketch\HAL.h:562:9: note: in expansion of macro 'RFSERIAL'
  554.  
  555. RFSERIAL.begin(baud);
  556.  
  557. ^
  558.  
  559. sketch\HAL.h: In static member function 'static bool HAL::serialByteAvailable()':
  560.  
  561. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  562.  
  563. #define RFSERIAL SerialUSB // Native USB Port of the due
  564.  
  565. ^
  566.  
  567. sketch\HAL.h:570:16: note: in expansion of macro 'RFSERIAL'
  568.  
  569. return RFSERIAL.available();
  570.  
  571. ^
  572.  
  573. sketch\HAL.h: In static member function 'static uint8_t HAL::serialReadByte()':
  574.  
  575. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  576.  
  577. #define RFSERIAL SerialUSB // Native USB Port of the due
  578.  
  579. ^
  580.  
  581. sketch\HAL.h:578:16: note: in expansion of macro 'RFSERIAL'
  582.  
  583. return RFSERIAL.read();
  584.  
  585. ^
  586.  
  587. sketch\HAL.h: In static member function 'static void HAL::serialWriteByte(char)':
  588.  
  589. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  590.  
  591. #define RFSERIAL SerialUSB // Native USB Port of the due
  592.  
  593. ^
  594.  
  595. sketch\HAL.h:593:9: note: in expansion of macro 'RFSERIAL'
  596.  
  597. RFSERIAL.write(b);
  598.  
  599. ^
  600.  
  601. sketch\HAL.h: In static member function 'static void HAL::serialFlush()':
  602.  
  603. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  604.  
  605. #define RFSERIAL SerialUSB // Native USB Port of the due
  606.  
  607. ^
  608.  
  609. sketch\HAL.h:601:9: note: in expansion of macro 'RFSERIAL'
  610.  
  611. RFSERIAL.flush();
  612.  
  613. ^
  614.  
  615. In file included from sketch\Repetier.h:370:0,
  616.  
  617. from sketch\Commands.cpp:22:
  618.  
  619. sketch\HAL.h: In static member function 'static uint8_t HAL::spiTransfer(uint8_t)':
  620.  
  621. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  622.  
  623. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  624.  
  625. ^
  626.  
  627. sketch\HAL.h:617:17: note: in expansion of macro 'WRITE'
  628.  
  629. WRITE(MOSI_PIN, HIGH);
  630.  
  631. ^
  632.  
  633. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  634.  
  635. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  636.  
  637. ^
  638.  
  639. sketch\HAL.h:617:17: note: in expansion of macro 'WRITE'
  640.  
  641. WRITE(MOSI_PIN, HIGH);
  642.  
  643. ^
  644.  
  645. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  646.  
  647. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  648.  
  649. ^
  650.  
  651. sketch\HAL.h:619:17: note: in expansion of macro 'WRITE'
  652.  
  653. WRITE(MOSI_PIN, LOW);
  654.  
  655. ^
  656.  
  657. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  658.  
  659. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  660.  
  661. ^
  662.  
  663. sketch\HAL.h:619:17: note: in expansion of macro 'WRITE'
  664.  
  665. WRITE(MOSI_PIN, LOW);
  666.  
  667. ^
  668.  
  669. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  670.  
  671. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  672.  
  673. ^
  674.  
  675. sketch\HAL.h:623:13: note: in expansion of macro 'WRITE'
  676.  
  677. WRITE(SCK_PIN, HIGH);
  678.  
  679. ^
  680.  
  681. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  682.  
  683. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  684.  
  685. ^
  686.  
  687. sketch\HAL.h:623:13: note: in expansion of macro 'WRITE'
  688.  
  689. WRITE(SCK_PIN, HIGH);
  690.  
  691. ^
  692.  
  693. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  694.  
  695. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  696.  
  697. ^
  698.  
  699. sketch\HAL.h:626:16: note: in expansion of macro 'READ'
  700.  
  701. if(READ(MISO_PIN)) {
  702.  
  703. ^
  704.  
  705. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  706.  
  707. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  708.  
  709. ^
  710.  
  711. sketch\HAL.h:626:16: note: in expansion of macro 'READ'
  712.  
  713. if(READ(MISO_PIN)) {
  714.  
  715. ^
  716.  
  717. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  718.  
  719. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  720.  
  721. ^
  722.  
  723. sketch\HAL.h:626:16: note: in expansion of macro 'READ'
  724.  
  725. if(READ(MISO_PIN)) {
  726.  
  727. ^
  728.  
  729. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  730.  
  731. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  732.  
  733. ^
  734.  
  735. sketch\HAL.h:629:13: note: in expansion of macro 'WRITE'
  736.  
  737. WRITE(SCK_PIN, LOW);
  738.  
  739. ^
  740.  
  741. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  742.  
  743. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  744.  
  745. ^
  746.  
  747. sketch\HAL.h:629:13: note: in expansion of macro 'WRITE'
  748.  
  749. WRITE(SCK_PIN, LOW);
  750.  
  751. ^
  752.  
  753. In file included from sketch\Repetier.h:370:0,
  754.  
  755. from sketch\Commands.cpp:22:
  756.  
  757. sketch\HAL.h: In static member function 'static void HAL::spiBegin()':
  758.  
  759. HAL.h:151: error: 'g_APinDescription' was not declared in this scope
  760.  
  761. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  762.  
  763. ^
  764.  
  765. sketch\HAL.h:636:9: note: in expansion of macro 'SET_OUTPUT'
  766.  
  767. SET_OUTPUT(SDSS);
  768.  
  769. ^
  770.  
  771. HAL.h:151: error: 'PIO_OUTPUT_1' was not declared in this scope
  772.  
  773. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  774.  
  775. ^
  776.  
  777. sketch\HAL.h:636:9: note: in expansion of macro 'SET_OUTPUT'
  778.  
  779. SET_OUTPUT(SDSS);
  780.  
  781. ^
  782.  
  783. HAL.h:152: error: 'PIO_Configure' was not declared in this scope
  784.  
  785. g_APinDescription[pin].ulPin, g_APinDescription[pin].ulPinConfiguration)
  786.  
  787. ^
  788.  
  789. sketch\HAL.h:636:9: note: in expansion of macro 'SET_OUTPUT'
  790.  
  791. SET_OUTPUT(SDSS);
  792.  
  793. ^
  794.  
  795. HAL.h:149: error: 'pmc_enable_periph_clk' was not declared in this scope
  796.  
  797. #define SET_INPUT(pin) pmc_enable_periph_clk(g_APinDescription[pin].ulPeripheralId); \
  798.  
  799. ^
  800.  
  801. sketch\HAL.h:639:9: note: in expansion of macro 'SET_INPUT'
  802.  
  803. SET_INPUT(MISO_PIN);
  804.  
  805. ^
  806.  
  807. HAL.h:150: error: 'PIO_INPUT' was not declared in this scope
  808.  
  809. PIO_Configure(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin, 0)
  810.  
  811. ^
  812.  
  813. sketch\HAL.h:639:9: note: in expansion of macro 'SET_INPUT'
  814.  
  815. SET_INPUT(MISO_PIN);
  816.  
  817. ^
  818.  
  819. In file included from sketch\Repetier.h:370:0,
  820.  
  821. from sketch\Commands.cpp:22:
  822.  
  823. sketch\HAL.h: In static member function 'static void HAL::spiInit(uint8_t)':
  824.  
  825. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  826.  
  827. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  828.  
  829. ^
  830.  
  831. sketch\HAL.h:645:8: note: in expansion of macro 'WRITE'
  832.  
  833. WRITE(SDSS, HIGH);
  834.  
  835. ^
  836.  
  837. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  838.  
  839. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  840.  
  841. ^
  842.  
  843. sketch\HAL.h:645:8: note: in expansion of macro 'WRITE'
  844.  
  845. WRITE(SDSS, HIGH);
  846.  
  847. ^
  848.  
  849. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  850.  
  851. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  852.  
  853. ^
  854.  
  855. sketch\HAL.h:646:8: note: in expansion of macro 'WRITE'
  856.  
  857. WRITE(MOSI_PIN, HIGH);
  858.  
  859. ^
  860.  
  861. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  862.  
  863. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  864.  
  865. ^
  866.  
  867. sketch\HAL.h:646:8: note: in expansion of macro 'WRITE'
  868.  
  869. WRITE(MOSI_PIN, HIGH);
  870.  
  871. ^
  872.  
  873. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  874.  
  875. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  876.  
  877. ^
  878.  
  879. sketch\HAL.h:647:8: note: in expansion of macro 'WRITE'
  880.  
  881. WRITE(SCK_PIN, LOW);
  882.  
  883. ^
  884.  
  885. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  886.  
  887. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  888.  
  889. ^
  890.  
  891. sketch\HAL.h:647:8: note: in expansion of macro 'WRITE'
  892.  
  893. WRITE(SCK_PIN, LOW);
  894.  
  895. ^
  896.  
  897. sketch\HAL.h: In static member function 'static uint8_t HAL::spiReceive()':
  898.  
  899. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  900.  
  901. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  902.  
  903. ^
  904.  
  905. sketch\HAL.h:651:8: note: in expansion of macro 'WRITE'
  906.  
  907. WRITE(SDSS, LOW);
  908.  
  909. ^
  910.  
  911. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  912.  
  913. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  914.  
  915. ^
  916.  
  917. sketch\HAL.h:651:8: note: in expansion of macro 'WRITE'
  918.  
  919. WRITE(SDSS, LOW);
  920.  
  921. ^
  922.  
  923. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  924.  
  925. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  926.  
  927. ^
  928.  
  929. sketch\HAL.h:653:8: note: in expansion of macro 'WRITE'
  930.  
  931. WRITE(SDSS, HIGH);
  932.  
  933. ^
  934.  
  935. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  936.  
  937. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  938.  
  939. ^
  940.  
  941. sketch\HAL.h:653:8: note: in expansion of macro 'WRITE'
  942.  
  943. WRITE(SDSS, HIGH);
  944.  
  945. ^
  946.  
  947. sketch\HAL.h: In static member function 'static void HAL::spiReadBlock(uint8_t*, uint16_t)':
  948.  
  949. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  950.  
  951. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  952.  
  953. ^
  954.  
  955. sketch\HAL.h:659:8: note: in expansion of macro 'WRITE'
  956.  
  957. WRITE(SDSS, LOW);
  958.  
  959. ^
  960.  
  961. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  962.  
  963. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  964.  
  965. ^
  966.  
  967. sketch\HAL.h:659:8: note: in expansion of macro 'WRITE'
  968.  
  969. WRITE(SDSS, LOW);
  970.  
  971. ^
  972.  
  973. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  974.  
  975. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  976.  
  977. ^
  978.  
  979. sketch\HAL.h:664:8: note: in expansion of macro 'WRITE'
  980.  
  981. WRITE(SDSS, HIGH);
  982.  
  983. ^
  984.  
  985. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  986.  
  987. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  988.  
  989. ^
  990.  
  991. sketch\HAL.h:664:8: note: in expansion of macro 'WRITE'
  992.  
  993. WRITE(SDSS, HIGH);
  994.  
  995. ^
  996.  
  997. sketch\HAL.h: In static member function 'static void HAL::spiSend(uint8_t)':
  998.  
  999. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1000.  
  1001. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1002.  
  1003. ^
  1004.  
  1005. sketch\HAL.h:668:8: note: in expansion of macro 'WRITE'
  1006.  
  1007. WRITE(SDSS, LOW);
  1008.  
  1009. ^
  1010.  
  1011. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1012.  
  1013. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1014.  
  1015. ^
  1016.  
  1017. sketch\HAL.h:668:8: note: in expansion of macro 'WRITE'
  1018.  
  1019. WRITE(SDSS, LOW);
  1020.  
  1021. ^
  1022.  
  1023. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1024.  
  1025. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1026.  
  1027. ^
  1028.  
  1029. sketch\HAL.h:670:8: note: in expansion of macro 'WRITE'
  1030.  
  1031. WRITE(SDSS, HIGH);
  1032.  
  1033. ^
  1034.  
  1035. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1036.  
  1037. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1038.  
  1039. ^
  1040.  
  1041. sketch\HAL.h:670:8: note: in expansion of macro 'WRITE'
  1042.  
  1043. WRITE(SDSS, HIGH);
  1044.  
  1045. ^
  1046.  
  1047. sketch\HAL.h: In static member function 'static void HAL::spiSend(const uint8_t*, size_t)':
  1048.  
  1049. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1050.  
  1051. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1052.  
  1053. ^
  1054.  
  1055. sketch\HAL.h:677:9: note: in expansion of macro 'WRITE'
  1056.  
  1057. WRITE(SDSS, LOW);
  1058.  
  1059. ^
  1060.  
  1061. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1062.  
  1063. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1064.  
  1065. ^
  1066.  
  1067. sketch\HAL.h:677:9: note: in expansion of macro 'WRITE'
  1068.  
  1069. WRITE(SDSS, LOW);
  1070.  
  1071. ^
  1072.  
  1073. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1074.  
  1075. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1076.  
  1077. ^
  1078.  
  1079. sketch\HAL.h:681:8: note: in expansion of macro 'WRITE'
  1080.  
  1081. WRITE(SDSS, HIGH);
  1082.  
  1083. ^
  1084.  
  1085. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1086.  
  1087. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1088.  
  1089. ^
  1090.  
  1091. sketch\HAL.h:681:8: note: in expansion of macro 'WRITE'
  1092.  
  1093. WRITE(SDSS, HIGH);
  1094.  
  1095. ^
  1096.  
  1097. sketch\HAL.h: In static member function 'static void HAL::spiSendBlock(uint8_t, const uint8_t*)':
  1098.  
  1099. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1100.  
  1101. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1102.  
  1103. ^
  1104.  
  1105. sketch\HAL.h:689:8: note: in expansion of macro 'WRITE'
  1106.  
  1107. WRITE(SDSS, LOW);
  1108.  
  1109. ^
  1110.  
  1111. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1112.  
  1113. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1114.  
  1115. ^
  1116.  
  1117. sketch\HAL.h:689:8: note: in expansion of macro 'WRITE'
  1118.  
  1119. WRITE(SDSS, LOW);
  1120.  
  1121. ^
  1122.  
  1123. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1124.  
  1125. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1126.  
  1127. ^
  1128.  
  1129. sketch\HAL.h:696:8: note: in expansion of macro 'WRITE'
  1130.  
  1131. WRITE(SDSS, HIGH);
  1132.  
  1133. ^
  1134.  
  1135. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1136.  
  1137. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1138.  
  1139. ^
  1140.  
  1141. sketch\HAL.h:696:8: note: in expansion of macro 'WRITE'
  1142.  
  1143. WRITE(SDSS, HIGH);
  1144.  
  1145. ^
  1146.  
  1147. In file included from sketch\Repetier.h:370:0,
  1148.  
  1149. from sketch\Commands.cpp:22:
  1150.  
  1151. sketch\HAL.h: In static member function 'static void HAL::startWatchdog()':
  1152.  
  1153. HAL.h:744: error: 'WDT_MR_WDRSTEN' was not declared in this scope
  1154.  
  1155. timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout);
  1156.  
  1157. ^
  1158.  
  1159. HAL.h:744: error: 'WDT_MR_WDV' was not declared in this scope
  1160.  
  1161. timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout);
  1162.  
  1163. ^
  1164.  
  1165. HAL.h:744: error: 'WDT_MR_WDD' was not declared in this scope
  1166.  
  1167. timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout);
  1168.  
  1169. ^
  1170.  
  1171. HAL.h:745: error: 'WDT' was not declared in this scope
  1172.  
  1173. WDT_Enable (WDT, timeout);
  1174.  
  1175. ^
  1176.  
  1177. HAL.h:745: error: 'WDT_Enable' was not declared in this scope
  1178.  
  1179. WDT_Enable (WDT, timeout);
  1180.  
  1181. ^
  1182.  
  1183. sketch\HAL.h: In static member function 'static void HAL::stopWatchdog()':
  1184.  
  1185. HAL.h:748: error: 'WDT' was not declared in this scope
  1186.  
  1187. inline static void stopWatchdog() {WDT_Disable (WDT);}
  1188.  
  1189. ^
  1190.  
  1191. HAL.h:748: error: 'WDT_Disable' was not declared in this scope
  1192.  
  1193. inline static void stopWatchdog() {WDT_Disable (WDT);}
  1194.  
  1195. ^
  1196.  
  1197. sketch\HAL.h: In static member function 'static void HAL::pingWatchdog()':
  1198.  
  1199. HAL.h:753: error: 'WDT' was not declared in this scope
  1200.  
  1201. WDT_Restart (WDT);
  1202.  
  1203. ^
  1204.  
  1205. HAL.h:753: error: 'WDT_Restart' was not declared in this scope
  1206.  
  1207. WDT_Restart (WDT);
  1208.  
  1209. ^
  1210.  
  1211. In file included from sketch\Repetier.h:370:0,
  1212.  
  1213. from sketch\Commands.cpp:22:
  1214.  
  1215. sketch\Printer.h: In static member function 'static void Printer::disableXStepper()':
  1216.  
  1217. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1218.  
  1219. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1220.  
  1221. ^
  1222.  
  1223. sketch\Printer.h:374:9: note: in expansion of macro 'WRITE'
  1224.  
  1225. WRITE(X_ENABLE_PIN, !X_ENABLE_ON);
  1226.  
  1227. ^
  1228.  
  1229. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1230.  
  1231. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1232.  
  1233. ^
  1234.  
  1235. sketch\Printer.h:374:9: note: in expansion of macro 'WRITE'
  1236.  
  1237. WRITE(X_ENABLE_PIN, !X_ENABLE_ON);
  1238.  
  1239. ^
  1240.  
  1241. sketch\Printer.h: In static member function 'static void Printer::disableYStepper()':
  1242.  
  1243. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1244.  
  1245. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1246.  
  1247. ^
  1248.  
  1249. sketch\Printer.h:385:9: note: in expansion of macro 'WRITE'
  1250.  
  1251. WRITE(Y_ENABLE_PIN, !Y_ENABLE_ON);
  1252.  
  1253. ^
  1254.  
  1255. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1256.  
  1257. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1258.  
  1259. ^
  1260.  
  1261. sketch\Printer.h:385:9: note: in expansion of macro 'WRITE'
  1262.  
  1263. WRITE(Y_ENABLE_PIN, !Y_ENABLE_ON);
  1264.  
  1265. ^
  1266.  
  1267. sketch\Printer.h: In static member function 'static void Printer::disableZStepper()':
  1268.  
  1269. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1270.  
  1271. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1272.  
  1273. ^
  1274.  
  1275. sketch\Printer.h:395:9: note: in expansion of macro 'WRITE'
  1276.  
  1277. WRITE(Z_ENABLE_PIN, !Z_ENABLE_ON);
  1278.  
  1279. ^
  1280.  
  1281. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1282.  
  1283. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1284.  
  1285. ^
  1286.  
  1287. sketch\Printer.h:395:9: note: in expansion of macro 'WRITE'
  1288.  
  1289. WRITE(Z_ENABLE_PIN, !Z_ENABLE_ON);
  1290.  
  1291. ^
  1292.  
  1293. sketch\Printer.h: In static member function 'static void Printer::enableXStepper()':
  1294.  
  1295. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1296.  
  1297. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1298.  
  1299. ^
  1300.  
  1301. sketch\Printer.h:406:9: note: in expansion of macro 'WRITE'
  1302.  
  1303. WRITE(X_ENABLE_PIN, X_ENABLE_ON);
  1304.  
  1305. ^
  1306.  
  1307. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1308.  
  1309. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1310.  
  1311. ^
  1312.  
  1313. sketch\Printer.h:406:9: note: in expansion of macro 'WRITE'
  1314.  
  1315. WRITE(X_ENABLE_PIN, X_ENABLE_ON);
  1316.  
  1317. ^
  1318.  
  1319. sketch\Printer.h: In static member function 'static void Printer::enableYStepper()':
  1320.  
  1321. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1322.  
  1323. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1324.  
  1325. ^
  1326.  
  1327. sketch\Printer.h:417:9: note: in expansion of macro 'WRITE'
  1328.  
  1329. WRITE(Y_ENABLE_PIN, Y_ENABLE_ON);
  1330.  
  1331. ^
  1332.  
  1333. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1334.  
  1335. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1336.  
  1337. ^
  1338.  
  1339. sketch\Printer.h:417:9: note: in expansion of macro 'WRITE'
  1340.  
  1341. WRITE(Y_ENABLE_PIN, Y_ENABLE_ON);
  1342.  
  1343. ^
  1344.  
  1345. sketch\Printer.h: In static member function 'static void Printer::enableZStepper()':
  1346.  
  1347. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1348.  
  1349. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1350.  
  1351. ^
  1352.  
  1353. sketch\Printer.h:427:9: note: in expansion of macro 'WRITE'
  1354.  
  1355. WRITE(Z_ENABLE_PIN, Z_ENABLE_ON);
  1356.  
  1357. ^
  1358.  
  1359. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1360.  
  1361. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1362.  
  1363. ^
  1364.  
  1365. sketch\Printer.h:427:9: note: in expansion of macro 'WRITE'
  1366.  
  1367. WRITE(Z_ENABLE_PIN, Z_ENABLE_ON);
  1368.  
  1369. ^
  1370.  
  1371. sketch\Printer.h: In static member function 'static void Printer::setXDirection(bool)':
  1372.  
  1373. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1374.  
  1375. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1376.  
  1377. ^
  1378.  
  1379. sketch\Printer.h:438:13: note: in expansion of macro 'WRITE'
  1380.  
  1381. WRITE(X_DIR_PIN,!INVERT_X_DIR);
  1382.  
  1383. ^
  1384.  
  1385. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1386.  
  1387. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1388.  
  1389. ^
  1390.  
  1391. sketch\Printer.h:438:13: note: in expansion of macro 'WRITE'
  1392.  
  1393. WRITE(X_DIR_PIN,!INVERT_X_DIR);
  1394.  
  1395. ^
  1396.  
  1397. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1398.  
  1399. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1400.  
  1401. ^
  1402.  
  1403. sketch\Printer.h:445:13: note: in expansion of macro 'WRITE'
  1404.  
  1405. WRITE(X_DIR_PIN,INVERT_X_DIR);
  1406.  
  1407. ^
  1408.  
  1409. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1410.  
  1411. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1412.  
  1413. ^
  1414.  
  1415. sketch\Printer.h:445:13: note: in expansion of macro 'WRITE'
  1416.  
  1417. WRITE(X_DIR_PIN,INVERT_X_DIR);
  1418.  
  1419. ^
  1420.  
  1421. sketch\Printer.h: In static member function 'static void Printer::setYDirection(bool)':
  1422.  
  1423. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1424.  
  1425. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1426.  
  1427. ^
  1428.  
  1429. sketch\Printer.h:456:13: note: in expansion of macro 'WRITE'
  1430.  
  1431. WRITE(Y_DIR_PIN, !INVERT_Y_DIR);
  1432.  
  1433. ^
  1434.  
  1435. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1436.  
  1437. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1438.  
  1439. ^
  1440.  
  1441. sketch\Printer.h:456:13: note: in expansion of macro 'WRITE'
  1442.  
  1443. WRITE(Y_DIR_PIN, !INVERT_Y_DIR);
  1444.  
  1445. ^
  1446.  
  1447. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1448.  
  1449. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1450.  
  1451. ^
  1452.  
  1453. sketch\Printer.h:463:13: note: in expansion of macro 'WRITE'
  1454.  
  1455. WRITE(Y_DIR_PIN, INVERT_Y_DIR);
  1456.  
  1457. ^
  1458.  
  1459. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1460.  
  1461. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1462.  
  1463. ^
  1464.  
  1465. sketch\Printer.h:463:13: note: in expansion of macro 'WRITE'
  1466.  
  1467. WRITE(Y_DIR_PIN, INVERT_Y_DIR);
  1468.  
  1469. ^
  1470.  
  1471. sketch\Printer.h: In static member function 'static void Printer::setZDirection(bool)':
  1472.  
  1473. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1474.  
  1475. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1476.  
  1477. ^
  1478.  
  1479. sketch\Printer.h:473:13: note: in expansion of macro 'WRITE'
  1480.  
  1481. WRITE(Z_DIR_PIN, !INVERT_Z_DIR);
  1482.  
  1483. ^
  1484.  
  1485. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1486.  
  1487. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1488.  
  1489. ^
  1490.  
  1491. sketch\Printer.h:473:13: note: in expansion of macro 'WRITE'
  1492.  
  1493. WRITE(Z_DIR_PIN, !INVERT_Z_DIR);
  1494.  
  1495. ^
  1496.  
  1497. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1498.  
  1499. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1500.  
  1501. ^
  1502.  
  1503. sketch\Printer.h:480:13: note: in expansion of macro 'WRITE'
  1504.  
  1505. WRITE(Z_DIR_PIN, INVERT_Z_DIR);
  1506.  
  1507. ^
  1508.  
  1509. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1510.  
  1511. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1512.  
  1513. ^
  1514.  
  1515. sketch\Printer.h:480:13: note: in expansion of macro 'WRITE'
  1516.  
  1517. WRITE(Z_DIR_PIN, INVERT_Z_DIR);
  1518.  
  1519. ^
  1520.  
  1521. sketch\Printer.h: In static member function 'static bool Printer::getZDirection()':
  1522.  
  1523. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1524.  
  1525. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1526.  
  1527. ^
  1528.  
  1529. sketch\Printer.h:489:18: note: in expansion of macro 'READ'
  1530.  
  1531. return ((READ(Z_DIR_PIN) != 0) ^ INVERT_Z_DIR);
  1532.  
  1533. ^
  1534.  
  1535. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1536.  
  1537. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1538.  
  1539. ^
  1540.  
  1541. sketch\Printer.h:489:18: note: in expansion of macro 'READ'
  1542.  
  1543. return ((READ(Z_DIR_PIN) != 0) ^ INVERT_Z_DIR);
  1544.  
  1545. ^
  1546.  
  1547. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1548.  
  1549. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1550.  
  1551. ^
  1552.  
  1553. sketch\Printer.h:489:18: note: in expansion of macro 'READ'
  1554.  
  1555. return ((READ(Z_DIR_PIN) != 0) ^ INVERT_Z_DIR);
  1556.  
  1557. ^
  1558.  
  1559. sketch\Printer.h: In static member function 'static bool Printer::getYDirection()':
  1560.  
  1561. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1562.  
  1563. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1564.  
  1565. ^
  1566.  
  1567. sketch\Printer.h:494:17: note: in expansion of macro 'READ'
  1568.  
  1569. return((READ(Y_DIR_PIN) != 0) ^ INVERT_Y_DIR);
  1570.  
  1571. ^
  1572.  
  1573. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1574.  
  1575. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1576.  
  1577. ^
  1578.  
  1579. sketch\Printer.h:494:17: note: in expansion of macro 'READ'
  1580.  
  1581. return((READ(Y_DIR_PIN) != 0) ^ INVERT_Y_DIR);
  1582.  
  1583. ^
  1584.  
  1585. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1586.  
  1587. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1588.  
  1589. ^
  1590.  
  1591. sketch\Printer.h:494:17: note: in expansion of macro 'READ'
  1592.  
  1593. return((READ(Y_DIR_PIN) != 0) ^ INVERT_Y_DIR);
  1594.  
  1595. ^
  1596.  
  1597. sketch\Printer.h: In static member function 'static bool Printer::getXDirection()':
  1598.  
  1599. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1600.  
  1601. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1602.  
  1603. ^
  1604.  
  1605. sketch\Printer.h:499:17: note: in expansion of macro 'READ'
  1606.  
  1607. return((READ(X_DIR_PIN) != 0) ^ INVERT_X_DIR);
  1608.  
  1609. ^
  1610.  
  1611. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1612.  
  1613. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1614.  
  1615. ^
  1616.  
  1617. sketch\Printer.h:499:17: note: in expansion of macro 'READ'
  1618.  
  1619. return((READ(X_DIR_PIN) != 0) ^ INVERT_X_DIR);
  1620.  
  1621. ^
  1622.  
  1623. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1624.  
  1625. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1626.  
  1627. ^
  1628.  
  1629. sketch\Printer.h:499:17: note: in expansion of macro 'READ'
  1630.  
  1631. return((READ(X_DIR_PIN) != 0) ^ INVERT_X_DIR);
  1632.  
  1633. ^
  1634.  
  1635. sketch\Printer.h: In static member function 'static bool Printer::isXMinEndstopHit()':
  1636.  
  1637. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1638.  
  1639. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1640.  
  1641. ^
  1642.  
  1643. sketch\Printer.h:696:16: note: in expansion of macro 'READ'
  1644.  
  1645. return READ(X_MIN_PIN) != ENDSTOP_X_MIN_INVERTING;
  1646.  
  1647. ^
  1648.  
  1649. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1650.  
  1651. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1652.  
  1653. ^
  1654.  
  1655. sketch\Printer.h:696:16: note: in expansion of macro 'READ'
  1656.  
  1657. return READ(X_MIN_PIN) != ENDSTOP_X_MIN_INVERTING;
  1658.  
  1659. ^
  1660.  
  1661. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1662.  
  1663. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1664.  
  1665. ^
  1666.  
  1667. sketch\Printer.h:696:16: note: in expansion of macro 'READ'
  1668.  
  1669. return READ(X_MIN_PIN) != ENDSTOP_X_MIN_INVERTING;
  1670.  
  1671. ^
  1672.  
  1673. sketch\Printer.h: In static member function 'static bool Printer::isYMinEndstopHit()':
  1674.  
  1675. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1676.  
  1677. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1678.  
  1679. ^
  1680.  
  1681. sketch\Printer.h:704:16: note: in expansion of macro 'READ'
  1682.  
  1683. return READ(Y_MIN_PIN) != ENDSTOP_Y_MIN_INVERTING;
  1684.  
  1685. ^
  1686.  
  1687. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1688.  
  1689. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1690.  
  1691. ^
  1692.  
  1693. sketch\Printer.h:704:16: note: in expansion of macro 'READ'
  1694.  
  1695. return READ(Y_MIN_PIN) != ENDSTOP_Y_MIN_INVERTING;
  1696.  
  1697. ^
  1698.  
  1699. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1700.  
  1701. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1702.  
  1703. ^
  1704.  
  1705. sketch\Printer.h:704:16: note: in expansion of macro 'READ'
  1706.  
  1707. return READ(Y_MIN_PIN) != ENDSTOP_Y_MIN_INVERTING;
  1708.  
  1709. ^
  1710.  
  1711. sketch\Printer.h: In static member function 'static bool Printer::isZMinEndstopHit()':
  1712.  
  1713. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1714.  
  1715. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1716.  
  1717. ^
  1718.  
  1719. sketch\Printer.h:712:16: note: in expansion of macro 'READ'
  1720.  
  1721. return READ(Z_MIN_PIN) != ENDSTOP_Z_MIN_INVERTING;
  1722.  
  1723. ^
  1724.  
  1725. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1726.  
  1727. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1728.  
  1729. ^
  1730.  
  1731. sketch\Printer.h:712:16: note: in expansion of macro 'READ'
  1732.  
  1733. return READ(Z_MIN_PIN) != ENDSTOP_Z_MIN_INVERTING;
  1734.  
  1735. ^
  1736.  
  1737. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1738.  
  1739. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1740.  
  1741. ^
  1742.  
  1743. sketch\Printer.h:712:16: note: in expansion of macro 'READ'
  1744.  
  1745. return READ(Z_MIN_PIN) != ENDSTOP_Z_MIN_INVERTING;
  1746.  
  1747. ^
  1748.  
  1749. sketch\Printer.h: In static member function 'static bool Printer::isZProbeHit()':
  1750.  
  1751. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1752.  
  1753. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1754.  
  1755. ^
  1756.  
  1757. sketch\Printer.h:792:35: note: in expansion of macro 'READ'
  1758.  
  1759. return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));
  1760.  
  1761. ^
  1762.  
  1763. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1764.  
  1765. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1766.  
  1767. ^
  1768.  
  1769. sketch\Printer.h:792:35: note: in expansion of macro 'READ'
  1770.  
  1771. return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));
  1772.  
  1773. ^
  1774.  
  1775. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1776.  
  1777. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1778.  
  1779. ^
  1780.  
  1781. sketch\Printer.h:792:35: note: in expansion of macro 'READ'
  1782.  
  1783. return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));
  1784.  
  1785. ^
  1786.  
  1787. sketch\Printer.h: In static member function 'static void Printer::endXYZSteps()':
  1788.  
  1789. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1790.  
  1791. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1792.  
  1793. ^
  1794.  
  1795. sketch\Printer.h:875:9: note: in expansion of macro 'WRITE'
  1796.  
  1797. WRITE(X_STEP_PIN,LOW);
  1798.  
  1799. ^
  1800.  
  1801. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1802.  
  1803. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1804.  
  1805. ^
  1806.  
  1807. sketch\Printer.h:875:9: note: in expansion of macro 'WRITE'
  1808.  
  1809. WRITE(X_STEP_PIN,LOW);
  1810.  
  1811. ^
  1812.  
  1813. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1814.  
  1815. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1816.  
  1817. ^
  1818.  
  1819. sketch\Printer.h:876:9: note: in expansion of macro 'WRITE'
  1820.  
  1821. WRITE(Y_STEP_PIN,LOW);
  1822.  
  1823. ^
  1824.  
  1825. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1826.  
  1827. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1828.  
  1829. ^
  1830.  
  1831. sketch\Printer.h:876:9: note: in expansion of macro 'WRITE'
  1832.  
  1833. WRITE(Y_STEP_PIN,LOW);
  1834.  
  1835. ^
  1836.  
  1837. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1838.  
  1839. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1840.  
  1841. ^
  1842.  
  1843. sketch\Printer.h:877:9: note: in expansion of macro 'WRITE'
  1844.  
  1845. WRITE(Z_STEP_PIN,LOW);
  1846.  
  1847. ^
  1848.  
  1849. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1850.  
  1851. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1852.  
  1853. ^
  1854.  
  1855. sketch\Printer.h:877:9: note: in expansion of macro 'WRITE'
  1856.  
  1857. WRITE(Z_STEP_PIN,LOW);
  1858.  
  1859. ^
  1860.  
  1861. sketch\motion.h: In member function 'void PrintLine::startXStep()':
  1862.  
  1863. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1864.  
  1865. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1866.  
  1867. ^
  1868.  
  1869. sketch\motion.h:510:9: note: in expansion of macro 'WRITE'
  1870.  
  1871. WRITE(X_STEP_PIN,HIGH);
  1872.  
  1873. ^
  1874.  
  1875. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1876.  
  1877. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1878.  
  1879. ^
  1880.  
  1881. sketch\motion.h:510:9: note: in expansion of macro 'WRITE'
  1882.  
  1883. WRITE(X_STEP_PIN,HIGH);
  1884.  
  1885. ^
  1886.  
  1887. sketch\motion.h: In member function 'void PrintLine::startYStep()':
  1888.  
  1889. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1890.  
  1891. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1892.  
  1893. ^
  1894.  
  1895. sketch\motion.h:548:9: note: in expansion of macro 'WRITE'
  1896.  
  1897. WRITE(Y_STEP_PIN,HIGH);
  1898.  
  1899. ^
  1900.  
  1901. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1902.  
  1903. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1904.  
  1905. ^
  1906.  
  1907. sketch\motion.h:548:9: note: in expansion of macro 'WRITE'
  1908.  
  1909. WRITE(Y_STEP_PIN,HIGH);
  1910.  
  1911. ^
  1912.  
  1913. sketch\motion.h: In member function 'void PrintLine::startZStep()':
  1914.  
  1915. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1916.  
  1917. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1918.  
  1919. ^
  1920.  
  1921. sketch\motion.h:585:9: note: in expansion of macro 'WRITE'
  1922.  
  1923. WRITE(Z_STEP_PIN,HIGH);
  1924.  
  1925. ^
  1926.  
  1927. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1928.  
  1929. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1930.  
  1931. ^
  1932.  
  1933. sketch\motion.h:585:9: note: in expansion of macro 'WRITE'
  1934.  
  1935. WRITE(Z_STEP_PIN,HIGH);
  1936.  
  1937. ^
  1938.  
  1939. sketch\Commands.cpp: In static member function 'static void Commands::checkForPeriodicalActions(bool)':
  1940.  
  1941. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1942.  
  1943. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1944.  
  1945. ^
  1946.  
  1947. sketch\Commands.cpp:93:16: note: in expansion of macro 'READ'
  1948.  
  1949. if(!READ(TOP_SENSOR_PIN))
  1950.  
  1951. ^
  1952.  
  1953. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1954.  
  1955. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1956.  
  1957. ^
  1958.  
  1959. sketch\Commands.cpp:93:16: note: in expansion of macro 'READ'
  1960.  
  1961. if(!READ(TOP_SENSOR_PIN))
  1962.  
  1963. ^
  1964.  
  1965. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1966.  
  1967. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1968.  
  1969. ^
  1970.  
  1971. sketch\Commands.cpp:93:16: note: in expansion of macro 'READ'
  1972.  
  1973. if(!READ(TOP_SENSOR_PIN))
  1974.  
  1975. ^
  1976.  
  1977. sketch\Commands.cpp: In static member function 'static void Commands::processMCode(GCode*)':
  1978.  
  1979. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1980.  
  1981. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1982.  
  1983. ^
  1984.  
  1985. sketch\Commands.cpp:1378:13: note: in expansion of macro 'WRITE'
  1986.  
  1987. WRITE(CASE_LIGHTS_PIN,1);
  1988.  
  1989. ^
  1990.  
  1991. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1992.  
  1993. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  1994.  
  1995. ^
  1996.  
  1997. sketch\Commands.cpp:1378:13: note: in expansion of macro 'WRITE'
  1998.  
  1999. WRITE(CASE_LIGHTS_PIN,1);
  2000.  
  2001. ^
  2002.  
  2003. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  2004.  
  2005. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  2006.  
  2007. ^
  2008.  
  2009. sketch\Commands.cpp:1381:13: note: in expansion of macro 'WRITE'
  2010.  
  2011. WRITE(CASE_LIGHTS_PIN,0);
  2012.  
  2013. ^
  2014.  
  2015. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  2016.  
  2017. #define WRITE(pin, v) do{if(v) {g_APinDescription[pin].pPort->PIO_SODR = g_APinDescription[pin].ulPin;} else {g_APinDescription[pin].pPort->PIO_CODR = g_APinDescription[pin].ulPin; }}while(0)
  2018.  
  2019. ^
  2020.  
  2021. sketch\Commands.cpp:1381:13: note: in expansion of macro 'WRITE'
  2022.  
  2023. WRITE(CASE_LIGHTS_PIN,0);
  2024.  
  2025. ^
  2026.  
  2027. sketch\Commands.cpp: In static member function 'static void Commands::executeGCode(GCode*)':
  2028.  
  2029. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  2030.  
  2031. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2032.  
  2033. ^
  2034.  
  2035. sketch\Commands.cpp:2060:19: note: in expansion of macro 'READ'
  2036.  
  2037. if (!(READ(CASE_LIGHTS_PIN)) && EEPROM::buselight)
  2038.  
  2039. ^
  2040.  
  2041. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  2042.  
  2043. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2044.  
  2045. ^
  2046.  
  2047. sketch\Commands.cpp:2060:19: note: in expansion of macro 'READ'
  2048.  
  2049. if (!(READ(CASE_LIGHTS_PIN)) && EEPROM::buselight)
  2050.  
  2051. ^
  2052.  
  2053. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  2054.  
  2055. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2056.  
  2057. ^
  2058.  
  2059. sketch\Commands.cpp:2060:19: note: in expansion of macro 'READ'
  2060.  
  2061. if (!(READ(CASE_LIGHTS_PIN)) && EEPROM::buselight)
  2062.  
  2063. ^
  2064.  
  2065. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  2066.  
  2067. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2068.  
  2069. ^
  2070.  
  2071. sketch\Commands.cpp:2072:19: note: in expansion of macro 'READ'
  2072.  
  2073. if (!(READ(UI_BACKLIGHT_PIN))) WRITE(UI_BACKLIGHT_PIN, HIGH);
  2074.  
  2075. ^
  2076.  
  2077. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  2078.  
  2079. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2080.  
  2081. ^
  2082.  
  2083. sketch\Commands.cpp:2072:19: note: in expansion of macro 'READ'
  2084.  
  2085. if (!(READ(UI_BACKLIGHT_PIN))) WRITE(UI_BACKLIGHT_PIN, HIGH);
  2086.  
  2087. ^
  2088.  
  2089. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  2090.  
  2091. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2092.  
  2093. ^
  2094.  
  2095. sketch\Commands.cpp:2072:19: note: in expansion of macro 'READ'
  2096.  
  2097. if (!(READ(UI_BACKLIGHT_PIN))) WRITE(UI_BACKLIGHT_PIN, HIGH);
  2098.  
  2099. ^
  2100.  
  2101. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  2102.  
  2103. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2104.  
  2105. ^
  2106.  
  2107. sketch\Commands.cpp:2098:54: note: in expansion of macro 'READ'
  2108.  
  2109. if(EEPROM::busesensor && READ(FIL_SENSOR1_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  2110.  
  2111. ^
  2112.  
  2113. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  2114.  
  2115. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2116.  
  2117. ^
  2118.  
  2119. sketch\Commands.cpp:2098:54: note: in expansion of macro 'READ'
  2120.  
  2121. if(EEPROM::busesensor && READ(FIL_SENSOR1_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  2122.  
  2123. ^
  2124.  
  2125. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  2126.  
  2127. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2128.  
  2129. ^
  2130.  
  2131. sketch\Commands.cpp:2098:54: note: in expansion of macro 'READ'
  2132.  
  2133. if(EEPROM::busesensor && READ(FIL_SENSOR1_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  2134.  
  2135. ^
  2136.  
  2137. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  2138.  
  2139. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2140.  
  2141. ^
  2142.  
  2143. sketch\Commands.cpp:2104:53: note: in expansion of macro 'READ'
  2144.  
  2145. if(EEPROM::busesensor &&READ(FIL_SENSOR2_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  2146.  
  2147. ^
  2148.  
  2149. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  2150.  
  2151. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2152.  
  2153. ^
  2154.  
  2155. sketch\Commands.cpp:2104:53: note: in expansion of macro 'READ'
  2156.  
  2157. if(EEPROM::busesensor &&READ(FIL_SENSOR2_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  2158.  
  2159. ^
  2160.  
  2161. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  2162.  
  2163. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  2164.  
  2165. ^
  2166.  
  2167. sketch\Commands.cpp:2104:53: note: in expansion of macro 'READ'
  2168.  
  2169. if(EEPROM::busesensor &&READ(FIL_SENSOR2_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  2170.  
  2171. ^
  2172.  
  2173. exit status 1
  2174. 'NVIC_EncodePriority' was not declared in this scope
  2175.  
  2176. This report would have more information with
  2177. "Show verbose output during compilation"
  2178. option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement