spi: spi_ll_stm32: Add support for STM32F0

Add support for STM32F0 similar to STM32F3 and STM32L4

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
Neil Armstrong 2017-09-11 15:01:44 +02:00 committed by Anas Nashif
commit 7caa56f608
2 changed files with 15 additions and 4 deletions

View file

@ -54,11 +54,17 @@ config SPI_STM32
bool
prompt "STM32 MCU SPI controller driver"
depends on SPI && SOC_FAMILY_STM32
depends on SOC_SERIES_STM32L4X || SOC_SERIES_STM32F4X || SOC_SERIES_STM32F3X
depends on SOC_SERIES_STM32L4X || SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X || SOC_SERIES_STM32F4X
default n
help
Enable SPI support on the STM32 family of processors.
config SPI_STM32_HAS_FIFO
bool
depends on SPI_STM32
depends on SOC_SERIES_STM32L4X || SOC_SERIES_STM32F0X || SOC_SERIES_STM32F3X
default y
config SPI_STM32_INTERRUPT
bool
prompt "STM32 MCU SPI Interrupt Support"