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_SPI_SAM0

Atmel SAM0 series SERCOM SPI driver

Type: bool

Help

Enable support for the SAM0 SERCOM SPI driver.

Direct dependencies

SOC_FAMILY_SAM0 || (SOC_FAMILY_SAM0 && SPI)

(Includes any dependencies from ifs and menus.)

Defaults

Symbols selected by this symbol

Kconfig definitions

At soc/arm/atmel_sam0/common/Kconfig.defconfig.series:35

Included via Kconfig:8Kconfig.zephyr:25doc/_build/Kconfig/Kconfig.soc.defconfig:1soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config SPI_SAM0
    bool
    default SPI
    depends on SOC_FAMILY_SAM0

At drivers/spi/Kconfig.sam0:6

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:36drivers/spi/Kconfig:206

Menu path: (Top) → Device Drivers → SPI hardware bus support

config SPI_SAM0
    bool "Atmel SAM0 series SERCOM SPI driver"
    default y
    select DMA if SPI_ASYNC
    depends on SOC_FAMILY_SAM0 && SPI
    help
      Enable support for the SAM0 SERCOM SPI driver.

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