aboutsummaryrefslogtreecommitdiffstats
path: root/config/example-extras.cfg
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-08-09 11:53:09 -0400
committerKevinOConnor <kevin@koconnor.net>2019-08-19 12:57:59 -0400
commitbfbcb90751aa263f1ac87739dec05f7746c697ef (patch)
tree1ce6e4d5a14e0128d4f78995529b195e05e3b7a0 /config/example-extras.cfg
parent395429be146238a7a59fb9fde28cfdd2bdab8ccc (diff)
downloadkutter-bfbcb90751aa263f1ac87739dec05f7746c697ef.tar.gz
kutter-bfbcb90751aa263f1ac87739dec05f7746c697ef.tar.xz
kutter-bfbcb90751aa263f1ac87739dec05f7746c697ef.zip
board_pins: Add a new "extras" module to support per-board pin aliases
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r--config/example-extras.cfg13
1 files changed, 13 insertions, 0 deletions
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=<GND>" would reserve "EXP1_9"). This parameter must be
+# provided.
+
+
# Support for a display attached to the micro-controller.
#[display]
#lcd_type: