-
Notifications
You must be signed in to change notification settings - Fork 787
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
[DOC] Add M997 Restart Page #244
Conversation
Unsure about flag |
M997 only restarts because the LPC176x (and now some STMF1) only require restarted to flash the firmware.bin file already copied to the sd card, the command is actually For some future implementations this command could do much more than just restarting. |
LMK when this is ready to be merged |
@reloxx13 is this ready to be merged now? |
heya, |
I was trying to explain that M997 isn't a Restart command ^^ that's just what it does on platforms where restarting triggers a firmware flash. So the naming is a bit off. Using it as a restart command could be mentioned though, I just don't wan't Marlins documentation to conflict with the 'official' reprap gcode list. |
it executes eg. Updating firmware is "a bonus" since some boards will always update after a restart if there is a firmware file on sd and only if it is supported by the bootloader. That was the reason i called it "Restart". |
No that's the wrong way round, as the reprap standard states I realise that the implementation I added does just restart, but again that is only because it is necessary to perform the firmware flash on those platforms. In my opinion the Marlin documentation should state that |
85a5af4
to
332b540
Compare
@p3p pls review :) |
looks good, although |
I think it's good enough. LMK if there needs to be any correction. |
Add page for
M997 Restart
gcode commandNew:
MarlinFirmware/Marlin#13281
MarlinFirmware/Marlin#15209
MarlinFirmware/Marlin#7768 (comment)
https://reprap.org/wiki/G-code#M997:_Perform_in-application_firmware_update