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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user