The latest development version of this page may be more current than this released 2.1.0 version.
CONFIG_GPIO_STM32

GPIO Driver for STM32 family of MCUs

Type: bool

Help

Enable GPIO driver for STM32 line of MCUs

Direct dependencies

(GPIO && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && GPIO)

(Includes any dependencies from ifs and menus.)

Default

  • y

Symbols selected by this symbol

Kconfig definitions

At soc/arm/st_stm32/common/Kconfig.defconfig.series:31

Included via Kconfig:8Kconfig.zephyr:25soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config GPIO_STM32
    bool
    default y
    depends on GPIO && SOC_FAMILY_STM32

At drivers/gpio/Kconfig.stm32:6

Included via Kconfig:8Kconfig.zephyr:37drivers/Kconfig:28drivers/gpio/Kconfig:34

Menu path: (Top) → Device Drivers → GPIO Drivers

menuconfig GPIO_STM32
    bool "GPIO Driver for STM32 family of MCUs"
    select HAS_DTS_GPIO
    depends on SOC_FAMILY_STM32 && GPIO
    help
      Enable GPIO driver for STM32 line of MCUs

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)