-
-
Notifications
You must be signed in to change notification settings - Fork 19.5k
✨ M550 CONFIGURABLE_MACHINE_NAME #27731
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
✨ M550 CONFIGURABLE_MACHINE_NAME #27731
Conversation
a5dfdde
to
96d4c84
Compare
@@ -4507,6 +4507,10 @@ static_assert(WITHIN(MULTISTEPPING_LIMIT, 1, 128) && IS_POWER_OF_2(MULTISTEPPING | |||
#error "Only enable ULTIPANEL_FEEDMULTIPLY or ULTIPANEL_FLOWPERCENT, but not both." | |||
#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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
M550
as requested in #21653.