This is the documentation for the latest (main) 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 if n

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • y

  • n

  • y

Symbols selected by this symbol

Kconfig definitions

At boards/shields/adafruit_2_8_tft_touch_v2/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:20

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2

At boards/arm/arty/Kconfig.defconfig:28

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config GPIO
    bool
    default y if n
    depends on BOARD_ARTY_A7_ARM_DESIGNSTART_M1 || BOARD_ARTY_A7_ARM_DESIGNSTART_M3

At boards/shields/adafruit_2_8_tft_touch_v2/Kconfig.defconfig:6

Included via Kconfig:8Kconfig.zephyr:22

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SHIELD_ADAFRUIT_2_8_TFT_TOUCH_V2

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

Included via Kconfig:8Kconfig.zephyr:27soc/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/microchip_mec/mec172x/Kconfig.defconfig.mec172xnsz:15

Included via Kconfig:8Kconfig.zephyr:27soc/arm/microchip_mec/Kconfig.defconfig:3soc/arm/microchip_mec/mec172x/Kconfig.defconfig.series:17

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MEC172X_NSZ && SOC_SERIES_MEC172X

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

Included via Kconfig:8Kconfig.zephyr:27

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:27soc/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:27soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:155

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:27soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:155

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:27soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:155

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1021 && SOC_SERIES_IMX_RT

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

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:155

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1024 && SOC_SERIES_IMX_RT

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

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:155

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:27soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:155

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:27soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:155

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1064 && SOC_SERIES_IMX_RT

At soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1176_cm4:14

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:155

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1176_CM4 && SOC_SERIES_IMX_RT

At soc/arm/nxp_imx/rt/Kconfig.defconfig.mimxrt1176_cm7:14

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nxp_imx/Kconfig.defconfig:4soc/arm/nxp_imx/rt/Kconfig.defconfig.series:155

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_MIMXRT1176_CM7 && SOC_SERIES_IMX_RT

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

Included via Kconfig:8Kconfig.zephyr:27soc/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:27soc/arm/nxp_kinetis/Kconfig.defconfig:3soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.series:26

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:27soc/arm/nxp_kinetis/Kconfig.defconfig:3soc/arm/nxp_kinetis/k6x/Kconfig.defconfig.series:26

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:27soc/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:71

Included via Kconfig:8Kconfig.zephyr:27soc/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:27soc/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:27soc/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:27soc/arm/nxp_lpc/Kconfig.defconfig:4soc/arm/nxp_lpc/lpc55xxx/Kconfig.defconfig.series:18

Menu path: (Top)

config GPIO
    bool
    default y
    depends on SOC_LPC55S69_CPU1 && SOC_SERIES_LPC55XXX

At drivers/gpio/Kconfig:6

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:34

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.)