Error in Compile Firmware from Github branch 07.02.2022
In file included from Marlin\src\module/stepper/indirection.h:44,
from Marlin\src\module/stepper.h:47,
from Marlin\src\MarlinCore.cpp:51:
Marlin\src\module/stepper/trinamic.h:86: error: unterminated #if
86
#if HAS_Y_AXIS && !defined(CHOPPER_TIMING_Y)
In file included from Marlin\src\module/stepper/indirection.h:44,
from Marlin\src\module/stepper.h:47,
from Marlin\src\MarlinCore.cpp:51:
Marlin\src\module/stepper/trinamic.h:117:72: error: expected primary-expression before ';' token
117 | static constexpr chopper_timing_t chopper_timing_X = CHOPPER_TIMING_X;
| ^
Marlin\src\module/stepper/trinamic.h:131:72: error: expected primary-expression before ';' token
131 | static constexpr chopper_timing_t chopper_timing_Y = CHOPPER_TIMING_Y;
| ^
Marlin\src\module/stepper/trinamic.h:145:72: error: expected primary-expression before ';' token
145 | static constexpr chopper_timing_t chopper_timing_Z = CHOPPER_TIMING_Z;
| ^
Marlin\src\module/stepper/trinamic.h:289:74: error: expected primary-expression before ';' token
289 | static constexpr chopper_timing_t chopper_timing_E0 = CHOPPER_TIMING_E0;
| ^
compilation terminated due to -fmax-errors=5.
*** [.pio\build\mks_robin_nano_v3_usb_flash_drive\src\src\MarlinCore.cpp.o] Error 1
=========================================== [FAILED] Took 131.04 seconds
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
Error in Compile Firmware from Github branch 07.02.2022
In file included from Marlin\src\module/stepper/indirection.h:44, from Marlin\src\module/stepper.h:47, from Marlin\src\MarlinCore.cpp:51: Marlin\src\module/stepper/trinamic.h:117:72: error: expected primary-expression before ';' token 117 | static constexpr chopper_timing_t chopper_timing_X = CHOPPER_TIMING_X; | ^ Marlin\src\module/stepper/trinamic.h:131:72: error: expected primary-expression before ';' token 131 | static constexpr chopper_timing_t chopper_timing_Y = CHOPPER_TIMING_Y; | ^ Marlin\src\module/stepper/trinamic.h:145:72: error: expected primary-expression before ';' token 145 | static constexpr chopper_timing_t chopper_timing_Z = CHOPPER_TIMING_Z; | ^ Marlin\src\module/stepper/trinamic.h:289:74: error: expected primary-expression before ';' token 289 | static constexpr chopper_timing_t chopper_timing_E0 = CHOPPER_TIMING_E0; | ^ compilation terminated due to -fmax-errors=5. *** [.pio\build\mks_robin_nano_v3_usb_flash_drive\src\src\MarlinCore.cpp.o] Error 1 =========================================== [FAILED] Took 131.04 seconds
Bug Timeline
Today 07.02.022
Expected behavior
doesnt compile
Actual behavior
No response
Steps to Reproduce
compile for tmc2208
Version of Marlin Firmware
2.0.9.2
Printer model
No response
Electronics
No response
Add-ons
No response
Bed Leveling
No response
Your Slicer
No response
Host Software
No response
Additional information & file uploads
No response