Add Kconfig selections for STM32-F4x1RE SPI peripheral
This commit is contained in:
parent
a835387529
commit
e73b64f5ea
@ -591,6 +591,7 @@ endchoice
|
||||
config STM32_STM32L15XX
|
||||
bool
|
||||
default n
|
||||
select STM32_HAVE_SPI3
|
||||
|
||||
config STM32_ENERGYLITE
|
||||
bool
|
||||
@ -607,6 +608,8 @@ config STM32_ENERGYLITE
|
||||
config STM32_STM32F10XX
|
||||
bool
|
||||
default n
|
||||
select STM32_HAVE_SPI2 if STM32_HIGHDENSITY || STM32_MEDIUMDENSITY
|
||||
select STM32_HAVE_SPI3 if STM32_HIGHDENSITY || STM32_MEDIUMDENSITY
|
||||
|
||||
config STM32_VALUELINE
|
||||
bool
|
||||
@ -625,6 +628,8 @@ config STM32_VALUELINE
|
||||
select STM32_HAVE_TIM16
|
||||
select STM32_HAVE_TIM17
|
||||
select STM32_HAVE_ADC2
|
||||
select STM32_HAVE_SPI2 if STM32_HIGHDENSITY
|
||||
select STM32_HAVE_SPI3 if STM32_HIGHDENSITY
|
||||
|
||||
config STM32_CONNECTIVITYLINE
|
||||
bool
|
||||
@ -642,6 +647,8 @@ config STM32_CONNECTIVITYLINE
|
||||
select STM32_HAVE_CAN1
|
||||
select STM32_HAVE_CAN2
|
||||
select STM32_HAVE_ETHMAC
|
||||
select STM32_HAVE_SPI2
|
||||
select STM32_HAVE_SPI3
|
||||
|
||||
config STM32_PERFORMANCELINE
|
||||
bool
|
||||
@ -733,6 +740,8 @@ config STM32_STM32F207
|
||||
select STM32_HAVE_CAN2
|
||||
select STM32_HAVE_RNG
|
||||
select STM32_HAVE_ETHMAC
|
||||
select STM32_HAVE_SPI2
|
||||
select STM32_HAVE_SPI3
|
||||
|
||||
config STM32_STM32F30XX
|
||||
bool
|
||||
@ -750,16 +759,20 @@ config STM32_STM32F30XX
|
||||
select STM32_HAVE_ADC3
|
||||
select STM32_HAVE_ADC4
|
||||
select STM32_HAVE_CAN1
|
||||
select STM32_HAVE_SPI2
|
||||
|
||||
config STM32_STM32F40XX
|
||||
bool
|
||||
default n
|
||||
select STM32_HAVE_OTGFS
|
||||
select STM32_HAVE_SPI2
|
||||
select STM32_HAVE_SPI3
|
||||
|
||||
config STM32_STM32F401
|
||||
bool
|
||||
default n
|
||||
select STM32_HAVE_USART6
|
||||
select STM32_HAVE_SPI3
|
||||
select STM32_HAVE_TIM1
|
||||
select STM32_HAVE_TIM5
|
||||
select STM32_HAVE_TIM9
|
||||
@ -770,6 +783,9 @@ config STM32_STM32F411
|
||||
bool
|
||||
default n
|
||||
select STM32_HAVE_USART6
|
||||
select STM32_HAVE_SPI3
|
||||
select STM32_HAVE_SPI4
|
||||
select STM32_HAVE_SPI5
|
||||
select STM32_HAVE_TIM1
|
||||
select STM32_HAVE_TIM5
|
||||
select STM32_HAVE_TIM9
|
||||
@ -858,6 +874,9 @@ config STM32_STM32F427
|
||||
select STM32_HAVE_CAN2
|
||||
select STM32_HAVE_RNG
|
||||
select STM32_HAVE_ETHMAC
|
||||
select STM32_HAVE_SPI3
|
||||
select STM32_HAVE_SPI4
|
||||
select STM32_HAVE_SPI5
|
||||
|
||||
# This is really 429/439, but we treat the two the same.
|
||||
config STM32_STM32F429
|
||||
@ -887,6 +906,9 @@ config STM32_STM32F429
|
||||
select STM32_HAVE_CAN2
|
||||
select STM32_HAVE_RNG
|
||||
select STM32_HAVE_ETHMAC
|
||||
select STM32_HAVE_SPI3
|
||||
select STM32_HAVE_SPI4
|
||||
select STM32_HAVE_SPI5
|
||||
|
||||
config STM32_DFU
|
||||
bool "DFU bootloader"
|
||||
@ -1025,6 +1047,22 @@ config STM32_HAVE_ETHMAC
|
||||
bool
|
||||
default n
|
||||
|
||||
config STM32_HAVE_SPI2
|
||||
bool
|
||||
default n
|
||||
|
||||
config STM32_HAVE_SPI3
|
||||
bool
|
||||
default n
|
||||
|
||||
config STM32_HAVE_SPI4
|
||||
bool
|
||||
default n
|
||||
|
||||
config STM32_HAVE_SPI5
|
||||
bool
|
||||
default n
|
||||
|
||||
# These are the peripheral selections proper
|
||||
|
||||
config STM32_ADC1
|
||||
@ -1204,28 +1242,28 @@ config STM32_SPI1
|
||||
config STM32_SPI2
|
||||
bool "SPI2"
|
||||
default n
|
||||
depends on STM32_CONNECTIVITYLINE || STM32_STM32F207 || STM32_STM32F40XX || (STM32_VALUELINE && STM32_HIGHDENSITY) || (STM32_STM32F10XX && (STM32_HIGHDENSITY || STM32_MEDIUMDENSITY)) || STM32_STM32F30XX
|
||||
depends on STM32_HAVE_SPI2
|
||||
select SPI
|
||||
select STM32_SPI
|
||||
|
||||
config STM32_SPI3
|
||||
bool "SPI3"
|
||||
default n
|
||||
depends on STM32_CONNECTIVITYLINE || STM32_STM32L15XX || STM32_STM32F207 || STM32_STM32F40XX || (STM32_VALUELINE && STM32_HIGHDENSITY) || (STM32_STM32F10XX && STM32_HIGHDENSITY)
|
||||
depends on STM32_HAVE_SPI3
|
||||
select SPI
|
||||
select STM32_SPI
|
||||
|
||||
config STM32_SPI4
|
||||
bool "SPI4"
|
||||
default n
|
||||
depends on STM32_STM32F427 || STM32_STM32F429
|
||||
depends on STM32_HAVE_SPI4
|
||||
select SPI
|
||||
select STM32_SPI
|
||||
|
||||
config STM32_SPI5
|
||||
bool "SPI5"
|
||||
default n
|
||||
depends on STM32_STM32F427 || STM32_STM32F429
|
||||
depends on STM32_HAVE_SPI5
|
||||
select SPI
|
||||
select STM32_SPI
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user