85b2cbaca6
This patch allows user to simply select which GPIOs he wants to use and access them via /dev/gpio_a0 or similar device with standard gpio driver. By default gpio names match pin names printed on the board. So when enabling A3 pin, it will show as /dev/gpio_a3 in runtime. This name can be changed in kconfig. User can also select pin function (input, output, interrupt) as well as standard pin settings like, pull up/down, output type pushpull/open drain etc. All pins that are exposed via boards goldpins are listed in Kconfig. Extra pins that are supported by chiip but are not exposed for easy usage are not listed. To have this nice Kconfig configuration and for things to be easily debugable/understandable it requires code to have big Kconfig and header file with all possible definitions Because of file sizes I decided to split gpio related kconfig and header into separate files. Otherwise it would really make original files hard to read and find anything. Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl> |
||
---|---|---|
.. | ||
axoloti | ||
b-g431b-esc1 | ||
b-g474e-dpow1 | ||
clicker2-stm32 | ||
cloudctrl | ||
common | ||
emw3162 | ||
et-stm32-stamp | ||
fire-stm32v2 | ||
hymini-stm32v | ||
maple | ||
mikroe-stm32f4 | ||
nucleo-f4x1re | ||
nucleo-f103rb | ||
nucleo-f207zg | ||
nucleo-f302r8 | ||
nucleo-f303re | ||
nucleo-f303ze | ||
nucleo-f334r8 | ||
nucleo-f410rb | ||
nucleo-f412zg | ||
nucleo-f429zi | ||
nucleo-f446re | ||
nucleo-g431kb | ||
nucleo-g431rb | ||
nucleo-g474re | ||
nucleo-l152re | ||
odrive36 | ||
olimex-stm32-e407 | ||
olimex-stm32-h405 | ||
olimex-stm32-h407 | ||
olimex-stm32-p107 | ||
olimex-stm32-p207 | ||
olimex-stm32-p407 | ||
olimexino-stm32 | ||
omnibusf4 | ||
photon | ||
shenzhou | ||
stm32_tiny | ||
stm32butterfly2 | ||
stm32f3discovery | ||
stm32f4discovery | ||
stm32f103-minimum | ||
stm32f334-disco | ||
stm32f401rc-rs485 | ||
stm32f411-minimum | ||
stm32f411e-disco | ||
stm32f429i-disco | ||
stm32ldiscovery | ||
stm32vldiscovery | ||
stm3210e-eval | ||
stm3220g-eval | ||
stm3240g-eval | ||
viewtool-stm32f107 |