Advertisement
Guest User

Untitled

a guest
Feb 17th, 2023
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.96 KB | None | 0 0
  1. In file included from Marlin\src\MarlinCore.cpp:51:
  2. Marlin\src\module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  3. Marlin\src\module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  4. 612 | static inline bool disable_extruder() {}
  5. | ^
  6. In file included from Marlin\src\gcode\calibrate\G28.cpp:27:
  7. Marlin\src\gcode\calibrate\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  8. Marlin\src\gcode\calibrate\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  9. 612 | static inline bool disable_extruder() {}
  10. | ^
  11. In file included from Marlin\src\gcode\control\M17_M18_M84.cpp:26:
  12. Marlin\src\gcode\control\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  13. Marlin\src\gcode\control\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  14. 612 | static inline bool disable_extruder() {}
  15. | ^
  16. In file included from Marlin\src\gcode\control\M400.cpp:24:
  17. Marlin\src\gcode\control\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  18. Marlin\src\gcode\control\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  19. 612 | static inline bool disable_extruder() {}
  20. | ^
  21. In file included from Marlin\src\gcode\geometry\G92.cpp:25:
  22. Marlin\src\gcode\geometry\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  23. Marlin\src\gcode\geometry\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  24. 612 | static inline bool disable_extruder() {}
  25. | ^
  26. In file included from Marlin\src\gcode\host\M114.cpp:27:
  27. Marlin\src\gcode\host\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  28. Marlin\src\gcode\host\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  29. 612 | static inline bool disable_extruder() {}
  30. | ^
  31. In file included from Marlin\src\gcode\motion\G4.cpp:24:
  32. Marlin\src\gcode\motion\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  33. Marlin\src\gcode\motion\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  34. 612 | static inline bool disable_extruder() {}
  35. | ^
  36. Marlin\src\inc\Warnings.cpp:39:4: warning: #warning "Your Configuration provides no method to acquire user feedback!" [-Wcpp]
  37. 39 | #warning "Your Configuration provides no method to acquire user feedback!"
  38. | ^~~~~~~
  39. Marlin\src\inc\Warnings.cpp:43:4: warning: #warning "Auto-assigned X2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs." [-Wcpp]
  40. 43 | #warning "Auto-assigned X2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
  41. | ^~~~~~~
  42. In file included from Marlin\src\module\endstops.cpp:28:
  43. Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  44. Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  45. 612 | static inline bool disable_extruder() {}
  46. | ^
  47. In file included from Marlin\src\module\motion.cpp:29:
  48. Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  49. Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  50. 612 | static inline bool disable_extruder() {}
  51. | ^
  52. In file included from Marlin\src\module\planner.cpp:66:
  53. Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  54. Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  55. 612 | static inline bool disable_extruder() {}
  56. | ^
  57. In file included from Marlin\src\module\settings.cpp:50:
  58. Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  59. Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  60. 612 | static inline bool disable_extruder() {}
  61. | ^
  62. In file included from Marlin\src\module\stepper.cpp:80:
  63. Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  64. Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  65. 612 | static inline bool disable_extruder() {}
  66. | ^
  67. In file included from Marlin\src\module\stepper\trinamic.cpp:33:
  68. Marlin\src\module\stepper\../stepper.h: In static member function 'static bool Stepper::disable_extruder()':
  69. Marlin\src\module\stepper\../stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
  70. 612 | static inline bool disable_extruder() {}
  71. | ^
  72. In file included from Marlin\src\module\stepper\../../inc/../pins/pins.h:819,
  73. from Marlin\src\module\stepper\../../inc/MarlinConfig.h:34,
  74. from Marlin\src\module\stepper\trinamic.cpp:28:
  75. Marlin\src\module\stepper\trinamic.cpp: At global scope:
  76. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:566:21: error: 'E0_SERIAL_RX_PIN' was not declared in this scope; did you mean 'X2_SERIAL_RX_PIN'?
  77. 566 | #define __EPIN(p,q) E##p##_##q##_PIN
  78. | ^
  79. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
  80. 567 | #define _EPIN(p,q) __EPIN(p,q)
  81. | ^~~~~~
  82. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:627:32: note: in expansion of macro '_EPIN'
  83. 627 | #define X2_SERIAL_RX_PIN _EPIN(X2_E_INDEX, SERIAL_RX)
  84. | ^~~~~
  85. Marlin\src\module\stepper\trinamic.cpp:59:85: note: in expansion of macro 'X2_SERIAL_RX_PIN'
  86. 59 | #define TMC_UART_SW_DEFINE(IC, ST, L, AI) TMCMarlin<IC##Stepper, L, AI> stepper##ST(ST##_SERIAL_RX_PIN, ST##_SERIAL_TX_PIN, float(ST##_RSENSE), ST##_SLAVE_ADDRESS)
  87. | ^~
  88. Marlin\src\module\stepper\trinamic.cpp:64:44: note: in expansion of macro 'TMC_UART_SW_DEFINE'
  89. 64 | #define _TMC_UART_DEFINE(SWHW, IC, ST, AI) TMC_UART_##SWHW##_DEFINE(IC, ST, TMC_##ST##_LABEL, AI)
  90. | ^~~~~~~~~
  91. Marlin\src\module\stepper\trinamic.cpp:65:39: note: in expansion of macro '_TMC_UART_DEFINE'
  92. 65 | #define TMC_UART_DEFINE(SWHW, ST, AI) _TMC_UART_DEFINE(SWHW, ST##_DRIVER_TYPE, ST, AI##_AXIS)
  93. | ^~~~~~~~~~~~~~~~
  94. Marlin\src\module\stepper\trinamic.cpp:292:7: note: in expansion of macro 'TMC_UART_DEFINE'
  95. 292 | TMC_UART_DEFINE(SW, X2, X);
  96. | ^~~~~~~~~~~~~~~
  97. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:566:21: error: 'E0_SERIAL_TX_PIN' was not declared in this scope; did you mean 'X2_SERIAL_TX_PIN'?
  98. 566 | #define __EPIN(p,q) E##p##_##q##_PIN
  99. | ^
  100. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
  101. 567 | #define _EPIN(p,q) __EPIN(p,q)
  102. | ^~~~~~
  103. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:624:32: note: in expansion of macro '_EPIN'
  104. 624 | #define X2_SERIAL_TX_PIN _EPIN(X2_E_INDEX, SERIAL_TX)
  105. | ^~~~~
  106. Marlin\src\module\stepper\trinamic.cpp:59:105: note: in expansion of macro 'X2_SERIAL_TX_PIN'
  107. 59 | #define TMC_UART_SW_DEFINE(IC, ST, L, AI) TMCMarlin<IC##Stepper, L, AI> stepper##ST(ST##_SERIAL_RX_PIN, ST##_SERIAL_TX_PIN, float(ST##_RSENSE), ST##_SLAVE_ADDRESS)
  108. | ^~
  109. Marlin\src\module\stepper\trinamic.cpp:64:44: note: in expansion of macro 'TMC_UART_SW_DEFINE'
  110. 64 | #define _TMC_UART_DEFINE(SWHW, IC, ST, AI) TMC_UART_##SWHW##_DEFINE(IC, ST, TMC_##ST##_LABEL, AI)
  111. | ^~~~~~~~~
  112. Marlin\src\module\stepper\trinamic.cpp:65:39: note: in expansion of macro '_TMC_UART_DEFINE'
  113. 65 | #define TMC_UART_DEFINE(SWHW, ST, AI) _TMC_UART_DEFINE(SWHW, ST##_DRIVER_TYPE, ST, AI##_AXIS)
  114. | ^~~~~~~~~~~~~~~~
  115. Marlin\src\module\stepper\trinamic.cpp:292:7: note: in expansion of macro 'TMC_UART_DEFINE'
  116. 292 | TMC_UART_DEFINE(SW, X2, X);
  117. | ^~~~~~~~~~~~~~~
  118. In file included from Marlin\src\module\stepper\../../inc/MarlinConfigPre.h:37,
  119. from Marlin\src\module\stepper\../../inc/MarlinConfig.h:28,
  120. from Marlin\src\module\stepper\trinamic.cpp:28:
  121. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:566:21: error: 'E0_SERIAL_TX_PIN' was not declared in this scope; did you mean 'X2_SERIAL_TX_PIN'?
  122. 566 | #define __EPIN(p,q) E##p##_##q##_PIN
  123. | ^
  124. Marlin\src\module\stepper\../../inc/../core/macros.h:571:26: note: in definition of macro 'THIRD'
  125. 571 | #define THIRD(a,b,c,...) c
  126. | ^
  127. Marlin\src\module\stepper\../../inc/../core/macros.h:204:29: note: in expansion of macro '___TERN'
  128. 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1'
  129. | ^~~~~~~
  130. Marlin\src\module\stepper\../../inc/../core/macros.h:203:29: note: in expansion of macro '__TERN'
  131. 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1'
  132. | ^~~~~~
  133. Marlin\src\module\stepper\../../inc/../core/macros.h:199:29: note: in expansion of macro '_TERN'
  134. 199 | #define TERN(O,A,B) _TERN(_ENA_1(O),B,A) // OPTION ? 'A' : 'B'
  135. | ^~~~~
  136. Marlin\src\module\stepper\trinamic.cpp:1009:33: note: in expansion of macro 'TERN'
  137. 1009 | #define TMC_SW_DETAIL_ARGS(A) TERN(A##_HAS_SW_SERIAL, A##_SERIAL_TX_PIN, -1), TERN(A##_HAS_SW_SERIAL, A##_SERIAL_RX_PIN, -1), TERN0(A##_HAS_SW_SERIAL, A##_SLAVE_ADDRESS)
  138. | ^~~~
  139. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
  140. 567 | #define _EPIN(p,q) __EPIN(p,q)
  141. | ^~~~~~
  142. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:624:32: note: in expansion of macro '_EPIN'
  143. 624 | #define X2_SERIAL_TX_PIN _EPIN(X2_E_INDEX, SERIAL_TX)
  144. | ^~~~~
  145. Marlin\src\module\stepper\trinamic.cpp:1009:57: note: in expansion of macro 'X2_SERIAL_TX_PIN'
  146. 1009 | #define TMC_SW_DETAIL_ARGS(A) TERN(A##_HAS_SW_SERIAL, A##_SERIAL_TX_PIN, -1), TERN(A##_HAS_SW_SERIAL, A##_SERIAL_RX_PIN, -1), TERN0(A##_HAS_SW_SERIAL, A##_SLAVE_ADDRESS)
  147. | ^
  148. Marlin\src\module\stepper\trinamic.cpp:1010:28: note: in expansion of macro 'TMC_SW_DETAIL_ARGS'
  149. 1010 | #define TMC_SW_DETAIL(A) TMC_SW_DETAIL_ARGS(A)
  150. | ^~~~~~~~~~~~~~~~~~
  151. Marlin\src\module\stepper\trinamic.cpp:1012:23: note: in expansion of macro 'TMC_SW_DETAIL'
  152. 1012 | TMC_SW_DETAIL(X), TMC_SW_DETAIL(X2),
  153. | ^~~~~~~~~~~~~
  154. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:566:21: error: 'E0_SERIAL_RX_PIN' was not declared in this scope; did you mean 'X2_SERIAL_RX_PIN'?
  155. 566 | #define __EPIN(p,q) E##p##_##q##_PIN
  156. | ^
  157. Marlin\src\module\stepper\../../inc/../core/macros.h:571:26: note: in definition of macro 'THIRD'
  158. 571 | #define THIRD(a,b,c,...) c
  159. | ^
  160. Marlin\src\module\stepper\../../inc/../core/macros.h:204:29: note: in expansion of macro '___TERN'
  161. 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1'
  162. | ^~~~~~~
  163. Marlin\src\module\stepper\../../inc/../core/macros.h:203:29: note: in expansion of macro '__TERN'
  164. 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1'
  165. | ^~~~~~
  166. Marlin\src\module\stepper\../../inc/../core/macros.h:199:29: note: in expansion of macro '_TERN'
  167. 199 | #define TERN(O,A,B) _TERN(_ENA_1(O),B,A) // OPTION ? 'A' : 'B'
  168. | ^~~~~
  169. Marlin\src\module\stepper\trinamic.cpp:1009:81: note: in expansion of macro 'TERN'
  170. 1009 | #define TMC_SW_DETAIL_ARGS(A) TERN(A##_HAS_SW_SERIAL, A##_SERIAL_TX_PIN, -1), TERN(A##_HAS_SW_SERIAL, A##_SERIAL_RX_PIN, -1), TERN0(A##_HAS_SW_SERIAL, A##_SLAVE_ADDRESS)
  171. | ^~~~
  172. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
  173. 567 | #define _EPIN(p,q) __EPIN(p,q)
  174. | ^~~~~~
  175. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:627:32: note: in expansion of macro '_EPIN'
  176. 627 | #define X2_SERIAL_RX_PIN _EPIN(X2_E_INDEX, SERIAL_RX)
  177. | ^~~~~
  178. Marlin\src\module\stepper\trinamic.cpp:1009:105: note: in expansion of macro 'X2_SERIAL_RX_PIN'
  179. 1009 | #define TMC_SW_DETAIL_ARGS(A) TERN(A##_HAS_SW_SERIAL, A##_SERIAL_TX_PIN, -1), TERN(A##_HAS_SW_SERIAL, A##_SERIAL_RX_PIN, -1), TERN0(A##_HAS_SW_SERIAL, A##_SLAVE_ADDRESS)
  180. | ^
  181. Marlin\src\module\stepper\trinamic.cpp:1010:28: note: in expansion of macro 'TMC_SW_DETAIL_ARGS'
  182. 1010 | #define TMC_SW_DETAIL(A) TMC_SW_DETAIL_ARGS(A)
  183. | ^~~~~~~~~~~~~~~~~~
  184. Marlin\src\module\stepper\trinamic.cpp:1012:23: note: in expansion of macro 'TMC_SW_DETAIL'
  185. 1012 | TMC_SW_DETAIL(X), TMC_SW_DETAIL(X2),
  186. | ^~~~~~~~~~~~~
  187. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:566:21: error: 'E0_SERIAL_TX_PIN' was not declared in this scope; did you mean 'X2_SERIAL_TX_PIN'?
  188. 566 | #define __EPIN(p,q) E##p##_##q##_PIN
  189. | ^
  190. Marlin\src\module\stepper\../../inc/../core/macros.h:571:26: note: in definition of macro 'THIRD'
  191. 571 | #define THIRD(a,b,c,...) c
  192. | ^
  193. Marlin\src\module\stepper\../../inc/../core/macros.h:204:29: note: in expansion of macro '___TERN'
  194. 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1'
  195. | ^~~~~~~
  196. Marlin\src\module\stepper\../../inc/../core/macros.h:203:29: note: in expansion of macro '__TERN'
  197. 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1'
  198. | ^~~~~~
  199. Marlin\src\module\stepper\../../inc/../core/macros.h:199:29: note: in expansion of macro '_TERN'
  200. 199 | #define TERN(O,A,B) _TERN(_ENA_1(O),B,A) // OPTION ? 'A' : 'B'
  201. | ^~~~~
  202. Marlin\src\module\stepper\trinamic.cpp:1009:33: note: in expansion of macro 'TERN'
  203. 1009 | #define TMC_SW_DETAIL_ARGS(A) TERN(A##_HAS_SW_SERIAL, A##_SERIAL_TX_PIN, -1), TERN(A##_HAS_SW_SERIAL, A##_SERIAL_RX_PIN, -1), TERN0(A##_HAS_SW_SERIAL, A##_SLAVE_ADDRESS)
  204. | ^~~~
  205. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
  206. 567 | #define _EPIN(p,q) __EPIN(p,q)
  207. | ^~~~~~
  208. Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:624:32: note: in expansion of macro '_EPIN'
  209. 624 | #define X2_SERIAL_TX_PIN _EPIN(X2_E_INDEX, SERIAL_TX)
  210. | ^~~~~
  211. Marlin\src\module\stepper\trinamic.cpp:1009:57: note: in expansion of macro 'X2_SERIAL_TX_PIN'
  212. 1009 | #define TMC_SW_DETAIL_ARGS(A) TERN(A##_HAS_SW_SERIAL, A##_SERIAL_TX_PIN, -1), TERN(A##_HAS_SW_SERIAL, A##_SERIAL_RX_PIN, -1), TERN0(A##_HAS_SW_SERIAL, A##_SLAVE_ADDRESS)
  213. | ^
  214. Marlin\src\module\stepper\trinamic.cpp:1029:76: note: in expansion of macro 'TMC_SW_DETAIL_ARGS'
  215. 1029 | #define SA_NO_TMC_SW_C(A) static_assert(1 >= count_tmc_sw_serial_matches(TMC_SW_DETAIL_ARGS(A), 0, COUNT(sanity_tmc_sw_details)), TMC_SWSERIAL_CONFLICT_MSG(A));
  216. | ^~~~~~~~~~~~~~~~~~
  217. Marlin\src\module\stepper\trinamic.cpp:1030:22: note: in expansion of macro 'SA_NO_TMC_SW_C'
  218. 1030 | SA_NO_TMC_SW_C(X); SA_NO_TMC_SW_C(X2);
  219. | ^~~~~~~~~~~~~~
  220. compilation terminated due to -fmax-errors=5.
  221. *** [.pio\build\STM32F103RC_btt\src\src\module\stepper\trinamic.cpp.o] Error 1
  222. ====================================================== [FAILED] Took 92.04 seconds ======================================================
  223.  
  224. Environment Status Duration
  225. --------------- -------- ------------
  226. STM32F103RC_btt FAILED 00:01:32.040
  227. ================================================= 1 failed, 0 succeeded in 00:01:32.040 =================================================
  228. PS C:\Users\Judit\Documents\Marlin-2.0.9.2> echo "done" >"C:\Users\Judit\AppData\Local\Temp\ipc"
  229. PS C:\Users\Judit\Documents\Marlin-2.0.9.2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement