This is the documentation for the latest (master) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.
CONFIG_GPIO

GPIO Drivers

Type: bool

Help

Include GPIO drivers in system config

Defaults

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • n

  • n

Symbols selected by this symbol

Symbols that imply this symbol

Kconfig definitions

At soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:19

Included via Kconfig:8Kconfig.zephyr:25soc/arm/microchip_mec/Kconfig.defconfig:3soc/arm/microchip_mec/mec1501/Kconfig.defconfig.series:17

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X

At soc/arm/nordic_nrf/Kconfig.defconfig:36

Included via Kconfig:8Kconfig.zephyr:25

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SPI && SOC_FAMILY_NRF

At soc/arm/nxp_imx/mcimx7_m4/Kconfig.defconfig.mcimx7_m4:14

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/mcimx7_m4/Kconfig.defconfig.series:15

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MCIMX7_M4 && SOC_SERIES_IMX7_M4

At soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1010:27

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:139

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1011 && SOC_SERIES_IMX_RT

At soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1015:23

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:139

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1015 && SOC_SERIES_IMX_RT

At soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1021:23

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:139

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1021 && SOC_SERIES_IMX_RT

At soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1052:23

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:139

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1052 && SOC_SERIES_IMX_RT

At soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1062:23

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:139

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1062 && SOC_SERIES_IMX_RT

At soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1064:23

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:139

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1064 && SOC_SERIES_IMX_RT

At soc/arm/nxp_kinetis/k2x/Kconfig.defconfig.mk22f12:23

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_kinetis/Kconfig.defconfig:3soc/arm/nxp_kinetis/k2x/Kconfig.defconfig.series:18

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MK22F51212 && SOC_SERIES_KINETIS_K2X

At soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk64f12:37

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_kinetis/Kconfig.defconfig:3soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.series:18

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MK64F12 && SOC_SERIES_KINETIS_K6X

At soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.mk66f18:28

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_kinetis/Kconfig.defconfig:3soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.series:18

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MK66F18 && SOC_SERIES_KINETIS_K6X

At soc/arm/nxp_kinetis/k8x/Kconfig.defconfig.series:44

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

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_SERIES_KINETIS_K8X

At soc/arm/nxp_kinetis/ke1xf/Kconfig.defconfig.series:57

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

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_SERIES_KINETIS_KE1XF

At soc/arm/nxp_kinetis/kv5x/Kconfig.defconfig.series:27

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

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_SERIES_KINETIS_KV5X

At soc/arm/nxp_lpc/lpc54xxx/Kconfig.defconfig.lpc54114_m0:15

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_lpc/Kconfig.defconfig:4soc/arm/nxp_lpc/lpc54xxx/Kconfig.defconfig.series:15

Menu path: (Top)

config GPIO
    bool
    default n
    depends on SOC_LPC54114_M0 && SOC_SERIES_LPC54XXX

At soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.lpc55S69_cpu1:15

Included via Kconfig:8Kconfig.zephyr:25soc/arm/nxp_lpc/Kconfig.defconfig:4soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.series:18

Menu path: (Top)

config GPIO
    bool
    default n
    depends on SOC_LPC55S69_CPU1 && SOC_SERIES_LPC55XXX

At drivers/gpio/Kconfig:6

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:32

Menu path: (Top) → Device Drivers

menuconfig GPIO
    bool "GPIO Drivers"
    select HAS_DTS_GPIO
    help
      Include GPIO drivers in system config

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