aboutsummaryrefslogtreecommitdiffstats
path: root/src/Kconfig
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-03-17 20:41:52 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-03-17 20:56:25 -0400
commit4a35f927fc1d7b8c3b34f32c1c889fb433752dcc (patch)
treee775cbf7f216996cd2056c6568c5fbc5eac1f3fb /src/Kconfig
parent0af89e4766e5a25abb9d5d9667e2f187c4cec7c1 (diff)
downloadkutter-4a35f927fc1d7b8c3b34f32c1c889fb433752dcc.tar.gz
kutter-4a35f927fc1d7b8c3b34f32c1c889fb433752dcc.tar.xz
kutter-4a35f927fc1d7b8c3b34f32c1c889fb433752dcc.zip
initial_pins: Add ability to configure output pins at mcu startup
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r--src/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index a80e1deb..7e6475b9 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -88,6 +88,15 @@ config STEP_DELAY
The default for AVR is -1, for all other micro-controllers it
is 2us.
+config INITIAL_PINS
+ string "GPIO pins to set at micro-controller startup"
+ depends on LOW_LEVEL_OPTIONS
+ help
+ One may specify a comma separated list of gpio pins to set
+ during the micro-controller startup sequence. By default the
+ pins will be set to output high - preface a pin with a '!'
+ character to set that pin to output low.
+
# The HAVE_GPIO_x options allow boards to disable support for some
# commands if the hardware does not support the feature.
config HAVE_GPIO