Advertisement
Guest User

Untitled

a guest
Jul 1st, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 88.50 KB | None | 0 0
  1. Arduino: 1.6.8 (Linux), Board: "Arduino Duemilanove or Diecimila, ATmega328"
  2.  
  3. In file included from sketch/Configuration.h:156:0,
  4. from sketch/Repetier.h:178,
  5. from sketch/Commands.cpp:22:
  6. sketch/pins.h:368:0: warning: "X_MAX_PIN" redefined [enabled by default]
  7. #define X_MAX_PIN ORIG_X_MAX_PIN
  8. ^
  9. In file included from sketch/pins.h:295:0,
  10. from sketch/Configuration.h:156,
  11. from sketch/Repetier.h:178,
  12. from sketch/Commands.cpp:22:
  13. sketch/userpins.h:68:0: note: this is the location of the previous definition
  14. #define X_MAX_PIN -1
  15. ^
  16. In file included from sketch/Configuration.h:156:0,
  17. from sketch/Repetier.h:178,
  18. from sketch/Commands.cpp:22:
  19. sketch/pins.h:374:0: warning: "Y_MAX_PIN" redefined [enabled by default]
  20. #define Y_MAX_PIN ORIG_Y_MAX_PIN
  21. ^
  22. In file included from sketch/pins.h:295:0,
  23. from sketch/Configuration.h:156,
  24. from sketch/Repetier.h:178,
  25. from sketch/Commands.cpp:22:
  26. sketch/userpins.h:69:0: note: this is the location of the previous definition
  27. #define Y_MAX_PIN -1
  28. ^
  29. In file included from sketch/Configuration.h:156:0,
  30. from sketch/Repetier.h:178,
  31. from sketch/Commands.cpp:22:
  32. sketch/pins.h:380:0: warning: "Z_MAX_PIN" redefined [enabled by default]
  33. #define Z_MAX_PIN ORIG_Z_MAX_PIN
  34. ^
  35. In file included from sketch/pins.h:295:0,
  36. from sketch/Configuration.h:156,
  37. from sketch/Repetier.h:178,
  38. from sketch/Commands.cpp:22:
  39. sketch/userpins.h:70:0: note: this is the location of the previous definition
  40. #define Z_MAX_PIN -1
  41. ^
  42. In file included from sketch/Repetier.h:178:0,
  43. from sketch/Commands.cpp:22:
  44. sketch/Configuration.h:1597:0: warning: "FAN_PIN" redefined [enabled by default]
  45. #define FAN_PIN -1
  46. ^
  47. In file included from sketch/Configuration.h:156:0,
  48. from sketch/Repetier.h:178,
  49. from sketch/Commands.cpp:22:
  50. sketch/pins.h:406:0: note: this is the location of the previous definition
  51. #define FAN_PIN ORIG_FAN_PIN
  52. ^
  53. In file included from sketch/Repetier.h:370:0,
  54. from sketch/Commands.cpp:22:
  55. sketch/HAL.h:42:0: warning: "F_CPU" redefined [enabled by default]
  56. #define F_CPU 21000000 // should be factor of F_CPU_TRUE
  57. ^
  58. <command-line>:0:0: note: this is the location of the previous definition
  59. In file included from sketch/Repetier.h:370:0,
  60. from sketch/Commands.cpp:22:
  61. sketch/HAL.h:59:0: warning: "PROGMEM" redefined [enabled by default]
  62. #define PROGMEM
  63. ^
  64. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29:0,
  65. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  66. from sketch/HAL.h:38,
  67. from sketch/Repetier.h:370,
  68. from sketch/Commands.cpp:22:
  69. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:109:0: note: this is the location of the previous definition
  70. #define PROGMEM __ATTR_PROGMEM__
  71. ^
  72. In file included from sketch/Repetier.h:370:0,
  73. from sketch/Commands.cpp:22:
  74. sketch/HAL.h:62:0: warning: "PSTR" redefined [enabled by default]
  75. #define PSTR(s) s
  76. ^
  77. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29:0,
  78. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  79. from sketch/HAL.h:38,
  80. from sketch/Repetier.h:370,
  81. from sketch/Commands.cpp:22:
  82. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:404:0: note: this is the location of the previous definition
  83. # define PSTR(s) (__extension__({static const char __c[] PROGMEM = (s); &__c[0];}))
  84. ^
  85. In file included from sketch/Repetier.h:370:0,
  86. from sketch/Commands.cpp:22:
  87. sketch/HAL.h:63:0: warning: "pgm_read_byte_near" redefined [enabled by default]
  88. #define pgm_read_byte_near(x) (*(int8_t*)x)
  89. ^
  90. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29:0,
  91. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  92. from sketch/HAL.h:38,
  93. from sketch/Repetier.h:370,
  94. from sketch/Commands.cpp:22:
  95. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:638:0: note: this is the location of the previous definition
  96. #define pgm_read_byte_near(address_short) __LPM((uint16_t)(address_short))
  97. ^
  98. In file included from sketch/Repetier.h:370:0,
  99. from sketch/Commands.cpp:22:
  100. sketch/HAL.h:64:0: warning: "pgm_read_byte" redefined [enabled by default]
  101. #define pgm_read_byte(x) (*(int8_t*)x)
  102. ^
  103. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29:0,
  104. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  105. from sketch/HAL.h:38,
  106. from sketch/Repetier.h:370,
  107. from sketch/Commands.cpp:22:
  108. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:1046:0: note: this is the location of the previous definition
  109. #define pgm_read_byte(address_short) pgm_read_byte_near(address_short)
  110. ^
  111. In file included from sketch/Repetier.h:370:0,
  112. from sketch/Commands.cpp:22:
  113. sketch/HAL.h:65:0: warning: "pgm_read_float" redefined [enabled by default]
  114. #define pgm_read_float(addr) (*(const float *)(addr))
  115. ^
  116. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29:0,
  117. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  118. from sketch/HAL.h:38,
  119. from sketch/Repetier.h:370,
  120. from sketch/Commands.cpp:22:
  121. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:1073:0: note: this is the location of the previous definition
  122. #define pgm_read_float(address_short) pgm_read_float_near(address_short)
  123. ^
  124. In file included from sketch/Repetier.h:370:0,
  125. from sketch/Commands.cpp:22:
  126. sketch/HAL.h:66:0: warning: "pgm_read_word" redefined [enabled by default]
  127. #define pgm_read_word(addr) (*(const unsigned int *)(addr))
  128. ^
  129. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29:0,
  130. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  131. from sketch/HAL.h:38,
  132. from sketch/Repetier.h:370,
  133. from sketch/Commands.cpp:22:
  134. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:1055:0: note: this is the location of the previous definition
  135. #define pgm_read_word(address_short) pgm_read_word_near(address_short)
  136. ^
  137. In file included from sketch/Repetier.h:370:0,
  138. from sketch/Commands.cpp:22:
  139. sketch/HAL.h:67:0: warning: "pgm_read_word_near" redefined [enabled by default]
  140. #define pgm_read_word_near(addr) pgm_read_word(addr)
  141. ^
  142. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29:0,
  143. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  144. from sketch/HAL.h:38,
  145. from sketch/Repetier.h:370,
  146. from sketch/Commands.cpp:22:
  147. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:646:0: note: this is the location of the previous definition
  148. #define pgm_read_word_near(address_short) __LPM_word((uint16_t)(address_short))
  149. ^
  150. In file included from sketch/Repetier.h:370:0,
  151. from sketch/Commands.cpp:22:
  152. sketch/HAL.h:68:0: warning: "pgm_read_dword" redefined [enabled by default]
  153. #define pgm_read_dword(addr) (*(const unsigned long *)(addr))
  154. ^
  155. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29:0,
  156. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  157. from sketch/HAL.h:38,
  158. from sketch/Repetier.h:370,
  159. from sketch/Commands.cpp:22:
  160. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:1064:0: note: this is the location of the previous definition
  161. #define pgm_read_dword(address_short) pgm_read_dword_near(address_short)
  162. ^
  163. In file included from sketch/Repetier.h:370:0,
  164. from sketch/Commands.cpp:22:
  165. sketch/HAL.h:69:0: warning: "pgm_read_dword_near" redefined [enabled by default]
  166. #define pgm_read_dword_near(addr) pgm_read_dword(addr)
  167. ^
  168. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29:0,
  169. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  170. from sketch/HAL.h:38,
  171. from sketch/Repetier.h:370,
  172. from sketch/Commands.cpp:22:
  173. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:654:0: note: this is the location of the previous definition
  174. #define pgm_read_dword_near(address_short) \
  175. ^
  176. In file included from sketch/Repetier.h:370:0,
  177. from sketch/Commands.cpp:22:
  178. sketch/HAL.h:70:0: warning: "_BV" redefined [enabled by default]
  179. #define _BV(x) (1 << (x))
  180. ^
  181. In file included from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/io.h:99:0,
  182. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/pgmspace.h:88,
  183. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/WString.h:29,
  184. from /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Print.h:26,
  185. from sketch/HAL.h:38,
  186. from sketch/Repetier.h:370,
  187. from sketch/Commands.cpp:22:
  188. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/tools/avr/avr/include/avr/sfr_defs.h:208:0: note: this is the location of the previous definition
  189. #define _BV(bit) (1 << (bit))
  190. ^
  191. In file included from sketch/Repetier.h:370:0,
  192. from sketch/Commands.cpp:22:
  193. sketch/HAL.h:154:0: warning: "LOW" redefined [enabled by default]
  194. #define LOW 0
  195. ^
  196. In file included from sketch/HAL.h:139:0,
  197. from sketch/Repetier.h:370,
  198. from sketch/Commands.cpp:22:
  199. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Arduino.h:41:0: note: this is the location of the previous definition
  200. #define LOW 0x0
  201. ^
  202. In file included from sketch/Repetier.h:370:0,
  203. from sketch/Commands.cpp:22:
  204. sketch/HAL.h:155:0: warning: "HIGH" redefined [enabled by default]
  205. #define HIGH 1
  206. ^
  207. In file included from sketch/HAL.h:139:0,
  208. from sketch/Repetier.h:370,
  209. from sketch/Commands.cpp:22:
  210. /home/nade/Downloads/arduino-1.6.8-linux64/arduino-1.6.8/hardware/arduino/avr/cores/arduino/Arduino.h:40:0: note: this is the location of the previous definition
  211. #define HIGH 0x1
  212. ^
  213. In file included from sketch/ui.h:309:0,
  214. from sketch/Repetier.h:377,
  215. from sketch/Commands.cpp:22:
  216. sketch/uilang.h:136:40: warning: ISO C99 requires whitespace after the macro name [enabled by default]
  217. #define UI_TEXT_MANUAL_BED_LEVEL_PAGE_6"Adjust the front","knob(s) so paper","just slides amid","nozzle and plate"
  218. ^
  219. sketch/uilang.h:347:0: warning: "UI_TEXT_EXTR_XOFF" redefined [enabled by default]
  220. #define UI_TEXT_EXTR_XOFF "X-Offset:%Xx"
  221. ^
  222. sketch/uilang.h:114:0: note: this is the location of the previous definition
  223. #define UI_TEXT_EXTR_XOFF "Xoffst:%Xx"
  224. ^
  225. sketch/uilang.h:348:0: warning: "UI_TEXT_EXTR_YOFF" redefined [enabled by default]
  226. #define UI_TEXT_EXTR_YOFF "Y-Offset:%Xy"
  227. ^
  228. sketch/uilang.h:115:0: note: this is the location of the previous definition
  229. #define UI_TEXT_EXTR_YOFF "Yoffst:%Xy"
  230. ^
  231. In file included from sketch/ui.h:309:0,
  232. from sketch/Repetier.h:377,
  233. from sketch/Commands.cpp:22:
  234. sketch/uilang.h:1256:34: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
  235. #define UI_TEXT_EXTR0_SELECT "%X0 V"STR_auml"lj Extr. 1"
  236. ^
  237. sketch/uilang.h:1257:34: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
  238. #define UI_TEXT_EXTR1_SELECT "%X1 V"STR_auml"lj Extr. 2"
  239. ^
  240. sketch/uilang.h:1258:34: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
  241. #define UI_TEXT_EXTR3_SELECT "%X2 V"STR_auml"lj Extr. 3"
  242. ^
  243. In file included from sketch/ui.h:1483:0,
  244. from sketch/Repetier.h:377,
  245. from sketch/Commands.cpp:22:
  246. sketch/uilang.h:114:0: warning: "UI_TEXT_EXTR_XOFF" redefined [enabled by default]
  247. #define UI_TEXT_EXTR_XOFF "Xoffst:%Xx"
  248. ^
  249. In file included from sketch/ui.h:309:0,
  250. from sketch/Repetier.h:377,
  251. from sketch/Commands.cpp:22:
  252. sketch/uilang.h:347:0: note: this is the location of the previous definition
  253. #define UI_TEXT_EXTR_XOFF "X-Offset:%Xx"
  254. ^
  255. In file included from sketch/ui.h:1483:0,
  256. from sketch/Repetier.h:377,
  257. from sketch/Commands.cpp:22:
  258. sketch/uilang.h:115:0: warning: "UI_TEXT_EXTR_YOFF" redefined [enabled by default]
  259. #define UI_TEXT_EXTR_YOFF "Yoffst:%Xy"
  260. ^
  261. In file included from sketch/ui.h:309:0,
  262. from sketch/Repetier.h:377,
  263. from sketch/Commands.cpp:22:
  264. sketch/uilang.h:348:0: note: this is the location of the previous definition
  265. #define UI_TEXT_EXTR_YOFF "Y-Offset:%Xy"
  266. ^
  267. In file included from sketch/ui.h:1483:0,
  268. from sketch/Repetier.h:377,
  269. from sketch/Commands.cpp:22:
  270. sketch/uilang.h:136:40: warning: ISO C99 requires whitespace after the macro name [enabled by default]
  271. #define UI_TEXT_MANUAL_BED_LEVEL_PAGE_6"Adjust the front","knob(s) so paper","just slides amid","nozzle and plate"
  272. ^
  273. sketch/uilang.h:347:0: warning: "UI_TEXT_EXTR_XOFF" redefined [enabled by default]
  274. #define UI_TEXT_EXTR_XOFF "X-Offset:%Xx"
  275. ^
  276. sketch/uilang.h:114:0: note: this is the location of the previous definition
  277. #define UI_TEXT_EXTR_XOFF "Xoffst:%Xx"
  278. ^
  279. sketch/uilang.h:348:0: warning: "UI_TEXT_EXTR_YOFF" redefined [enabled by default]
  280. #define UI_TEXT_EXTR_YOFF "Y-Offset:%Xy"
  281. ^
  282. sketch/uilang.h:115:0: note: this is the location of the previous definition
  283. #define UI_TEXT_EXTR_YOFF "Yoffst:%Xy"
  284. ^
  285. In file included from sketch/ui.h:1483:0,
  286. from sketch/Repetier.h:377,
  287. from sketch/Commands.cpp:22:
  288. sketch/uilang.h:1256:34: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
  289. #define UI_TEXT_EXTR0_SELECT "%X0 V"STR_auml"lj Extr. 1"
  290. ^
  291. sketch/uilang.h:1257:34: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
  292. #define UI_TEXT_EXTR1_SELECT "%X1 V"STR_auml"lj Extr. 2"
  293. ^
  294. sketch/uilang.h:1258:34: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
  295. #define UI_TEXT_EXTR3_SELECT "%X2 V"STR_auml"lj Extr. 3"
  296. ^
  297. In file included from sketch/Commands.cpp:22:0:
  298. sketch/Repetier.h:383:12: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]
  299. #error "You cannot use DISPLAY_D5_PIN, DISPLAY_D6_PIN or DISPLAY_D7_PIN for "User Keys" with character LCD display"
  300. ^
  301. In file included from sketch/Repetier.h:370:0,
  302. from sketch/Commands.cpp:22:
  303. sketch/HAL.h: In member function 'void InterruptProtectedBlock::protect()':
  304. HAL.h:164: error: 'NVIC_EncodePriority' was not declared in this scope
  305. __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
  306. ^
  307. HAL.h:164: error: '__set_BASEPRI' was not declared in this scope
  308. __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
  309. ^
  310. sketch/HAL.h: In member function 'void InterruptProtectedBlock::unprotect()':
  311. HAL.h:168: error: '__set_BASEPRI' was not declared in this scope
  312. __set_BASEPRI(0);
  313. ^
  314. sketch/HAL.h: In constructor 'InterruptProtectedBlock::InterruptProtectedBlock(bool)':
  315. HAL.h:173: error: 'NVIC_EncodePriority' was not declared in this scope
  316. __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
  317. ^
  318. HAL.h:173: error: '__set_BASEPRI' was not declared in this scope
  319. __set_BASEPRI(NVIC_EncodePriority(4, 3, 0));
  320. ^
  321. sketch/HAL.h: In destructor 'InterruptProtectedBlock::~InterruptProtectedBlock()':
  322. HAL.h:177: error: '__set_BASEPRI' was not declared in this scope
  323. __set_BASEPRI(0);
  324. ^
  325. sketch/HAL.h: In static member function 'static void HAL::hwSetup()':
  326. HAL.h:297: error: 'TimeTick_Configure' was not declared in this scope
  327. TimeTick_Configure(F_CPU_TRUE);
  328. ^
  329. In file included from sketch/Repetier.h:370:0,
  330. from sketch/Commands.cpp:22:
  331. HAL.h:99: error: 'ID_TC4' was not declared in this scope
  332. #define DELAY_TIMER_IRQ ID_TC4 // IRQ not really used, needed for pmc id
  333. ^
  334. sketch/HAL.h:300:31: note: in expansion of macro 'DELAY_TIMER_IRQ'
  335. pmc_enable_periph_clk(DELAY_TIMER_IRQ);
  336. ^
  337. In file included from sketch/Repetier.h:370:0,
  338. from sketch/Commands.cpp:22:
  339. HAL.h:300: error: 'pmc_enable_periph_clk' was not declared in this scope
  340. pmc_enable_periph_clk(DELAY_TIMER_IRQ);
  341. ^
  342. In file included from sketch/Repetier.h:370:0,
  343. from sketch/Commands.cpp:22:
  344. HAL.h:97: error: 'TC1' was not declared in this scope
  345. #define DELAY_TIMER TC1
  346. ^
  347. sketch/HAL.h:301:22: note: in expansion of macro 'DELAY_TIMER'
  348. TC_Configure(DELAY_TIMER, DELAY_TIMER_CHANNEL, TC_CMR_WAVSEL_UP |
  349. ^
  350. In file included from sketch/Repetier.h:370:0,
  351. from sketch/Commands.cpp:22:
  352. HAL.h:301: error: 'TC_CMR_WAVSEL_UP' was not declared in this scope
  353. TC_Configure(DELAY_TIMER, DELAY_TIMER_CHANNEL, TC_CMR_WAVSEL_UP |
  354. ^
  355. HAL.h:302: error: 'TC_CMR_WAVE' was not declared in this scope
  356. TC_CMR_WAVE | DELAY_TIMER_CLOCK);
  357. ^
  358. In file included from sketch/Repetier.h:370:0,
  359. from sketch/Commands.cpp:22:
  360. HAL.h:100: error: 'TC_CMR_TCCLKS_TIMER_CLOCK2' was not declared in this scope
  361. #define DELAY_TIMER_CLOCK TC_CMR_TCCLKS_TIMER_CLOCK2
  362. ^
  363. sketch/HAL.h:302:36: note: in expansion of macro 'DELAY_TIMER_CLOCK'
  364. TC_CMR_WAVE | DELAY_TIMER_CLOCK);
  365. ^
  366. In file included from sketch/Repetier.h:370:0,
  367. from sketch/Commands.cpp:22:
  368. HAL.h:302: error: 'TC_Configure' was not declared in this scope
  369. TC_CMR_WAVE | DELAY_TIMER_CLOCK);
  370. ^
  371. HAL.h:303: error: 'TC_Start' was not declared in this scope
  372. TC_Start(DELAY_TIMER, DELAY_TIMER_CHANNEL);
  373. ^
  374. In file included from sketch/Repetier.h:370:0,
  375. from sketch/Commands.cpp:22:
  376. sketch/HAL.h: In static member function 'static void HAL::digitalWrite(uint8_t, uint8_t)':
  377. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  378. #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)
  379. ^
  380. sketch/HAL.h:351:9: note: in expansion of macro 'WRITE'
  381. WRITE(pin, value);
  382. ^
  383. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  384. #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)
  385. ^
  386. sketch/HAL.h:351:9: note: in expansion of macro 'WRITE'
  387. WRITE(pin, value);
  388. ^
  389. sketch/HAL.h: In static member function 'static uint8_t HAL::digitalRead(uint8_t)':
  390. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  391. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  392. ^
  393. sketch/HAL.h:355:16: note: in expansion of macro 'READ'
  394. return READ(pin);
  395. ^
  396. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  397. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  398. ^
  399. sketch/HAL.h:355:16: note: in expansion of macro 'READ'
  400. return READ(pin);
  401. ^
  402. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  403. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  404. ^
  405. sketch/HAL.h:355:16: note: in expansion of macro 'READ'
  406. return READ(pin);
  407. ^
  408. In file included from sketch/Repetier.h:370:0,
  409. from sketch/Commands.cpp:22:
  410. sketch/HAL.h: In static member function 'static void HAL::pinMode(uint8_t, uint8_t)':
  411. HAL.h:149: error: 'g_APinDescription' was not declared in this scope
  412. #define SET_INPUT(pin) pmc_enable_periph_clk(g_APinDescription[pin].ulPeripheralId); \
  413. ^
  414. sketch/HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
  415. if (mode == INPUT) {SET_INPUT(pin);}
  416. ^
  417. HAL.h:149: error: 'pmc_enable_periph_clk' was not declared in this scope
  418. #define SET_INPUT(pin) pmc_enable_periph_clk(g_APinDescription[pin].ulPeripheralId); \
  419. ^
  420. sketch/HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
  421. if (mode == INPUT) {SET_INPUT(pin);}
  422. ^
  423. HAL.h:150: error: 'PIO_INPUT' was not declared in this scope
  424. PIO_Configure(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin, 0)
  425. ^
  426. sketch/HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
  427. if (mode == INPUT) {SET_INPUT(pin);}
  428. ^
  429. HAL.h:150: error: 'PIO_Configure' was not declared in this scope
  430. PIO_Configure(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin, 0)
  431. ^
  432. sketch/HAL.h:359:29: note: in expansion of macro 'SET_INPUT'
  433. if (mode == INPUT) {SET_INPUT(pin);}
  434. ^
  435. HAL.h:151: error: 'g_APinDescription' was not declared in this scope
  436. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  437. ^
  438. sketch/HAL.h:360:14: note: in expansion of macro 'SET_OUTPUT'
  439. else SET_OUTPUT(pin);
  440. ^
  441. HAL.h:151: error: 'PIO_OUTPUT_1' was not declared in this scope
  442. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  443. ^
  444. sketch/HAL.h:360:14: note: in expansion of macro 'SET_OUTPUT'
  445. else SET_OUTPUT(pin);
  446. ^
  447. HAL.h:152: error: 'PIO_Configure' was not declared in this scope
  448. g_APinDescription[pin].ulPin, g_APinDescription[pin].ulPinConfiguration)
  449. ^
  450. sketch/HAL.h:360:14: note: in expansion of macro 'SET_OUTPUT'
  451. else SET_OUTPUT(pin);
  452. ^
  453. sketch/HAL.h: In static member function 'static void HAL::tone(uint8_t, int)':
  454. HAL.h:151: error: 'g_APinDescription' was not declared in this scope
  455. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  456. ^
  457. sketch/HAL.h:394:9: note: in expansion of macro 'SET_OUTPUT'
  458. SET_OUTPUT(pin);
  459. ^
  460. HAL.h:151: error: 'PIO_OUTPUT_1' was not declared in this scope
  461. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  462. ^
  463. sketch/HAL.h:394:9: note: in expansion of macro 'SET_OUTPUT'
  464. SET_OUTPUT(pin);
  465. ^
  466. HAL.h:152: error: 'PIO_Configure' was not declared in this scope
  467. g_APinDescription[pin].ulPin, g_APinDescription[pin].ulPinConfiguration)
  468. ^
  469. sketch/HAL.h:394:9: note: in expansion of macro 'SET_OUTPUT'
  470. SET_OUTPUT(pin);
  471. ^
  472. HAL.h:396: error: 'pmc_set_writeprotect' was not declared in this scope
  473. pmc_set_writeprotect(false);
  474. ^
  475. In file included from sketch/Repetier.h:370:0,
  476. from sketch/Commands.cpp:22:
  477. HAL.h:95: error: 'ID_TC3' was not declared in this scope
  478. #define BEEPER_TIMER_IRQ ID_TC3
  479. ^
  480. sketch/HAL.h:397:41: note: in expansion of macro 'BEEPER_TIMER_IRQ'
  481. pmc_enable_periph_clk((uint32_t)BEEPER_TIMER_IRQ);
  482. ^
  483. In file included from sketch/Repetier.h:370:0,
  484. from sketch/Commands.cpp:22:
  485. HAL.h:397: error: 'pmc_enable_periph_clk' was not declared in this scope
  486. pmc_enable_periph_clk((uint32_t)BEEPER_TIMER_IRQ);
  487. ^
  488. HAL.h:399: error: 'IRQn_Type' was not declared in this scope
  489. NVIC_SetPriority((IRQn_Type)BEEPER_TIMER_IRQ, NVIC_EncodePriority(4, 6, 3));
  490. ^
  491. HAL.h:399: error: 'NVIC_EncodePriority' was not declared in this scope
  492. NVIC_SetPriority((IRQn_Type)BEEPER_TIMER_IRQ, NVIC_EncodePriority(4, 6, 3));
  493. ^
  494. HAL.h:399: error: 'NVIC_SetPriority' was not declared in this scope
  495. NVIC_SetPriority((IRQn_Type)BEEPER_TIMER_IRQ, NVIC_EncodePriority(4, 6, 3));
  496. ^
  497. In file included from sketch/Repetier.h:370:0,
  498. from sketch/Commands.cpp:22:
  499. HAL.h:93: error: 'TC1' was not declared in this scope
  500. #define BEEPER_TIMER TC1
  501. ^
  502. sketch/HAL.h:400:22: note: in expansion of macro 'BEEPER_TIMER'
  503. TC_Configure(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, TC_CMR_WAVE | TC_CMR_WAVSEL_UP_RC |
  504. ^
  505. In file included from sketch/Repetier.h:370:0,
  506. from sketch/Commands.cpp:22:
  507. HAL.h:400: error: 'TC_CMR_WAVE' was not declared in this scope
  508. TC_Configure(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, TC_CMR_WAVE | TC_CMR_WAVSEL_UP_RC |
  509. ^
  510. HAL.h:400: error: 'TC_CMR_WAVSEL_UP_RC' was not declared in this scope
  511. TC_Configure(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, TC_CMR_WAVE | TC_CMR_WAVSEL_UP_RC |
  512. ^
  513. HAL.h:401: error: 'TC_CMR_TCCLKS_TIMER_CLOCK4' was not declared in this scope
  514. TC_CMR_TCCLKS_TIMER_CLOCK4); // TIMER_CLOCK4 -> 128 divisor
  515. ^
  516. HAL.h:401: error: 'TC_Configure' was not declared in this scope
  517. TC_CMR_TCCLKS_TIMER_CLOCK4); // TIMER_CLOCK4 -> 128 divisor
  518. ^
  519. HAL.h:402: error: 'VARIANT_MCK' was not declared in this scope
  520. uint32_t rc = VARIANT_MCK / 128 / frequency;
  521. ^
  522. HAL.h:403: error: 'TC_SetRA' was not declared in this scope
  523. TC_SetRA(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, rc/2); // 50% duty cycle
  524. ^
  525. HAL.h:404: error: 'TC_SetRC' was not declared in this scope
  526. TC_SetRC(BEEPER_TIMER, BEEPER_TIMER_CHANNEL, rc);
  527. ^
  528. HAL.h:405: error: 'TC_Start' was not declared in this scope
  529. TC_Start(BEEPER_TIMER, BEEPER_TIMER_CHANNEL);
  530. ^
  531. HAL.h:406: error: 'TC_IER_CPCS' was not declared in this scope
  532. BEEPER_TIMER->TC_CHANNEL[BEEPER_TIMER_CHANNEL].TC_IER=TC_IER_CPCS;
  533. ^
  534. In file included from sketch/Repetier.h:370:0,
  535. from sketch/Commands.cpp:22:
  536. HAL.h:95: error: expected ')' before 'ID_TC3'
  537. #define BEEPER_TIMER_IRQ ID_TC3
  538. ^
  539. sketch/HAL.h:408:35: note: in expansion of macro 'BEEPER_TIMER_IRQ'
  540. NVIC_EnableIRQ((IRQn_Type)BEEPER_TIMER_IRQ);
  541. ^
  542. In file included from sketch/Repetier.h:370:0,
  543. from sketch/Commands.cpp:22:
  544. HAL.h:408: error: 'NVIC_EnableIRQ' was not declared in this scope
  545. NVIC_EnableIRQ((IRQn_Type)BEEPER_TIMER_IRQ);
  546. ^
  547. sketch/HAL.h: In static member function 'static void HAL::noTone(uint8_t)':
  548. HAL.h:411: error: 'TC1' was not declared in this scope
  549. TC_Stop(TC1, 0);
  550. ^
  551. HAL.h:411: error: 'TC_Stop' was not declared in this scope
  552. TC_Stop(TC1, 0);
  553. ^
  554. In file included from sketch/Repetier.h:370:0,
  555. from sketch/Commands.cpp:22:
  556. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  557. #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)
  558. ^
  559. sketch/HAL.h:412:9: note: in expansion of macro 'WRITE'
  560. WRITE(pin, LOW);
  561. ^
  562. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  563. #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)
  564. ^
  565. sketch/HAL.h:412:9: note: in expansion of macro 'WRITE'
  566. WRITE(pin, LOW);
  567. ^
  568. In file included from sketch/pins.h:295:0,
  569. from sketch/Configuration.h:156,
  570. from sketch/Repetier.h:178,
  571. from sketch/Commands.cpp:22:
  572. sketch/HAL.h: In static member function 'static void HAL::serialSetBaudrate(long int)':
  573. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  574. #define RFSERIAL SerialUSB // Native USB Port of the due
  575. ^
  576. sketch/HAL.h:562:9: note: in expansion of macro 'RFSERIAL'
  577. RFSERIAL.begin(baud);
  578. ^
  579. sketch/HAL.h: In static member function 'static bool HAL::serialByteAvailable()':
  580. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  581. #define RFSERIAL SerialUSB // Native USB Port of the due
  582. ^
  583. sketch/HAL.h:570:16: note: in expansion of macro 'RFSERIAL'
  584. return RFSERIAL.available();
  585. ^
  586. sketch/HAL.h: In static member function 'static uint8_t HAL::serialReadByte()':
  587. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  588. #define RFSERIAL SerialUSB // Native USB Port of the due
  589. ^
  590. sketch/HAL.h:578:16: note: in expansion of macro 'RFSERIAL'
  591. return RFSERIAL.read();
  592. ^
  593. sketch/HAL.h: In static member function 'static void HAL::serialWriteByte(char)':
  594. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  595. #define RFSERIAL SerialUSB // Native USB Port of the due
  596. ^
  597. sketch/HAL.h:593:9: note: in expansion of macro 'RFSERIAL'
  598. RFSERIAL.write(b);
  599. ^
  600. sketch/HAL.h: In static member function 'static void HAL::serialFlush()':
  601. userpins.h:119: error: 'SerialUSB' was not declared in this scope
  602. #define RFSERIAL SerialUSB // Native USB Port of the due
  603. ^
  604. sketch/HAL.h:601:9: note: in expansion of macro 'RFSERIAL'
  605. RFSERIAL.flush();
  606. ^
  607. In file included from sketch/Repetier.h:370:0,
  608. from sketch/Commands.cpp:22:
  609. sketch/HAL.h: In static member function 'static uint8_t HAL::spiTransfer(uint8_t)':
  610. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  611. #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)
  612. ^
  613. sketch/HAL.h:617:17: note: in expansion of macro 'WRITE'
  614. WRITE(MOSI_PIN, HIGH);
  615. ^
  616. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  617. #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)
  618. ^
  619. sketch/HAL.h:617:17: note: in expansion of macro 'WRITE'
  620. WRITE(MOSI_PIN, HIGH);
  621. ^
  622. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  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. sketch/HAL.h:619:17: note: in expansion of macro 'WRITE'
  626. WRITE(MOSI_PIN, LOW);
  627. ^
  628. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  629. #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)
  630. ^
  631. sketch/HAL.h:619:17: note: in expansion of macro 'WRITE'
  632. WRITE(MOSI_PIN, LOW);
  633. ^
  634. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  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. sketch/HAL.h:623:13: note: in expansion of macro 'WRITE'
  638. WRITE(SCK_PIN, HIGH);
  639. ^
  640. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  641. #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)
  642. ^
  643. sketch/HAL.h:623:13: note: in expansion of macro 'WRITE'
  644. WRITE(SCK_PIN, HIGH);
  645. ^
  646. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  647. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  648. ^
  649. sketch/HAL.h:626:16: note: in expansion of macro 'READ'
  650. if(READ(MISO_PIN)) {
  651. ^
  652. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  653. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  654. ^
  655. sketch/HAL.h:626:16: note: in expansion of macro 'READ'
  656. if(READ(MISO_PIN)) {
  657. ^
  658. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  659. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  660. ^
  661. sketch/HAL.h:626:16: note: in expansion of macro 'READ'
  662. if(READ(MISO_PIN)) {
  663. ^
  664. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  665. #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)
  666. ^
  667. sketch/HAL.h:629:13: note: in expansion of macro 'WRITE'
  668. WRITE(SCK_PIN, LOW);
  669. ^
  670. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  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. sketch/HAL.h:629:13: note: in expansion of macro 'WRITE'
  674. WRITE(SCK_PIN, LOW);
  675. ^
  676. In file included from sketch/Repetier.h:370:0,
  677. from sketch/Commands.cpp:22:
  678. sketch/HAL.h: In static member function 'static void HAL::spiBegin()':
  679. HAL.h:151: error: 'g_APinDescription' was not declared in this scope
  680. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  681. ^
  682. sketch/HAL.h:636:9: note: in expansion of macro 'SET_OUTPUT'
  683. SET_OUTPUT(SDSS);
  684. ^
  685. HAL.h:151: error: 'PIO_OUTPUT_1' was not declared in this scope
  686. #define SET_OUTPUT(pin) PIO_Configure(g_APinDescription[pin].pPort, PIO_OUTPUT_1, \
  687. ^
  688. sketch/HAL.h:636:9: note: in expansion of macro 'SET_OUTPUT'
  689. SET_OUTPUT(SDSS);
  690. ^
  691. HAL.h:152: error: 'PIO_Configure' was not declared in this scope
  692. g_APinDescription[pin].ulPin, g_APinDescription[pin].ulPinConfiguration)
  693. ^
  694. sketch/HAL.h:636:9: note: in expansion of macro 'SET_OUTPUT'
  695. SET_OUTPUT(SDSS);
  696. ^
  697. HAL.h:149: error: 'pmc_enable_periph_clk' was not declared in this scope
  698. #define SET_INPUT(pin) pmc_enable_periph_clk(g_APinDescription[pin].ulPeripheralId); \
  699. ^
  700. sketch/HAL.h:639:9: note: in expansion of macro 'SET_INPUT'
  701. SET_INPUT(MISO_PIN);
  702. ^
  703. HAL.h:150: error: 'PIO_INPUT' was not declared in this scope
  704. PIO_Configure(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin, 0)
  705. ^
  706. sketch/HAL.h:639:9: note: in expansion of macro 'SET_INPUT'
  707. SET_INPUT(MISO_PIN);
  708. ^
  709. In file included from sketch/Repetier.h:370:0,
  710. from sketch/Commands.cpp:22:
  711. sketch/HAL.h: In static member function 'static void HAL::spiInit(uint8_t)':
  712. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  713. #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)
  714. ^
  715. sketch/HAL.h:645:8: note: in expansion of macro 'WRITE'
  716. WRITE(SDSS, HIGH);
  717. ^
  718. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  719. #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)
  720. ^
  721. sketch/HAL.h:645:8: note: in expansion of macro 'WRITE'
  722. WRITE(SDSS, HIGH);
  723. ^
  724. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  725. #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)
  726. ^
  727. sketch/HAL.h:646:8: note: in expansion of macro 'WRITE'
  728. WRITE(MOSI_PIN, HIGH);
  729. ^
  730. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  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. sketch/HAL.h:646:8: note: in expansion of macro 'WRITE'
  734. WRITE(MOSI_PIN, HIGH);
  735. ^
  736. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  737. #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)
  738. ^
  739. sketch/HAL.h:647:8: note: in expansion of macro 'WRITE'
  740. WRITE(SCK_PIN, LOW);
  741. ^
  742. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  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. sketch/HAL.h:647:8: note: in expansion of macro 'WRITE'
  746. WRITE(SCK_PIN, LOW);
  747. ^
  748. sketch/HAL.h: In static member function 'static uint8_t HAL::spiReceive()':
  749. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  750. #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)
  751. ^
  752. sketch/HAL.h:651:8: note: in expansion of macro 'WRITE'
  753. WRITE(SDSS, LOW);
  754. ^
  755. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  756. #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)
  757. ^
  758. sketch/HAL.h:651:8: note: in expansion of macro 'WRITE'
  759. WRITE(SDSS, LOW);
  760. ^
  761. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  762. #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)
  763. ^
  764. sketch/HAL.h:653:8: note: in expansion of macro 'WRITE'
  765. WRITE(SDSS, HIGH);
  766. ^
  767. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  768. #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)
  769. ^
  770. sketch/HAL.h:653:8: note: in expansion of macro 'WRITE'
  771. WRITE(SDSS, HIGH);
  772. ^
  773. sketch/HAL.h: In static member function 'static void HAL::spiReadBlock(uint8_t*, uint16_t)':
  774. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  775. #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)
  776. ^
  777. sketch/HAL.h:659:8: note: in expansion of macro 'WRITE'
  778. WRITE(SDSS, LOW);
  779. ^
  780. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  781. #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)
  782. ^
  783. sketch/HAL.h:659:8: note: in expansion of macro 'WRITE'
  784. WRITE(SDSS, LOW);
  785. ^
  786. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  787. #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)
  788. ^
  789. sketch/HAL.h:664:8: note: in expansion of macro 'WRITE'
  790. WRITE(SDSS, HIGH);
  791. ^
  792. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  793. #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)
  794. ^
  795. sketch/HAL.h:664:8: note: in expansion of macro 'WRITE'
  796. WRITE(SDSS, HIGH);
  797. ^
  798. sketch/HAL.h: In static member function 'static void HAL::spiSend(uint8_t)':
  799. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  800. #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)
  801. ^
  802. sketch/HAL.h:668:8: note: in expansion of macro 'WRITE'
  803. WRITE(SDSS, LOW);
  804. ^
  805. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  806. #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)
  807. ^
  808. sketch/HAL.h:668:8: note: in expansion of macro 'WRITE'
  809. WRITE(SDSS, LOW);
  810. ^
  811. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  812. #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)
  813. ^
  814. sketch/HAL.h:670:8: note: in expansion of macro 'WRITE'
  815. WRITE(SDSS, HIGH);
  816. ^
  817. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  818. #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)
  819. ^
  820. sketch/HAL.h:670:8: note: in expansion of macro 'WRITE'
  821. WRITE(SDSS, HIGH);
  822. ^
  823. sketch/HAL.h: In static member function 'static void HAL::spiSend(const uint8_t*, size_t)':
  824. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  825. #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)
  826. ^
  827. sketch/HAL.h:677:9: note: in expansion of macro 'WRITE'
  828. WRITE(SDSS, LOW);
  829. ^
  830. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  831. #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)
  832. ^
  833. sketch/HAL.h:677:9: note: in expansion of macro 'WRITE'
  834. WRITE(SDSS, LOW);
  835. ^
  836. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  837. #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)
  838. ^
  839. sketch/HAL.h:681:8: note: in expansion of macro 'WRITE'
  840. WRITE(SDSS, HIGH);
  841. ^
  842. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  843. #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)
  844. ^
  845. sketch/HAL.h:681:8: note: in expansion of macro 'WRITE'
  846. WRITE(SDSS, HIGH);
  847. ^
  848. sketch/HAL.h: In static member function 'static void HAL::spiSendBlock(uint8_t, const uint8_t*)':
  849. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  850. #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)
  851. ^
  852. sketch/HAL.h:689:8: note: in expansion of macro 'WRITE'
  853. WRITE(SDSS, LOW);
  854. ^
  855. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  856. #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)
  857. ^
  858. sketch/HAL.h:689:8: note: in expansion of macro 'WRITE'
  859. WRITE(SDSS, LOW);
  860. ^
  861. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  862. #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)
  863. ^
  864. sketch/HAL.h:696:8: note: in expansion of macro 'WRITE'
  865. WRITE(SDSS, HIGH);
  866. ^
  867. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  868. #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)
  869. ^
  870. sketch/HAL.h:696:8: note: in expansion of macro 'WRITE'
  871. WRITE(SDSS, HIGH);
  872. ^
  873. In file included from sketch/Repetier.h:370:0,
  874. from sketch/Commands.cpp:22:
  875. sketch/HAL.h: In static member function 'static void HAL::startWatchdog()':
  876. sketch/HAL.h:741:29: warning: integer overflow in expression [-Woverflow]
  877. uint32_t timeout = 8000 * 256 / 1000; //8000ms = 8s
  878. ^
  879. HAL.h:744: error: 'WDT_MR_WDRSTEN' was not declared in this scope
  880. timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout);
  881. ^
  882. HAL.h:744: error: 'WDT_MR_WDV' was not declared in this scope
  883. timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout);
  884. ^
  885. HAL.h:744: error: 'WDT_MR_WDD' was not declared in this scope
  886. timeout = WDT_MR_WDRSTEN | WDT_MR_WDV(timeout) | WDT_MR_WDD(timeout);
  887. ^
  888. HAL.h:745: error: 'WDT' was not declared in this scope
  889. WDT_Enable (WDT, timeout);
  890. ^
  891. HAL.h:745: error: 'WDT_Enable' was not declared in this scope
  892. WDT_Enable (WDT, timeout);
  893. ^
  894. sketch/HAL.h: In static member function 'static void HAL::stopWatchdog()':
  895. HAL.h:748: error: 'WDT' was not declared in this scope
  896. inline static void stopWatchdog() {WDT_Disable (WDT);}
  897. ^
  898. HAL.h:748: error: 'WDT_Disable' was not declared in this scope
  899. inline static void stopWatchdog() {WDT_Disable (WDT);}
  900. ^
  901. sketch/HAL.h: In static member function 'static void HAL::pingWatchdog()':
  902. HAL.h:753: error: 'WDT' was not declared in this scope
  903. WDT_Restart (WDT);
  904. ^
  905. HAL.h:753: error: 'WDT_Restart' was not declared in this scope
  906. WDT_Restart (WDT);
  907. ^
  908. In file included from sketch/Repetier.h:377:0,
  909. from sketch/Commands.cpp:22:
  910. sketch/ui.h: At global scope:
  911. sketch/ui.h:335:16: warning: 'UIMenu_struct' has a field 'UIMenu_struct::entries' whose type uses the anonymous namespace [enabled by default]
  912. typedef struct UIMenu_struct {
  913. ^
  914. In file included from sketch/Repetier.h:370:0,
  915. from sketch/Commands.cpp:22:
  916. sketch/Printer.h: In static member function 'static void Printer::disableXStepper()':
  917. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  918. #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)
  919. ^
  920. sketch/Printer.h:374:9: note: in expansion of macro 'WRITE'
  921. WRITE(X_ENABLE_PIN, !X_ENABLE_ON);
  922. ^
  923. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  924. #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)
  925. ^
  926. sketch/Printer.h:374:9: note: in expansion of macro 'WRITE'
  927. WRITE(X_ENABLE_PIN, !X_ENABLE_ON);
  928. ^
  929. sketch/Printer.h: In static member function 'static void Printer::disableYStepper()':
  930. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  931. #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)
  932. ^
  933. sketch/Printer.h:385:9: note: in expansion of macro 'WRITE'
  934. WRITE(Y_ENABLE_PIN, !Y_ENABLE_ON);
  935. ^
  936. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  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. sketch/Printer.h:385:9: note: in expansion of macro 'WRITE'
  940. WRITE(Y_ENABLE_PIN, !Y_ENABLE_ON);
  941. ^
  942. sketch/Printer.h: In static member function 'static void Printer::disableZStepper()':
  943. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  944. #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)
  945. ^
  946. sketch/Printer.h:395:9: note: in expansion of macro 'WRITE'
  947. WRITE(Z_ENABLE_PIN, !Z_ENABLE_ON);
  948. ^
  949. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  950. #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)
  951. ^
  952. sketch/Printer.h:395:9: note: in expansion of macro 'WRITE'
  953. WRITE(Z_ENABLE_PIN, !Z_ENABLE_ON);
  954. ^
  955. sketch/Printer.h: In static member function 'static void Printer::enableXStepper()':
  956. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  957. #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)
  958. ^
  959. sketch/Printer.h:406:9: note: in expansion of macro 'WRITE'
  960. WRITE(X_ENABLE_PIN, X_ENABLE_ON);
  961. ^
  962. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  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. sketch/Printer.h:406:9: note: in expansion of macro 'WRITE'
  966. WRITE(X_ENABLE_PIN, X_ENABLE_ON);
  967. ^
  968. sketch/Printer.h: In static member function 'static void Printer::enableYStepper()':
  969. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  970. #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)
  971. ^
  972. sketch/Printer.h:417:9: note: in expansion of macro 'WRITE'
  973. WRITE(Y_ENABLE_PIN, Y_ENABLE_ON);
  974. ^
  975. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  976. #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)
  977. ^
  978. sketch/Printer.h:417:9: note: in expansion of macro 'WRITE'
  979. WRITE(Y_ENABLE_PIN, Y_ENABLE_ON);
  980. ^
  981. sketch/Printer.h: In static member function 'static void Printer::enableZStepper()':
  982. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  983. #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)
  984. ^
  985. sketch/Printer.h:427:9: note: in expansion of macro 'WRITE'
  986. WRITE(Z_ENABLE_PIN, Z_ENABLE_ON);
  987. ^
  988. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  989. #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)
  990. ^
  991. sketch/Printer.h:427:9: note: in expansion of macro 'WRITE'
  992. WRITE(Z_ENABLE_PIN, Z_ENABLE_ON);
  993. ^
  994. sketch/Printer.h: In static member function 'static void Printer::setXDirection(bool)':
  995. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  996. #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)
  997. ^
  998. sketch/Printer.h:438:13: note: in expansion of macro 'WRITE'
  999. WRITE(X_DIR_PIN,!INVERT_X_DIR);
  1000. ^
  1001. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1002. #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)
  1003. ^
  1004. sketch/Printer.h:438:13: note: in expansion of macro 'WRITE'
  1005. WRITE(X_DIR_PIN,!INVERT_X_DIR);
  1006. ^
  1007. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1008. #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)
  1009. ^
  1010. sketch/Printer.h:445:13: note: in expansion of macro 'WRITE'
  1011. WRITE(X_DIR_PIN,INVERT_X_DIR);
  1012. ^
  1013. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1014. #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)
  1015. ^
  1016. sketch/Printer.h:445:13: note: in expansion of macro 'WRITE'
  1017. WRITE(X_DIR_PIN,INVERT_X_DIR);
  1018. ^
  1019. sketch/Printer.h: In static member function 'static void Printer::setYDirection(bool)':
  1020. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1021. #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)
  1022. ^
  1023. sketch/Printer.h:456:13: note: in expansion of macro 'WRITE'
  1024. WRITE(Y_DIR_PIN, !INVERT_Y_DIR);
  1025. ^
  1026. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1027. #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)
  1028. ^
  1029. sketch/Printer.h:456:13: note: in expansion of macro 'WRITE'
  1030. WRITE(Y_DIR_PIN, !INVERT_Y_DIR);
  1031. ^
  1032. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1033. #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)
  1034. ^
  1035. sketch/Printer.h:463:13: note: in expansion of macro 'WRITE'
  1036. WRITE(Y_DIR_PIN, INVERT_Y_DIR);
  1037. ^
  1038. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1039. #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)
  1040. ^
  1041. sketch/Printer.h:463:13: note: in expansion of macro 'WRITE'
  1042. WRITE(Y_DIR_PIN, INVERT_Y_DIR);
  1043. ^
  1044. sketch/Printer.h: In static member function 'static void Printer::setZDirection(bool)':
  1045. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1046. #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)
  1047. ^
  1048. sketch/Printer.h:473:13: note: in expansion of macro 'WRITE'
  1049. WRITE(Z_DIR_PIN, !INVERT_Z_DIR);
  1050. ^
  1051. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1052. #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)
  1053. ^
  1054. sketch/Printer.h:473:13: note: in expansion of macro 'WRITE'
  1055. WRITE(Z_DIR_PIN, !INVERT_Z_DIR);
  1056. ^
  1057. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1058. #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)
  1059. ^
  1060. sketch/Printer.h:480:13: note: in expansion of macro 'WRITE'
  1061. WRITE(Z_DIR_PIN, INVERT_Z_DIR);
  1062. ^
  1063. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1064. #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)
  1065. ^
  1066. sketch/Printer.h:480:13: note: in expansion of macro 'WRITE'
  1067. WRITE(Z_DIR_PIN, INVERT_Z_DIR);
  1068. ^
  1069. sketch/Printer.h: In static member function 'static bool Printer::getZDirection()':
  1070. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1071. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1072. ^
  1073. sketch/Printer.h:489:18: note: in expansion of macro 'READ'
  1074. return ((READ(Z_DIR_PIN) != 0) ^ INVERT_Z_DIR);
  1075. ^
  1076. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1077. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1078. ^
  1079. sketch/Printer.h:489:18: note: in expansion of macro 'READ'
  1080. return ((READ(Z_DIR_PIN) != 0) ^ INVERT_Z_DIR);
  1081. ^
  1082. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1083. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1084. ^
  1085. sketch/Printer.h:489:18: note: in expansion of macro 'READ'
  1086. return ((READ(Z_DIR_PIN) != 0) ^ INVERT_Z_DIR);
  1087. ^
  1088. sketch/Printer.h: In static member function 'static bool Printer::getYDirection()':
  1089. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1090. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1091. ^
  1092. sketch/Printer.h:494:17: note: in expansion of macro 'READ'
  1093. return((READ(Y_DIR_PIN) != 0) ^ INVERT_Y_DIR);
  1094. ^
  1095. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1096. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1097. ^
  1098. sketch/Printer.h:494:17: note: in expansion of macro 'READ'
  1099. return((READ(Y_DIR_PIN) != 0) ^ INVERT_Y_DIR);
  1100. ^
  1101. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1102. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1103. ^
  1104. sketch/Printer.h:494:17: note: in expansion of macro 'READ'
  1105. return((READ(Y_DIR_PIN) != 0) ^ INVERT_Y_DIR);
  1106. ^
  1107. sketch/Printer.h: In static member function 'static bool Printer::getXDirection()':
  1108. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1109. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1110. ^
  1111. sketch/Printer.h:499:17: note: in expansion of macro 'READ'
  1112. return((READ(X_DIR_PIN) != 0) ^ INVERT_X_DIR);
  1113. ^
  1114. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1115. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1116. ^
  1117. sketch/Printer.h:499:17: note: in expansion of macro 'READ'
  1118. return((READ(X_DIR_PIN) != 0) ^ INVERT_X_DIR);
  1119. ^
  1120. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1121. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1122. ^
  1123. sketch/Printer.h:499:17: note: in expansion of macro 'READ'
  1124. return((READ(X_DIR_PIN) != 0) ^ INVERT_X_DIR);
  1125. ^
  1126. sketch/Printer.h: In static member function 'static bool Printer::isXMinEndstopHit()':
  1127. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1128. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1129. ^
  1130. sketch/Printer.h:696:16: note: in expansion of macro 'READ'
  1131. return READ(X_MIN_PIN) != ENDSTOP_X_MIN_INVERTING;
  1132. ^
  1133. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1134. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1135. ^
  1136. sketch/Printer.h:696:16: note: in expansion of macro 'READ'
  1137. return READ(X_MIN_PIN) != ENDSTOP_X_MIN_INVERTING;
  1138. ^
  1139. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1140. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1141. ^
  1142. sketch/Printer.h:696:16: note: in expansion of macro 'READ'
  1143. return READ(X_MIN_PIN) != ENDSTOP_X_MIN_INVERTING;
  1144. ^
  1145. sketch/Printer.h: In static member function 'static bool Printer::isYMinEndstopHit()':
  1146. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1147. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1148. ^
  1149. sketch/Printer.h:704:16: note: in expansion of macro 'READ'
  1150. return READ(Y_MIN_PIN) != ENDSTOP_Y_MIN_INVERTING;
  1151. ^
  1152. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1153. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1154. ^
  1155. sketch/Printer.h:704:16: note: in expansion of macro 'READ'
  1156. return READ(Y_MIN_PIN) != ENDSTOP_Y_MIN_INVERTING;
  1157. ^
  1158. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1159. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1160. ^
  1161. sketch/Printer.h:704:16: note: in expansion of macro 'READ'
  1162. return READ(Y_MIN_PIN) != ENDSTOP_Y_MIN_INVERTING;
  1163. ^
  1164. sketch/Printer.h: In static member function 'static bool Printer::isZMinEndstopHit()':
  1165. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1166. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1167. ^
  1168. sketch/Printer.h:712:16: note: in expansion of macro 'READ'
  1169. return READ(Z_MIN_PIN) != ENDSTOP_Z_MIN_INVERTING;
  1170. ^
  1171. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1172. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1173. ^
  1174. sketch/Printer.h:712:16: note: in expansion of macro 'READ'
  1175. return READ(Z_MIN_PIN) != ENDSTOP_Z_MIN_INVERTING;
  1176. ^
  1177. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1178. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1179. ^
  1180. sketch/Printer.h:712:16: note: in expansion of macro 'READ'
  1181. return READ(Z_MIN_PIN) != ENDSTOP_Z_MIN_INVERTING;
  1182. ^
  1183. sketch/Printer.h: In static member function 'static bool Printer::isZProbeHit()':
  1184. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1185. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1186. ^
  1187. sketch/Printer.h:792:35: note: in expansion of macro 'READ'
  1188. return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));
  1189. ^
  1190. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1191. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1192. ^
  1193. sketch/Printer.h:792:35: note: in expansion of macro 'READ'
  1194. return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));
  1195. ^
  1196. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1197. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1198. ^
  1199. sketch/Printer.h:792:35: note: in expansion of macro 'READ'
  1200. return (Z_PROBE_ON_HIGH ? READ(Z_PROBE_PIN) : !READ(Z_PROBE_PIN));
  1201. ^
  1202. sketch/Printer.h: In static member function 'static void Printer::endXYZSteps()':
  1203. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1204. #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)
  1205. ^
  1206. sketch/Printer.h:875:9: note: in expansion of macro 'WRITE'
  1207. WRITE(X_STEP_PIN,LOW);
  1208. ^
  1209. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1210. #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)
  1211. ^
  1212. sketch/Printer.h:875:9: note: in expansion of macro 'WRITE'
  1213. WRITE(X_STEP_PIN,LOW);
  1214. ^
  1215. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1216. #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)
  1217. ^
  1218. sketch/Printer.h:876:9: note: in expansion of macro 'WRITE'
  1219. WRITE(Y_STEP_PIN,LOW);
  1220. ^
  1221. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1222. #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)
  1223. ^
  1224. sketch/Printer.h:876:9: note: in expansion of macro 'WRITE'
  1225. WRITE(Y_STEP_PIN,LOW);
  1226. ^
  1227. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1228. #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)
  1229. ^
  1230. sketch/Printer.h:877:9: note: in expansion of macro 'WRITE'
  1231. WRITE(Z_STEP_PIN,LOW);
  1232. ^
  1233. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1234. #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)
  1235. ^
  1236. sketch/Printer.h:877:9: note: in expansion of macro 'WRITE'
  1237. WRITE(Z_STEP_PIN,LOW);
  1238. ^
  1239. sketch/motion.h: In member function 'void PrintLine::startXStep()':
  1240. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1241. #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)
  1242. ^
  1243. sketch/motion.h:510:9: note: in expansion of macro 'WRITE'
  1244. WRITE(X_STEP_PIN,HIGH);
  1245. ^
  1246. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1247. #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)
  1248. ^
  1249. sketch/motion.h:510:9: note: in expansion of macro 'WRITE'
  1250. WRITE(X_STEP_PIN,HIGH);
  1251. ^
  1252. sketch/motion.h: In member function 'void PrintLine::startYStep()':
  1253. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1254. #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)
  1255. ^
  1256. sketch/motion.h:548:9: note: in expansion of macro 'WRITE'
  1257. WRITE(Y_STEP_PIN,HIGH);
  1258. ^
  1259. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1260. #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)
  1261. ^
  1262. sketch/motion.h:548:9: note: in expansion of macro 'WRITE'
  1263. WRITE(Y_STEP_PIN,HIGH);
  1264. ^
  1265. sketch/motion.h: In member function 'void PrintLine::startZStep()':
  1266. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1267. #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)
  1268. ^
  1269. sketch/motion.h:585:9: note: in expansion of macro 'WRITE'
  1270. WRITE(Z_STEP_PIN,HIGH);
  1271. ^
  1272. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1273. #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)
  1274. ^
  1275. sketch/motion.h:585:9: note: in expansion of macro 'WRITE'
  1276. WRITE(Z_STEP_PIN,HIGH);
  1277. ^
  1278. In file included from sketch/Repetier.h:370:0,
  1279. from sketch/Commands.cpp:22:
  1280. sketch/Commands.cpp: At global scope:
  1281. sketch/HAL.h:216:17: warning: overflow in implicit constant conversion [-Woverflow]
  1282. #define MAX_RAM 98303
  1283. ^
  1284. sketch/Commands.cpp:25:32: note: in expansion of macro 'MAX_RAM'
  1285. int Commands::lowestRAMValue = MAX_RAM;
  1286. ^
  1287. sketch/HAL.h:216:17: warning: overflow in implicit constant conversion [-Woverflow]
  1288. #define MAX_RAM 98303
  1289. ^
  1290. sketch/Commands.cpp:26:36: note: in expansion of macro 'MAX_RAM'
  1291. int Commands::lowestRAMValueSend = MAX_RAM;
  1292. ^
  1293. In file included from sketch/Repetier.h:370:0,
  1294. from sketch/Commands.cpp:22:
  1295. sketch/Commands.cpp: In static member function 'static void Commands::checkForPeriodicalActions(bool)':
  1296. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1297. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1298. ^
  1299. sketch/Commands.cpp:93:16: note: in expansion of macro 'READ'
  1300. if(!READ(TOP_SENSOR_PIN))
  1301. ^
  1302. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1303. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1304. ^
  1305. sketch/Commands.cpp:93:16: note: in expansion of macro 'READ'
  1306. if(!READ(TOP_SENSOR_PIN))
  1307. ^
  1308. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1309. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1310. ^
  1311. sketch/Commands.cpp:93:16: note: in expansion of macro 'READ'
  1312. if(!READ(TOP_SENSOR_PIN))
  1313. ^
  1314. sketch/Commands.cpp: In static member function 'static void Commands::processMCode(GCode*)':
  1315. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1316. #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)
  1317. ^
  1318. sketch/Commands.cpp:1378:13: note: in expansion of macro 'WRITE'
  1319. WRITE(CASE_LIGHTS_PIN,1);
  1320. ^
  1321. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1322. #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)
  1323. ^
  1324. sketch/Commands.cpp:1378:13: note: in expansion of macro 'WRITE'
  1325. WRITE(CASE_LIGHTS_PIN,1);
  1326. ^
  1327. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1328. #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)
  1329. ^
  1330. sketch/Commands.cpp:1381:13: note: in expansion of macro 'WRITE'
  1331. WRITE(CASE_LIGHTS_PIN,0);
  1332. ^
  1333. HAL.h:147: error: 'g_APinDescription' was not declared in this scope
  1334. #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)
  1335. ^
  1336. sketch/Commands.cpp:1381:13: note: in expansion of macro 'WRITE'
  1337. WRITE(CASE_LIGHTS_PIN,0);
  1338. ^
  1339. sketch/Commands.cpp: In static member function 'static void Commands::executeGCode(GCode*)':
  1340. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1341. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1342. ^
  1343. sketch/Commands.cpp:2060:19: note: in expansion of macro 'READ'
  1344. if (!(READ(CASE_LIGHTS_PIN)) && EEPROM::buselight)
  1345. ^
  1346. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1347. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1348. ^
  1349. sketch/Commands.cpp:2060:19: note: in expansion of macro 'READ'
  1350. if (!(READ(CASE_LIGHTS_PIN)) && EEPROM::buselight)
  1351. ^
  1352. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1353. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1354. ^
  1355. sketch/Commands.cpp:2060:19: note: in expansion of macro 'READ'
  1356. if (!(READ(CASE_LIGHTS_PIN)) && EEPROM::buselight)
  1357. ^
  1358. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1359. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1360. ^
  1361. sketch/Commands.cpp:2072:19: note: in expansion of macro 'READ'
  1362. if (!(READ(UI_BACKLIGHT_PIN))) WRITE(UI_BACKLIGHT_PIN, HIGH);
  1363. ^
  1364. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1365. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1366. ^
  1367. sketch/Commands.cpp:2072:19: note: in expansion of macro 'READ'
  1368. if (!(READ(UI_BACKLIGHT_PIN))) WRITE(UI_BACKLIGHT_PIN, HIGH);
  1369. ^
  1370. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1371. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1372. ^
  1373. sketch/Commands.cpp:2072:19: note: in expansion of macro 'READ'
  1374. if (!(READ(UI_BACKLIGHT_PIN))) WRITE(UI_BACKLIGHT_PIN, HIGH);
  1375. ^
  1376. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1377. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1378. ^
  1379. sketch/Commands.cpp:2098:54: note: in expansion of macro 'READ'
  1380. if(EEPROM::busesensor && READ(FIL_SENSOR1_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  1381. ^
  1382. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1383. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1384. ^
  1385. sketch/Commands.cpp:2098:54: note: in expansion of macro 'READ'
  1386. if(EEPROM::busesensor && READ(FIL_SENSOR1_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  1387. ^
  1388. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1389. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1390. ^
  1391. sketch/Commands.cpp:2098:54: note: in expansion of macro 'READ'
  1392. if(EEPROM::busesensor && READ(FIL_SENSOR1_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  1393. ^
  1394. HAL.h:145: error: 'g_APinDescription' was not declared in this scope
  1395. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1396. ^
  1397. sketch/Commands.cpp:2104:53: note: in expansion of macro 'READ'
  1398. if(EEPROM::busesensor &&READ(FIL_SENSOR2_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  1399. ^
  1400. HAL.h:145: error: 'PIO_INPUT' was not declared in this scope
  1401. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1402. ^
  1403. sketch/Commands.cpp:2104:53: note: in expansion of macro 'READ'
  1404. if(EEPROM::busesensor &&READ(FIL_SENSOR2_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  1405. ^
  1406. HAL.h:145: error: 'PIO_Get' was not declared in this scope
  1407. #define READ(pin) PIO_Get(g_APinDescription[pin].pPort, PIO_INPUT, g_APinDescription[pin].ulPin)
  1408. ^
  1409. sketch/Commands.cpp:2104:53: note: in expansion of macro 'READ'
  1410. if(EEPROM::busesensor &&READ(FIL_SENSOR2_PIN))uid.executeAction(UI_ACTION_NO_FILAMENT,true);
  1411. ^
  1412. exit status 1
  1413. 'NVIC_EncodePriority' was not declared in this scope
  1414.  
  1415. This report would have more information with
  1416. "Show verbose output during compilation"
  1417. option enabled in File -> Preferences.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement