aboutsummaryrefslogtreecommitdiffstats
path: root/config/example.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-04-13 12:09:37 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-04-13 13:20:13 -0400
commitdaff83ee9a7366c23470a78d30d20df3881293c0 (patch)
tree5e421031dd795b2004bc4bc839f05b7eacfc4c52 /config/example.cfg
parent9f9e3e61d60c4d5e377bff1ce0128294a864cfc3 (diff)
downloadkutter-daff83ee9a7366c23470a78d30d20df3881293c0.tar.gz
kutter-daff83ee9a7366c23470a78d30d20df3881293c0.tar.xz
kutter-daff83ee9a7366c23470a78d30d20df3881293c0.zip
hub-ctrl: Add support for micro-controller reset via RPi usb power toggling
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example.cfg')
-rw-r--r--config/example.cfg9
1 files changed, 6 insertions, 3 deletions
diff --git a/config/example.cfg b/config/example.cfg
index 65b6ddee..08a778c9 100644
--- a/config/example.cfg
+++ b/config/example.cfg
@@ -245,9 +245,12 @@ pin_map: arduino
# 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
+# micro-controller. The choices are 'arduino', 'rpi_usb', and
+# 'command'. The 'arduino' method (toggle DTR; set baud to 1200) is
+# common on Arduino boards and clones. The 'rpi_usb' method is
+# useful on Raspberry Pi boards with micro-controllers powered over
+# USB - it briefly disables power to all USB ports to accomplish a
+# micro-controller reset. The 'command' method involves sending a
# Klipper command to the micro-controller so that it can reset
# itself. The default is 'arduino'.
custom: