From 681ca5be62652ffb5fe940d458e39b20c705eed5 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 19 Mar 2021 12:28:35 -0400 Subject: [PATCH] config: Do not use beagleboard aliases in example config files Signed-off-by: Kevin O'Connor --- config/generic-cramps.cfg | 39 ++++++++++++++++++------------------ config/generic-replicape.cfg | 37 +++++++++++++++++----------------- 2 files changed, 37 insertions(+), 39 deletions(-) diff --git a/config/generic-cramps.cfg b/config/generic-cramps.cfg index 0e330d66..cab00ee4 100644 --- a/config/generic-cramps.cfg +++ b/config/generic-cramps.cfg @@ -11,46 +11,46 @@ # See docs/Config_Reference.md for a description of parameters. [stepper_x] -step_pin: P8_13 -dir_pin: P8_12 -enable_pin: !P9_14 +step_pin: gpio0_23 +dir_pin: gpio1_12 +enable_pin: !gpio1_18 microsteps: 16 rotation_distance: 40 -endstop_pin: ^P8_8 +endstop_pin: ^gpio2_3 position_endstop: 0 position_max: 200 homing_speed: 50 [stepper_y] -step_pin: P8_15 -dir_pin: P8_14 -enable_pin: !P9_14 +step_pin: gpio1_15 +dir_pin: gpio0_26 +enable_pin: !gpio1_18 microsteps: 16 rotation_distance: 40 -endstop_pin: ^P8_10 +endstop_pin: ^gpio2_4 position_endstop: 0 position_max: 200 homing_speed: 50 [stepper_z] -step_pin: P8_19 -dir_pin: P8_18 -enable_pin: !P9_14 +step_pin: gpio0_22 +dir_pin: gpio2_1 +enable_pin: !gpio1_18 microsteps: 16 rotation_distance: 8 -endstop_pin: ^P9_13 +endstop_pin: ^gpio0_31 position_endstop: 0 position_max: 200 [extruder] -step_pin: P9_16 -dir_pin: P9_12 -enable_pin: !P9_14 +step_pin: gpio1_19 +dir_pin: gpio1_28 +enable_pin: !gpio1_18 microsteps: 16 rotation_distance: 33.500 nozzle_diameter: 0.400 filament_diameter: 1.750 -heater_pin: P9_15 +heater_pin: gpio1_16 sensor_type: EPCOS 100K B57560G104F pullup_resistor: 2000 sensor_pin: host:analog5 @@ -62,7 +62,7 @@ min_temp: 0 max_temp: 250 [heater_bed] -heater_pin: P8_11 +heater_pin: gpio1_13 sensor_type: EPCOS 100K B57560G104F pullup_resistor: 2000 sensor_pin: host:analog4 @@ -71,11 +71,10 @@ min_temp: 0 max_temp: 130 [fan] -pin: P9_41 +pin: gpio0_20 [mcu] serial: /dev/rpmsg_pru30 -pin_map: beaglebone [mcu host] serial: /tmp/klipper_host_mcu @@ -88,6 +87,6 @@ max_z_velocity: 5 max_z_accel: 100 [output_pin machine_enable] -pin: P9_23 +pin: gpio1_17 value: 1 shutdown_value: 0 diff --git a/config/generic-replicape.cfg b/config/generic-replicape.cfg index 7604772b..c83f2c9b 100644 --- a/config/generic-replicape.cfg +++ b/config/generic-replicape.cfg @@ -15,7 +15,6 @@ [mcu] serial: /dev/rpmsg_pru30 -pin_map: beaglebone [mcu host] serial: /tmp/klipper_host_mcu @@ -33,34 +32,34 @@ stepper_e_microstep_mode: 16 stepper_e_current: 0.5 [stepper_x] -step_pin: P8_17 -dir_pin: P8_26 +step_pin: gpio0_27 +dir_pin: gpio1_29 enable_pin: replicape:stepper_x_enable microsteps: 16 rotation_distance: 40 -endstop_pin: ^P9_25 +endstop_pin: ^gpio3_21 position_endstop: 0 position_max: 200 homing_speed: 50 [stepper_y] -step_pin: P8_12 -dir_pin: P8_19 +step_pin: gpio1_12 +dir_pin: gpio0_22 enable_pin: replicape:stepper_y_enable microsteps: 16 rotation_distance: 40 -endstop_pin: ^P9_23 +endstop_pin: ^gpio1_17 position_endstop: 0 position_max: 200 homing_speed: 50 [stepper_z] -step_pin: P8_13 -dir_pin: P8_14 +step_pin: gpio0_23 +dir_pin: gpio0_26 enable_pin: replicape:stepper_z_enable microsteps: 16 rotation_distance: 8 -endstop_pin: ^P9_13 +endstop_pin: ^gpio0_31 position_endstop: 0 position_max: 200 @@ -72,8 +71,8 @@ max_z_velocity: 25 max_z_accel: 30 [extruder] -step_pin: P9_12 -dir_pin: P8_15 +step_pin: gpio1_28 +dir_pin: gpio1_15 enable_pin: replicape:stepper_e_enable microsteps: 16 rotation_distance: 33.500 @@ -101,7 +100,7 @@ max_temp: 130 pin: replicape:power_fan0 # The alternative servo pins channels on the endstops x2 and y2 can be used -# via the special relicape pins servo0 (P9_14) and servo1 (P9_16). +# via the special relicape pins servo0 (gpio1_18) and servo1 (gpio1_19). #[servo servo_x2] #pin: replicape:servo0 # PWM output pin controlling the servo. This parameter must be @@ -116,16 +115,16 @@ pin: replicape:power_fan0 [board_pins] aliases: # step/dir pins - X_DIR=P8_26, X_STEP=P8_17, Y_DIR=P8_19, Y_STEP=P8_12, Z_DIR=P8_14, Z_STEP=P8_13, - E_DIR=P8_15, E_STEP=P9_12, H_DIR=P8_16, H_STEP=P8_11, + X_DIR=gpio1_29, X_STEP=gpio0_27, Y_DIR=gpio0_22, Y_STEP=gpio1_12, Z_DIR=gpio0_26, Z_STEP=gpio0_23, + E_DIR=gpio1_15, E_STEP=gpio1_28, H_DIR=gpio1_14, H_STEP=gpio1_13, # stepper fault pins - FAULT_X=P8_10, FAULT_Y=P8_9, FAULT_Z=P9_24, FAULT_E=P8_18, FAULT_H=P8_8, + FAULT_X=gpio2_4, FAULT_Y=gpio2_5, FAULT_Z=gpio0_15, FAULT_E=gpio2_1, FAULT_H=gpio2_3, # endstops - STOP_X1=P9_25, STOP_X2=P9_11, STOP_Y1=P9_23, STOP_Y2=P9_28, STOP_Z1=P9_13, STOP_Z2=P9_18, + STOP_X1=gpio3_21, STOP_X2=gpio0_30, STOP_Y1=gpio1_17, STOP_Y2=gpio3_17, STOP_Z1=gpio0_31, STOP_Z2=gpio0_4, # enable steppers (all on one pin) - STEPPER_ENABLE=P9_41, + STEPPER_ENABLE=gpio0_20, # servos - SERVO_0=P9_14, SERVO_1=P9_16, + SERVO_0=gpio1_18, SERVO_1=gpio1_19, [board_pins host] mcu: host