Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from Marlin\src\MarlinCore.cpp:51:
- Marlin\src\module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\gcode\calibrate\G28.cpp:27:
- Marlin\src\gcode\calibrate\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\gcode\calibrate\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\gcode\control\M17_M18_M84.cpp:26:
- Marlin\src\gcode\control\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\gcode\control\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\gcode\control\M400.cpp:24:
- Marlin\src\gcode\control\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\gcode\control\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\gcode\geometry\G92.cpp:25:
- Marlin\src\gcode\geometry\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\gcode\geometry\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\gcode\host\M114.cpp:27:
- Marlin\src\gcode\host\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\gcode\host\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\gcode\motion\G4.cpp:24:
- Marlin\src\gcode\motion\../../module/stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\gcode\motion\../../module/stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- Marlin\src\inc\Warnings.cpp:39:4: warning: #warning "Your Configuration provides no method to acquire user feedback!" [-Wcpp]
- 39 | #warning "Your Configuration provides no method to acquire user feedback!"
- | ^~~~~~~
- Marlin\src\inc\Warnings.cpp:43:4: warning: #warning "Auto-assigned X2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs." [-Wcpp]
- 43 | #warning "Auto-assigned X2 STEP/DIR/ENABLE_PINs to unused En_STEP/DIR/ENABLE_PINs."
- | ^~~~~~~
- In file included from Marlin\src\module\endstops.cpp:28:
- Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\module\motion.cpp:29:
- Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\module\planner.cpp:66:
- Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\module\settings.cpp:50:
- Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\module\stepper.cpp:80:
- Marlin\src\module\stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\module\stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\module\stepper\trinamic.cpp:33:
- Marlin\src\module\stepper\../stepper.h: In static member function 'static bool Stepper::disable_extruder()':
- Marlin\src\module\stepper\../stepper.h:612:46: warning: no return statement in function returning non-void [-Wreturn-type]
- 612 | static inline bool disable_extruder() {}
- | ^
- In file included from Marlin\src\module\stepper\../../inc/../pins/pins.h:819,
- from Marlin\src\module\stepper\../../inc/MarlinConfig.h:34,
- from Marlin\src\module\stepper\trinamic.cpp:28:
- Marlin\src\module\stepper\trinamic.cpp: At global scope:
- 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'?
- 566 | #define __EPIN(p,q) E##p##_##q##_PIN
- | ^
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
- 567 | #define _EPIN(p,q) __EPIN(p,q)
- | ^~~~~~
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:627:32: note: in expansion of macro '_EPIN'
- 627 | #define X2_SERIAL_RX_PIN _EPIN(X2_E_INDEX, SERIAL_RX)
- | ^~~~~
- Marlin\src\module\stepper\trinamic.cpp:59:85: note: in expansion of macro 'X2_SERIAL_RX_PIN'
- 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)
- | ^~
- Marlin\src\module\stepper\trinamic.cpp:64:44: note: in expansion of macro 'TMC_UART_SW_DEFINE'
- 64 | #define _TMC_UART_DEFINE(SWHW, IC, ST, AI) TMC_UART_##SWHW##_DEFINE(IC, ST, TMC_##ST##_LABEL, AI)
- | ^~~~~~~~~
- Marlin\src\module\stepper\trinamic.cpp:65:39: note: in expansion of macro '_TMC_UART_DEFINE'
- 65 | #define TMC_UART_DEFINE(SWHW, ST, AI) _TMC_UART_DEFINE(SWHW, ST##_DRIVER_TYPE, ST, AI##_AXIS)
- | ^~~~~~~~~~~~~~~~
- Marlin\src\module\stepper\trinamic.cpp:292:7: note: in expansion of macro 'TMC_UART_DEFINE'
- 292 | TMC_UART_DEFINE(SW, X2, X);
- | ^~~~~~~~~~~~~~~
- 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'?
- 566 | #define __EPIN(p,q) E##p##_##q##_PIN
- | ^
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
- 567 | #define _EPIN(p,q) __EPIN(p,q)
- | ^~~~~~
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:624:32: note: in expansion of macro '_EPIN'
- 624 | #define X2_SERIAL_TX_PIN _EPIN(X2_E_INDEX, SERIAL_TX)
- | ^~~~~
- Marlin\src\module\stepper\trinamic.cpp:59:105: note: in expansion of macro 'X2_SERIAL_TX_PIN'
- 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)
- | ^~
- Marlin\src\module\stepper\trinamic.cpp:64:44: note: in expansion of macro 'TMC_UART_SW_DEFINE'
- 64 | #define _TMC_UART_DEFINE(SWHW, IC, ST, AI) TMC_UART_##SWHW##_DEFINE(IC, ST, TMC_##ST##_LABEL, AI)
- | ^~~~~~~~~
- Marlin\src\module\stepper\trinamic.cpp:65:39: note: in expansion of macro '_TMC_UART_DEFINE'
- 65 | #define TMC_UART_DEFINE(SWHW, ST, AI) _TMC_UART_DEFINE(SWHW, ST##_DRIVER_TYPE, ST, AI##_AXIS)
- | ^~~~~~~~~~~~~~~~
- Marlin\src\module\stepper\trinamic.cpp:292:7: note: in expansion of macro 'TMC_UART_DEFINE'
- 292 | TMC_UART_DEFINE(SW, X2, X);
- | ^~~~~~~~~~~~~~~
- In file included from Marlin\src\module\stepper\../../inc/MarlinConfigPre.h:37,
- from Marlin\src\module\stepper\../../inc/MarlinConfig.h:28,
- from Marlin\src\module\stepper\trinamic.cpp:28:
- 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'?
- 566 | #define __EPIN(p,q) E##p##_##q##_PIN
- | ^
- Marlin\src\module\stepper\../../inc/../core/macros.h:571:26: note: in definition of macro 'THIRD'
- 571 | #define THIRD(a,b,c,...) c
- | ^
- Marlin\src\module\stepper\../../inc/../core/macros.h:204:29: note: in expansion of macro '___TERN'
- 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1'
- | ^~~~~~~
- Marlin\src\module\stepper\../../inc/../core/macros.h:203:29: note: in expansion of macro '__TERN'
- 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1'
- | ^~~~~~
- Marlin\src\module\stepper\../../inc/../core/macros.h:199:29: note: in expansion of macro '_TERN'
- 199 | #define TERN(O,A,B) _TERN(_ENA_1(O),B,A) // OPTION ? 'A' : 'B'
- | ^~~~~
- Marlin\src\module\stepper\trinamic.cpp:1009:33: note: in expansion of macro 'TERN'
- 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)
- | ^~~~
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
- 567 | #define _EPIN(p,q) __EPIN(p,q)
- | ^~~~~~
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:624:32: note: in expansion of macro '_EPIN'
- 624 | #define X2_SERIAL_TX_PIN _EPIN(X2_E_INDEX, SERIAL_TX)
- | ^~~~~
- Marlin\src\module\stepper\trinamic.cpp:1009:57: note: in expansion of macro 'X2_SERIAL_TX_PIN'
- 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)
- | ^
- Marlin\src\module\stepper\trinamic.cpp:1010:28: note: in expansion of macro 'TMC_SW_DETAIL_ARGS'
- 1010 | #define TMC_SW_DETAIL(A) TMC_SW_DETAIL_ARGS(A)
- | ^~~~~~~~~~~~~~~~~~
- Marlin\src\module\stepper\trinamic.cpp:1012:23: note: in expansion of macro 'TMC_SW_DETAIL'
- 1012 | TMC_SW_DETAIL(X), TMC_SW_DETAIL(X2),
- | ^~~~~~~~~~~~~
- 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'?
- 566 | #define __EPIN(p,q) E##p##_##q##_PIN
- | ^
- Marlin\src\module\stepper\../../inc/../core/macros.h:571:26: note: in definition of macro 'THIRD'
- 571 | #define THIRD(a,b,c,...) c
- | ^
- Marlin\src\module\stepper\../../inc/../core/macros.h:204:29: note: in expansion of macro '___TERN'
- 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1'
- | ^~~~~~~
- Marlin\src\module\stepper\../../inc/../core/macros.h:203:29: note: in expansion of macro '__TERN'
- 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1'
- | ^~~~~~
- Marlin\src\module\stepper\../../inc/../core/macros.h:199:29: note: in expansion of macro '_TERN'
- 199 | #define TERN(O,A,B) _TERN(_ENA_1(O),B,A) // OPTION ? 'A' : 'B'
- | ^~~~~
- Marlin\src\module\stepper\trinamic.cpp:1009:81: note: in expansion of macro 'TERN'
- 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)
- | ^~~~
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
- 567 | #define _EPIN(p,q) __EPIN(p,q)
- | ^~~~~~
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:627:32: note: in expansion of macro '_EPIN'
- 627 | #define X2_SERIAL_RX_PIN _EPIN(X2_E_INDEX, SERIAL_RX)
- | ^~~~~
- Marlin\src\module\stepper\trinamic.cpp:1009:105: note: in expansion of macro 'X2_SERIAL_RX_PIN'
- 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)
- | ^
- Marlin\src\module\stepper\trinamic.cpp:1010:28: note: in expansion of macro 'TMC_SW_DETAIL_ARGS'
- 1010 | #define TMC_SW_DETAIL(A) TMC_SW_DETAIL_ARGS(A)
- | ^~~~~~~~~~~~~~~~~~
- Marlin\src\module\stepper\trinamic.cpp:1012:23: note: in expansion of macro 'TMC_SW_DETAIL'
- 1012 | TMC_SW_DETAIL(X), TMC_SW_DETAIL(X2),
- | ^~~~~~~~~~~~~
- 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'?
- 566 | #define __EPIN(p,q) E##p##_##q##_PIN
- | ^
- Marlin\src\module\stepper\../../inc/../core/macros.h:571:26: note: in definition of macro 'THIRD'
- 571 | #define THIRD(a,b,c,...) c
- | ^
- Marlin\src\module\stepper\../../inc/../core/macros.h:204:29: note: in expansion of macro '___TERN'
- 204 | #define __TERN(T,V...) ___TERN(_CAT(_NO,T),V) // Prepend '_NO' to get '_NOT_0' or '_NOT_1'
- | ^~~~~~~
- Marlin\src\module\stepper\../../inc/../core/macros.h:203:29: note: in expansion of macro '__TERN'
- 203 | #define _TERN(E,V...) __TERN(_CAT(T_,E),V) // Prepend 'T_' to get 'T_0' or 'T_1'
- | ^~~~~~
- Marlin\src\module\stepper\../../inc/../core/macros.h:199:29: note: in expansion of macro '_TERN'
- 199 | #define TERN(O,A,B) _TERN(_ENA_1(O),B,A) // OPTION ? 'A' : 'B'
- | ^~~~~
- Marlin\src\module\stepper\trinamic.cpp:1009:33: note: in expansion of macro 'TERN'
- 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)
- | ^~~~
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:567:20: note: in expansion of macro '__EPIN'
- 567 | #define _EPIN(p,q) __EPIN(p,q)
- | ^~~~~~
- Marlin\src\module\stepper\../../inc/../pins/pins_postprocess.h:624:32: note: in expansion of macro '_EPIN'
- 624 | #define X2_SERIAL_TX_PIN _EPIN(X2_E_INDEX, SERIAL_TX)
- | ^~~~~
- Marlin\src\module\stepper\trinamic.cpp:1009:57: note: in expansion of macro 'X2_SERIAL_TX_PIN'
- 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)
- | ^
- Marlin\src\module\stepper\trinamic.cpp:1029:76: note: in expansion of macro 'TMC_SW_DETAIL_ARGS'
- 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));
- | ^~~~~~~~~~~~~~~~~~
- Marlin\src\module\stepper\trinamic.cpp:1030:22: note: in expansion of macro 'SA_NO_TMC_SW_C'
- 1030 | SA_NO_TMC_SW_C(X); SA_NO_TMC_SW_C(X2);
- | ^~~~~~~~~~~~~~
- compilation terminated due to -fmax-errors=5.
- *** [.pio\build\STM32F103RC_btt\src\src\module\stepper\trinamic.cpp.o] Error 1
- ====================================================== [FAILED] Took 92.04 seconds ======================================================
- Environment Status Duration
- --------------- -------- ------------
- STM32F103RC_btt FAILED 00:01:32.040
- ================================================= 1 failed, 0 succeeded in 00:01:32.040 =================================================
- PS C:\Users\Judit\Documents\Marlin-2.0.9.2> echo "done" >"C:\Users\Judit\AppData\Local\Temp\ipc"
- PS C:\Users\Judit\Documents\Marlin-2.0.9.2>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement