diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index 3ea28b9104..06852173f8 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/arch/arm/src/stm32/Kconfig @@ -904,6 +904,7 @@ config STM32_STM32F427 select STM32_HAVE_SPI3 select STM32_HAVE_SPI4 select STM32_HAVE_SPI5 + select STM32_HAVE_SPI6 # This is really 429/439, but we treat the two the same. config STM32_STM32F429 @@ -937,6 +938,7 @@ config STM32_STM32F429 select STM32_HAVE_SPI3 select STM32_HAVE_SPI4 select STM32_HAVE_SPI5 + select STM32_HAVE_SPI6 config STM32_DFU bool "DFU bootloader" @@ -1091,6 +1093,10 @@ config STM32_HAVE_SPI5 bool default n +config STM32_HAVE_SPI6 + bool + default n + # These are the peripheral selections proper config STM32_ADC1 @@ -1314,7 +1320,7 @@ config STM32_SPI5 config STM32_SPI6 bool "SPI6" default n - depends on STM32_STM32F427 || STM32_STM32F429 + depends on STM32_HAVE_SPI6 select SPI select STM32_SPI