Add gcode docs

This commit is contained in:
Alexander 2024-03-01 16:36:47 +01:00
parent fe4a2481d6
commit b73bdbbfc5
2 changed files with 21 additions and 0 deletions

20
docs/GCODE_COMMANDS.md Normal file
View file

@ -0,0 +1,20 @@
# Hidden Gcode commands
To run these custom gcode commands you need to pass
```gcode
ROOT
; gcode commands in here
UNROOT
```
The `root` command enabled these commands. And `unroot` disables them.
- ROOT - Enable root commands.
- M8802 - Reboots the printer.
- M8803 - Copy printer.cfg to USB.
- M8807 - Copy printer.cfg from USB.
- M8810 - Copy encrypted logs to USB.
- M8817 - Copy printer.cfg from USB to /app/resources/configs/printer.cfg.
- M8818 - Copy unmodifiable.cfg from USB.
- M8820 - Resets the printer to factory settings.