nuttx/boards/arm/stm32/stm32f411-minimum/src
Michał Łyszczek 85b2cbaca6 boards/stm32f411-minimum: add support for /dev/gpio*
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>
2024-04-22 10:07:36 -03:00
..
CMakeLists.txt boards/stm32f411-minimum: add support for /dev/gpio* 2024-04-22 10:07:36 -03:00
Make.defs boards/stm32f411-minimum: add support for /dev/gpio* 2024-04-22 10:07:36 -03:00
stm32_appinit.c
stm32_autoleds.c
stm32_boot.c
stm32_bringup.c boards/stm32f411-minimum: add support for /dev/gpio* 2024-04-22 10:07:36 -03:00
stm32_composite.c usbdev: Split usbdev descriptor information 2023-09-06 02:29:32 +08:00
stm32_gpio.c boards/stm32f411-minimum: add support for /dev/gpio* 2024-04-22 10:07:36 -03:00
stm32_hx711.c boards/stm32f411-minimum: add support for hx711 driver 2024-02-26 19:16:51 -03:00
stm32_spi.c boards/stm32f411-minimum: Add optional onboard flash support 2023-04-22 01:45:19 +08:00
stm32_usb.c boards/stm32f411-minimum: Unmap USBHOST GPIOs 2023-04-22 01:45:19 +08:00
stm32_usbmsc.c boards/stm32f411-minimum: Add support for USB mass storage (gadget) 2023-04-22 01:45:19 +08:00
stm32_w25.c boards/stm32f411-minimum: Add optional onboard flash support 2023-04-22 01:45:19 +08:00
stm32f411-minimum-gpio.h boards/stm32f411-minimum: add support for /dev/gpio* 2024-04-22 10:07:36 -03:00
stm32f411-minimum.h boards/stm32f411-minimum: add support for /dev/gpio* 2024-04-22 10:07:36 -03:00