Closed McDAK33 closed 3 years ago
When reporting an issue, please be sure to follow all instructions at the top of the template, including debugging steps, and leave the sections headings intact.
This includes attaching your configuration files, regardless of whether you think they are involved.
Here's the test config I created for this issue: Marlin-issue-21289.zip
The Trinamic/StealthChop include in DGUSDisplayDef.cpp (L38-40)
needs to be patched so it's properly included:
#if ENABLED(HAS_STEALTHCHOP)
- #include "../../../../module/stepper/trinamic.h"
+ #include "../../../../../module/stepper/trinamic.h"
#endif
This config will still not build properly, but the issue is because it you have to enable SENSORLESS_HOMING
.
I'm looking into why that's a requirement.
Thank you for quick answer. I don't use SENSORLESS HOMING. I will wait for a decision.
PR https://github.com/MarlinFirmware/Marlin/pull/21388 fully resolves compiling issues (and fixes another bug), but I don't have the hardware to test.
You can pull those changes into your copy of Marlin for testing or wait until it's merged into bugfix-2.0.x
and pull a fresh copy.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Bug Description
Hardware: MKS Robin Nano V3 (STM32F407VGT6) + TMC2209 + MKS H43 LCD
Building: Marlin-bugfix-2.0.x (Downloaded on 08.03.2021)
Configuration.h: __#define X_DRIVER_TYPE TMC2209
define Y_DRIVER_TYPE TMC2209
define Z_DRIVER_TYPE TMC2209
. . .
define DGUS_LCD_UI_MKS__
Compilation result:
Additional Information
If only TMC drivers or only MKS DGAS are defined in Configuration.h, then the assembly is compiled without errors. If this is determined at the same time, then an error occurs.