Closed Rastafaraaj closed 1 year ago
After 2 days of sitting at front of monitor i found a solution. Maybe its not a bug but i think its a big problem for typical Marlin user.
Resolved by adding "Servo" in platformio.ini lib_deps = teemuatlut/TMCStepper@^0.7.3 olikraus/U8g2@^2.35.6 Servo
and changing [common] arduino-libraries/Servo@^1.2.1
to [common] servo
that's it, now its compiled
Resolved by adding "Servo" in platformio.ini lib_deps = teemuatlut/TMCStepper@^0.7.3 olikraus/U8g2@^2.35.6 Servo
and changing [common] arduino-libraries/Servo@^1.2.1
to [common] servo
Your platformio.ini
is severely malformed & deviates from what we have in this codebase.
Start with the stock platformio.ini
and only change default_envs
from mega2560
to LPC1768
.
diff --git a/platformio.ini b/platformio.ini
index e3bdb6f..eaf82f8 100644
--- a/platformio.ini
+++ b/platformio.ini
@@ -13,7 +13,7 @@
[platformio]
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
-default_envs = mega2560
+default_envs = LPC1768
include_dir = Marlin
extra_configs =
Marlin/config.ini
This compiles fine.
This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
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.
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Cannot compile Marlin 2.1 bugfix after adding TMCSteppers library, without TMCSteppers everything goes fine. Error:
Tried to enable/disable longpath under Windows 11, tried on Windows 10, tried on newest Ubuntu, still same error exists. My configuration is: LPC1768, TMCSteppers TM2130 UART mode, configuration werk before adding BLTOUCH (only removed // before define BLTOUCH)
Bug Timeline
No response
Expected behavior
I expected to compile newest version of Marlin with BLTouch
Actual behavior
No response
Steps to Reproduce
Compile LPC1768 with BTT SKR V1.3 mobo and BLTouch enabled then try to install TMCSteppers library and try again to compile. config_drukarka.zip
Version of Marlin Firmware
2.1 bugfix
Printer model
Custom
Electronics
SKR V1.3, TMC2130
Add-ons
BLTouch
Bed Leveling
ABL Bilinear mesh
Your Slicer
Cura
Host Software
Cura
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
No response