Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Error Trinamic.h #309

Open
Liriel-666 opened this issue Feb 7, 2022 · 1 comment
Open

[BUG] Error Trinamic.h #309

Liriel-666 opened this issue Feb 7, 2022 · 1 comment

Comments

@Liriel-666
Copy link

Liriel-666 commented Feb 7, 2022

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: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

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

@Liriel-666
Copy link
Author

the configs
config.zip
g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant