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_SAM

Atmel SAM GPIO (PORT) driver

Type: bool

Help

Enable support for the Atmel SAM ‘PORT’ GPIO controllers.

Direct dependencies

(GPIO && BOARD_ARDUINO_DUE) || (GPIO && BOARD_SAM4E_XPRO) || (GPIO && SOC_SERIES_SAME70) || (GPIO && SOC_SERIES_SAMV71) || (SOC_FAMILY_SAM && GPIO)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

  • y

  • y

  • y

Kconfig definitions

At boards/arm/arduino_due/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config GPIO_SAM
    bool
    default y
    depends on GPIO && BOARD_ARDUINO_DUE

At boards/arm/sam4e_xpro/Kconfig.defconfig:11

Included via Kconfig:8Kconfig.zephyr:24

Menu path: (Top)

config GPIO_SAM
    bool
    default y
    depends on GPIO && BOARD_SAM4E_XPRO

At soc/arm/atmel_sam/same70/Kconfig.defconfig.series:51

Included via Kconfig:8Kconfig.zephyr:25soc/arm/atmel_sam/Kconfig.defconfig:6

Menu path: (Top)

config GPIO_SAM
    bool
    default y
    depends on GPIO && SOC_SERIES_SAME70

At soc/arm/atmel_sam/samv71/Kconfig.defconfig.series:52

Included via Kconfig:8Kconfig.zephyr:25soc/arm/atmel_sam/Kconfig.defconfig:6

Menu path: (Top)

config GPIO_SAM
    bool
    default y
    depends on GPIO && SOC_SERIES_SAMV71

At drivers/gpio/Kconfig.sam:6

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

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

config GPIO_SAM
    bool "Atmel SAM GPIO (PORT) driver"
    default y
    depends on SOC_FAMILY_SAM && GPIO
    help
      Enable support for the Atmel SAM 'PORT' GPIO controllers.

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