diff options
author | Jon C <goeland86@gmail.com> | 2020-09-01 17:00:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 11:00:48 -0400 |
commit | 7c5b1085310fbb7818d9bb10b5336a975d6dbe12 (patch) | |
tree | fb38a1b0ecb76722d669e8786f21f5fa59b0cab6 /config/generic-replicape.cfg | |
parent | d0c5802fe224361415ef841035ef4e73e947e9a2 (diff) | |
download | kutter-7c5b1085310fbb7818d9bb10b5336a975d6dbe12.tar.gz kutter-7c5b1085310fbb7818d9bb10b5336a975d6dbe12.tar.xz kutter-7c5b1085310fbb7818d9bb10b5336a975d6dbe12.zip |
config: Replicape config updates with pin aliases (#3269)
Adding board_pins section.
Added linux host MCU board pin aliases for endstops.
Also added a sample filament switch sensor config.
Signed-off-by: Jon Charnas <goeland86@gmail.com>
Diffstat (limited to 'config/generic-replicape.cfg')
-rw-r--r-- | config/generic-replicape.cfg | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/config/generic-replicape.cfg b/config/generic-replicape.cfg index fe685b31..90a10f38 100644 --- a/config/generic-replicape.cfg +++ b/config/generic-replicape.cfg @@ -134,3 +134,31 @@ pin: replicape:power_fan0 # PWM output pin controlling the servo. This parameter must be # provided. #... + +# Providing an example of a switch filament sensor using the Linux MCU for replicape, instead of the PRU which does not have enough memory: +#[filament_switch_sensor switch_sensor] +#switch_pin: HOST_X2_STOP + +# providing board pin aliases +[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, + # stepper fault pins + FAULT_X=P8_10, FAULT_Y=P8_9, FAULT_Z=P9_24, FAULT_E=P8_18, FAULT_H=P8_8, + # 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, + # enable steppers (all on one pin) + STEPPER_ENABLE=P9_41, + # servos + SERVO_0=P9_14, SERVO_1=P9_16, + # Thermistors + THERM_E=P9_33, THERM_H=P9_36, THERM_BED=P9_35, + # D1W pin + DALLAS=P9_22 + +[board_pins host] +aliases: + # Host aliases for Linux MCU + HOST_X2_STOP=gpio30, HOST_Y2_STOP=gpio113, HOST_Z2_STOP=gpio4 |