From bfbcb90751aa263f1ac87739dec05f7746c697ef Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 9 Aug 2019 11:53:09 -0400 Subject: board_pins: Add a new "extras" module to support per-board pin aliases Signed-off-by: Kevin O'Connor --- config/example-extras.cfg | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'config/example-extras.cfg') diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 184f690a..4f220502 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -1366,6 +1366,19 @@ # be provided. +# Board pin aliases. One may define aliases for the pins on a +# micro-controller. (If a micro-controller name is omitted in the +# board_pins config section name then it defaults to "mcu".) +#[board_pins mcu] +#aliases: +# A comma separated list of "name=value" aliases to create for the +# given micro-controller. For example, "EXP1_1=PE6" would create an +# "EXP1_1" alias for the "PE6" pin. However, if "value" is enclosed +# in "<>" then "name" is created as a reserved pin (for example, +# "EXP1_9=" would reserve "EXP1_9"). This parameter must be +# provided. + + # Support for a display attached to the micro-controller. #[display] #lcd_type: -- cgit v1.2.3-70-g09d2