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

CONFIG_SPI_STM32

STM32 MCU SPI controller driver

Type: bool

Help

Enable SPI support on the STM32 family of processors.

Direct dependencies

(SPI && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && SPI)

(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:47

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

Menu path: (Top)

config SPI_STM32
    bool
    default y
    depends on SPI && SOC_FAMILY_STM32

At drivers/spi/Kconfig.stm32:6

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:40drivers/spi/Kconfig:46

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

menuconfig SPI_STM32
    bool "STM32 MCU SPI controller driver"
    select USE_STM32_LL_SPI
    depends on SOC_FAMILY_STM32 && SPI
    help
      Enable SPI support on the STM32 family of processors.

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