aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-01-20 00:18:28 -0500
committerKevin O'Connor <kevin@koconnor.net>2018-01-28 12:19:26 -0500
commit978777f09fa494db1b50fba58ea4e57d9b8479ac (patch)
tree03dcb68f6b033b4c2f39820b2bce2c76f49e9620 /config
parent5db84779c63b4eb6f6e0816f6c62bee51117fa85 (diff)
downloadkutter-978777f09fa494db1b50fba58ea4e57d9b8479ac.tar.gz
kutter-978777f09fa494db1b50fba58ea4e57d9b8479ac.tar.xz
kutter-978777f09fa494db1b50fba58ea4e57d9b8479ac.zip
replicape: Move the replicape code from chipmisc.py to extras directory
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config')
-rw-r--r--config/generic-replicape.cfg114
1 files changed, 57 insertions, 57 deletions
diff --git a/config/generic-replicape.cfg b/config/generic-replicape.cfg
index d9694beb..de2761ab 100644
--- a/config/generic-replicape.cfg
+++ b/config/generic-replicape.cfg
@@ -13,6 +13,56 @@
# See the example.cfg file for a description of available parameters.
+[mcu]
+serial: /dev/rpmsg_pru30
+pin_map: beaglebone
+
+[mcu host]
+serial: /tmp/klipper_host_mcu
+
+# The "replicape" config section adds "replicape:stepper_x_enable"
+# virtual stepper enable pins (for steppers x, y, z, e, and h) and
+# "replicape:power_x" PWM output pins (for hotbed, e, h, fan0, fan1,
+# fan2, and fan3) that may then be used elsewhere in the config file.
+[replicape]
+revision: B3
+# The replicape hardware revision. Currently only revision "B3" is
+# supported. This parameter must be provided.
+#enable_pin: !P9_41
+# The replicape global enable pin. The default is !P9_41.
+host_mcu: host
+# The name of the mcu config section that communicates with the
+# Klipper "linux process" mcu instance. This parameter must be
+# provided.
+#standstill_power_down: False
+# This parameter controls the CFG6_ENN line on all stepper
+# motors. True sets the enable lines to "open". The default is
+# False.
+stepper_x_microstep_mode: spread16
+# This parameter controls the CFG1 and CFG2 pins of the given
+# stepper motor driver. Available options are: disable, 1, 2,
+# spread2, 4, 16, spread4, spread16, stealth4, and stealth16. The
+# default is disable.
+stepper_x_current: 0.5
+# The configured maximum current (in Amps) of the stepper motor
+# driver. This parameter must be provided if the stepper is not in a
+# disable mode.
+#stepper_x_chopper_off_time_high: False
+# This parameter controls the CFG0 pin of the stepper motor driver
+# (True sets CFG0 high, False sets it low). The default is False.
+#stepper_x_chopper_hysteresis_high: False
+# This parameter controls the CFG4 pin of the stepper motor driver
+# (True sets CFG4 high, False sets it low). The default is False.
+#stepper_x_chopper_blank_time_high: True
+# This parameter controls the CFG5 pin of the stepper motor driver
+# (True sets CFG5 high, False sets it low). The default is True.
+stepper_y_microstep_mode: spread16
+stepper_y_current: 0.5
+stepper_z_microstep_mode: spread16
+stepper_z_current: 0.5
+stepper_e_microstep_mode: 16
+stepper_e_current: 0.5
+
[stepper_x]
step_pin: P8_17
dir_pin: P8_26
@@ -42,6 +92,13 @@ endstop_pin: ^P9_13
position_endstop: 0
position_max: 200
+[printer]
+kinematics: cartesian
+max_velocity: 300
+max_accel: 3000
+max_z_velocity: 25
+max_z_accel: 30
+
[extruder]
step_pin: P9_12
dir_pin: P8_15
@@ -69,60 +126,3 @@ max_temp: 130
[fan]
pin: replicape:power_fan0
-
-[mcu]
-serial: /dev/rpmsg_pru30
-pin_map: beaglebone
-
-[printer]
-kinematics: cartesian
-max_velocity: 300
-max_accel: 3000
-max_z_velocity: 25
-max_z_accel: 30
-
-[mcu host]
-serial: /tmp/klipper_host_mcu
-
-# The "replicape" config section adds "replicape:stepper_x_enable"
-# virtual stepper enable pins (for steppers x, y, z, e, and h) and
-# "replicape:power_x" PWM output pins (for hotbed, e, h, fan0, fan1,
-# fan2, and fan3) that may then be used elsewhere in the config file.
-[replicape]
-revision: B3
-# The replicape hardware revision. Currently only revision "B3" is
-# supported. This parameter must be provided.
-#enable_pin: !P9_41
-# The replicape global enable pin. The default is !P9_41.
-host_mcu: host
-# The name of the mcu config section that communicates with the
-# Klipper "linux process" mcu instance. This parameter must be
-# provided.
-#standstill_power_down: False
-# This parameter controls the CFG6_ENN line on all stepper
-# motors. True sets the enable lines to "open". The default is
-# False.
-stepper_x_microstep_mode: spread16
-# This parameter controls the CFG1 and CFG2 pins of the given
-# stepper motor driver. Available options are: disable, 1, 2,
-# spread2, 4, 16, spread4, spread16, stealth4, and stealth16. The
-# default is disable.
-stepper_x_current: 0.5
-# The configured maximum current (in Amps) of the stepper motor
-# driver. This parameter must be provided if the stepper is not in a
-# disable mode.
-#stepper_x_chopper_off_time_high: False
-# This parameter controls the CFG0 pin of the stepper motor driver
-# (True sets CFG0 high, False sets it low). The default is False.
-#stepper_x_chopper_hysteresis_high: False
-# This parameter controls the CFG4 pin of the stepper motor driver
-# (True sets CFG4 high, False sets it low). The default is False.
-#stepper_x_chopper_blank_time_high: True
-# This parameter controls the CFG5 pin of the stepper motor driver
-# (True sets CFG5 high, False sets it low). The default is True.
-stepper_y_microstep_mode: spread16
-stepper_y_current: 0.5
-stepper_z_microstep_mode: spread16
-stepper_z_current: 0.5
-stepper_e_microstep_mode: 16
-stepper_e_current: 0.5