mirror of
https://github.com/apache/nuttx.git
synced 2026-08-31 14:13:04 +00:00
STM32 SPI: Clean-up asymmetric configuration of SPI6
This commit is contained in:
parent
706f01b8a2
commit
b2ed249b42
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue