mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-10 07:15:10 -06:00
board_pins: Use an explicit parameter to specify mcu name(s)
Add an 'mcu' option to the board_pins config and use that to specify the name of the mcu to apply the aliases to. Support applying the aliases to multiple mcus. Add support for any number of options starting with an "aliases_" prefix. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
37b475815e
commit
bdd938b578
4 changed files with 43 additions and 25 deletions
|
@ -124,7 +124,8 @@ aliases:
|
|||
SERVO_0=P9_14, SERVO_1=P9_16,
|
||||
|
||||
[board_pins host]
|
||||
aliases:
|
||||
mcu: host
|
||||
aliases_foo:
|
||||
# Host aliases for Linux MCU
|
||||
HOST_X2_STOP=gpio30, HOST_Y2_STOP=gpio113, HOST_Z2_STOP=gpio4
|
||||
# Thermistors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue