initial_pins: Add ability to configure output pins at mcu startup

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-03-17 20:41:52 -04:00
parent 0af89e4766
commit 4a35f927fc
5 changed files with 103 additions and 4 deletions

View File

@@ -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