aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2018-06-27 12:04:26 -0400
committerKevin O'Connor <kevin@koconnor.net>2018-06-27 12:10:25 -0400
commitd6518515679b939d1fd5c4af490c4ff9e75f88a9 (patch)
tree1b76a0c3daa6bc7fea61672685ac2e8d45e4a1a5 /config
parent41058d22a6f607a800eb69ae642c7e1da967db34 (diff)
downloadkutter-d6518515679b939d1fd5c4af490c4ff9e75f88a9.tar.gz
kutter-d6518515679b939d1fd5c4af490c4ff9e75f88a9.tar.xz
kutter-d6518515679b939d1fd5c4af490c4ff9e75f88a9.zip
pru: Disable ADC reading directly from the PRU
The PRU code size has grown too close to the maximum - remove the ADC code to reduce its overall size. (On the beaglebone, the Linux process can, and typically does, do the ADC reading.) Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config')
-rw-r--r--config/generic-cramps.cfg7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/generic-cramps.cfg b/config/generic-cramps.cfg
index f04cd030..818afa01 100644
--- a/config/generic-cramps.cfg
+++ b/config/generic-cramps.cfg
@@ -49,7 +49,7 @@ filament_diameter: 1.750
heater_pin: P9_15
sensor_type: EPCOS 100K B57560G104F
pullup_resistor: 2000
-sensor_pin: P9_36
+sensor_pin: host:analog5
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
@@ -61,7 +61,7 @@ max_temp: 250
heater_pin: P8_11
sensor_type: EPCOS 100K B57560G104F
pullup_resistor: 2000
-sensor_pin: P9_33
+sensor_pin: host:analog4
control: watermark
min_temp: 0
max_temp: 130
@@ -73,6 +73,9 @@ pin: P9_41
serial: /dev/rpmsg_pru30
pin_map: beaglebone
+[mcu host]
+serial: /tmp/klipper_host_mcu
+
[printer]
kinematics: cartesian
max_velocity: 300