mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-09 06:45:26 -06:00
mcu: Support reset command
Extend the FIRMWARE_RESTART command so that it can use the firmware "reset" command instead of the "arduino" mechanism. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
1592395036
commit
9f9e3e61d6
4 changed files with 36 additions and 5 deletions
|
@ -243,6 +243,13 @@ serial: /dev/ttyACM0
|
|||
pin_map: arduino
|
||||
# This option may be used to enable Arduino pin name aliases. The
|
||||
# default is to not enable the aliases.
|
||||
#restart_method: arduino
|
||||
# This controls the mechanism the host will use to reset the
|
||||
# micro-controller. The choices are 'arduino' and 'command'. The
|
||||
# 'arduino' method (toggle DTR; set baud to 1200) is common on
|
||||
# Arduino boards and clones. The 'command' method involves sending a
|
||||
# Klipper command to the micro-controller so that it can reset
|
||||
# itself. The default is 'arduino'.
|
||||
custom:
|
||||
# This option may be used to specify a set of custom
|
||||
# micro-controller commands to be sent at the start of the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue