✨ M550 CONFIGURABLE_MACHINE_NAME#27731
✨ M550 CONFIGURABLE_MACHINE_NAME#27731thinkyhead merged 7 commits intoMarlinFirmware:bugfix-2.1.xfrom
Conversation
a5dfdde to
96d4c84
Compare
| #endif | ||
|
|
||
| #if ENABLED(CONFIGURABLE_MACHINE_NAME) && DISABLED(GCODE_QUOTED_STRINGS) | ||
| #error "CONFIGURABLE_MACHINE_NAME requires GCODE_QUOTED_STRINGS." |
There was a problem hiding this comment.
May be nice to add this requirement to the base configuration.h
I just tried building and got this:
from Marlin/src/HAL/STM32/sdio.cpp:27:
Marlin/src/HAL/STM32/../../inc/SanityCheck.h:4516:4: error: #error "CONFIGURABLE_MACHINE_NAME requires GCODE_QUOTED_STRINGS."
4516 | #error "CONFIGURABLE_MACHINE_NAME requires GCODE_QUOTED_STRINGS."
|
(not looking for help, just sharing for search indexing)
There was a problem hiding this comment.
I can add a comment to that effect. But since GCODE_QUOTED_STRINGS (Configuration_adv.h) follows CONFIGURABLE_MACHINE_NAME (Configuration.h) it won't be enforced with an #if in Configuration.h.
|
Somewhat tangential to this, but having a "true" UUID would be nice as well without needing to re-compile the firmware |
|
I flashed this patch on two Creality Ender 3 Pro boards: And, since this board has no distinct identifiers over USB, I and wrote a little Python script to handle mapping https://gist.github.com/crossan007/8949c5ef0f5a637e7339b776ea72455f There may be more work to do on this merge request for "polishing it up," but it's working for my purposes. |
7ff91bc to
8abba83
Compare
8abba83 to
4075e42
Compare
Oh yeah, that's an important one to include in the first iteration. |
23cbbc7 to
6b34658
Compare
6b34658 to
a3b36b9
Compare
This is a basic implementation of
M550as requested in #21653.