drivers: spi: stm32: use Kconfig to select HAL/LL sources
Use "select USE_STM32_LL_SPI" to select the needed STM32 LL files, instead of editing ext/hal/st/stm32cube/CMakeLists.txt Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
parent
780c1efb9f
commit
23bb4e6101
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ config SPI_STM32
|
||||||
depends on SPI && SOC_FAMILY_STM32
|
depends on SPI && SOC_FAMILY_STM32
|
||||||
depends on SOC_SERIES_STM32L4X || SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F4X
|
depends on SOC_SERIES_STM32L4X || SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F4X
|
||||||
select HAS_DTS_SPI
|
select HAS_DTS_SPI
|
||||||
|
select USE_STM32_LL_SPI
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
Enable SPI support on the STM32 family of processors.
|
Enable SPI support on the STM32 family of processors.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue