aboutsummaryrefslogtreecommitdiffstats
path: root/config/example.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-04-02 23:18:16 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-04-13 13:20:13 -0400
commit9f9e3e61d60c4d5e377bff1ce0128294a864cfc3 (patch)
treef5e29d7bd47139ae045ff89ede64be489fb943f1 /config/example.cfg
parent1592395036677f4c5959d947bac62a419134600b (diff)
downloadkutter-9f9e3e61d60c4d5e377bff1ce0128294a864cfc3.tar.gz
kutter-9f9e3e61d60c4d5e377bff1ce0128294a864cfc3.tar.xz
kutter-9f9e3e61d60c4d5e377bff1ce0128294a864cfc3.zip
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>
Diffstat (limited to 'config/example.cfg')
-rw-r--r--config/example.cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/example.cfg b/config/example.cfg
index 8abaf9f7..65b6ddee 100644
--- a/config/example.cfg
+++ b/config/example.cfg
@@ -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