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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user