The latest development version of this page may be more current than this released 1.14.0 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 if’s and menus.)

Defaults

Symbols selected by this symbol

Kconfig definitions

At soc/arm/st_stm32/common/Kconfig.defconfig.series:58

Included via Kconfig:10Kconfig.zephyr:23soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (top menu)

config SPI_STM32
    bool
    default "y" if SPI && SOC_FAMILY_STM32
    depends on SPI && SOC_FAMILY_STM32

At drivers/spi/Kconfig.stm32:9

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:36drivers/spi/Kconfig:191

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

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

(Definitions include propagated dependencies, including from if’s and menus.)