-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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] Build fails after https://github.com/MarlinFirmware/Marlin/pull/27338 #27410
Comments
I cannot replicate this. steps used: From a platformio new terminal run "pio run -e STM32F407VG_btt" This updates the Configuration.h and Configuration_adv.h files from config.ini and builds fine. NOTE: I notice in the provided Configuration.h from configs.zip has the line This is the cause of the build error listed, but this line is not in my populated Configuration.h generated from the attached config.ini I also tested 69f6960 ie before commit in question and |
I don't use the Marlin/src/module/stepper.cpp: In static member function 'static void Stepper::microstep_init()':
Marlin/src/module/stepper.cpp:4102:46: error: 'MICROSTEP_MODES' was not declared in this scope
4102 | static const uint8_t microstep_modes[] = MICROSTEP_MODES;
| ^~~~~~~~~~~~~~~
*** [.pio/build/STM32F407VG_btt_USB/src/src/module/stepper.cpp.o] Error 1
==================================== [FAILED] Took 54.89 seconds ====================================
Environment Status Duration
------------------- -------- ------------
STM32F407VG_btt_USB FAILED 00:00:54.888
=============================== 1 failed, 0 succeeded in 00:00:54.888 =============================== If I revert So why/how does that On our Configuring with INI page, there's a note that:
So it's really still a beta feature and quite brittle since there's no error checking/cleaning of old values & you'll have to regenerate a working |
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
I have an existing custom configuration for a machine that worked before #27338. As pointed out in #27338 (comment), 27338 breaks previously working configs
Bug Timeline
started with PR 27346
Expected behavior
I expect my config.ini based configuration to continue to work.
Actual behavior
build breaks
Steps to Reproduce
No response
Version of Marlin Firmware
2.1.-bugfix
Printer model
RatRig V-Minion
Electronics
SKR2
LCD/Controller
Mellow 12864 Mini
Other add-ons
TMC2209 steppers
Bed Leveling
ABL Bilinear mesh
Your Slicer
Cura
Host Software
OctoPrint
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
Since this is a build breakage, I am not including information from the printer. This issue persists including and up to commit id b94a0d0
I have added my config.ini, and the generated Configuration.h Configuration_adv.h files in configs.zip and a buildlog from running
pio run -e STM32F407VG_btt_USB &> buildlog.txt
.configs.zip
buildlog.txt
The text was updated successfully, but these errors were encountered: