mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
STM32 SPI: Clean-up asymmetric configuration of SPI6
This commit is contained in:
@@ -904,6 +904,7 @@ config STM32_STM32F427
|
|||||||
select STM32_HAVE_SPI3
|
select STM32_HAVE_SPI3
|
||||||
select STM32_HAVE_SPI4
|
select STM32_HAVE_SPI4
|
||||||
select STM32_HAVE_SPI5
|
select STM32_HAVE_SPI5
|
||||||
|
select STM32_HAVE_SPI6
|
||||||
|
|
||||||
# This is really 429/439, but we treat the two the same.
|
# This is really 429/439, but we treat the two the same.
|
||||||
config STM32_STM32F429
|
config STM32_STM32F429
|
||||||
@@ -937,6 +938,7 @@ config STM32_STM32F429
|
|||||||
select STM32_HAVE_SPI3
|
select STM32_HAVE_SPI3
|
||||||
select STM32_HAVE_SPI4
|
select STM32_HAVE_SPI4
|
||||||
select STM32_HAVE_SPI5
|
select STM32_HAVE_SPI5
|
||||||
|
select STM32_HAVE_SPI6
|
||||||
|
|
||||||
config STM32_DFU
|
config STM32_DFU
|
||||||
bool "DFU bootloader"
|
bool "DFU bootloader"
|
||||||
@@ -1091,6 +1093,10 @@ config STM32_HAVE_SPI5
|
|||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
config STM32_HAVE_SPI6
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
|
||||||
# These are the peripheral selections proper
|
# These are the peripheral selections proper
|
||||||
|
|
||||||
config STM32_ADC1
|
config STM32_ADC1
|
||||||
@@ -1314,7 +1320,7 @@ config STM32_SPI5
|
|||||||
config STM32_SPI6
|
config STM32_SPI6
|
||||||
bool "SPI6"
|
bool "SPI6"
|
||||||
default n
|
default n
|
||||||
depends on STM32_STM32F427 || STM32_STM32F429
|
depends on STM32_HAVE_SPI6
|
||||||
select SPI
|
select SPI
|
||||||
select STM32_SPI
|
select STM32_SPI
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user