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>
This commit is contained in:
Jon C 2020-09-01 17:00:48 +02:00 committed by GitHub
parent d0c5802fe2
commit 7c5b108531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 0 deletions

View File

@ -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