summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-07 18:59:06 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-07 18:59:06 -0600
commit3531542145cc60792cf3f1134de9966a8313a7f6 (patch)
tree8b4641a052d6de684c16abccb0b5df4c9966a00f /nuttx/arch/arm/src
parentae389d6e72e8d50bd6188f7312ac10567dd26447 (diff)
downloadnuttx-3531542145cc60792cf3f1134de9966a8313a7f6.tar.gz
nuttx-3531542145cc60792cf3f1134de9966a8313a7f6.tar.bz2
nuttx-3531542145cc60792cf3f1134de9966a8313a7f6.zip
STM32 SPI: Clean-up asymmetric configuration of SPI6
Diffstat (limited to 'nuttx/arch/arm/src')
-rw-r--r--nuttx/arch/arm/src/stm32/Kconfig8
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig
index 3ea28b910..06852173f 100644
--- a/nuttx/arch/arm/src/stm32/Kconfig
+++ b/nuttx/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