board_pins: Add a new "extras" module to support per-board pin aliases

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-08-09 11:53:09 -04:00 committed by KevinOConnor
parent 395429be14
commit bfbcb90751
3 changed files with 51 additions and 2 deletions

View file

@ -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=<GND>" would reserve "EXP1_9"). This parameter must be
# provided.
# Support for a display attached to the micro-controller.
#[display]
#lcd_type: