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) || (SPI && SOC_FAMILY_STM32 && SPI)

(Includes any dependencies from if’s and menus.)

Defaults

Symbols selected by this symbol

Kconfig definitions

At arch/arm/soc/st_stm32/common/Kconfig.defconfig.series:56

Included via Kconfig:10Kconfig.zephyr:20arch/arm/soc/st_stm32/Kconfig.defconfig:1

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:29drivers/Kconfig:38drivers/spi/Kconfig:261

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

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

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