diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-11-20 11:36:36 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-11-20 12:00:36 -0500 |
commit | bdd938b5787c03c417cb093837dbc86f39a2af58 (patch) | |
tree | 37c44a0c04c0d4d6aae8c63ed5e552b7be241b3c /config | |
parent | 37b475815e07a6877ff2f99aa559a593fd050915 (diff) | |
download | kutter-bdd938b5787c03c417cb093837dbc86f39a2af58.tar.gz kutter-bdd938b5787c03c417cb093837dbc86f39a2af58.tar.xz kutter-bdd938b5787c03c417cb093837dbc86f39a2af58.zip |
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>
Diffstat (limited to 'config')
-rw-r--r-- | config/generic-replicape.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/generic-replicape.cfg b/config/generic-replicape.cfg index f8e3063e..a00ef1ba 100644 --- a/config/generic-replicape.cfg +++ b/config/generic-replicape.cfg @@ -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 |