From bdd938b5787c03c417cb093837dbc86f39a2af58 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 20 Nov 2020 11:36:36 -0500 Subject: 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 --- config/generic-replicape.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config/generic-replicape.cfg') 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 -- cgit v1.2.3-70-g09d2