summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-06 22:30:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-06 22:30:57 +0000
commitceef9e3bece69f86e585b3bf00e5009551350e2b (patch)
tree37ceee5fa56d32692bc5c804444ab9b78a5d1e61 /nuttx/arch/arm/src/stm32/Kconfig
parentf7b7532a4114b831f5ef66ed992d28e65fb3973f (diff)
downloadpx4-nuttx-ceef9e3bece69f86e585b3bf00e5009551350e2b.tar.gz
px4-nuttx-ceef9e3bece69f86e585b3bf00e5009551350e2b.tar.bz2
px4-nuttx-ceef9e3bece69f86e585b3bf00e5009551350e2b.zip
Beginnings of support for the STM32F3Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5616 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Kconfig')
-rw-r--r--nuttx/arch/arm/src/stm32/Kconfig80
1 files changed, 76 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig
index 41724be2d..2e29af14f 100644
--- a/nuttx/arch/arm/src/stm32/Kconfig
+++ b/nuttx/arch/arm/src/stm32/Kconfig
@@ -128,6 +128,66 @@ config ARCH_CHIP_STM32F207IG
select ARCH_CORTEXM3
select STM32_STM32F20XX
+config ARCH_CHIP_STM32F302CB
+ bool "STM32F302CB"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F302CC
+ bool "STM32F302CC"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F302RB
+ bool "STM32F302RB"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F302RC
+ bool "STM32F302RC"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F302VB
+ bool "STM32F302VB"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F302VC
+ bool "STM32F302VC"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F303CB
+ bool "STM32F303CB"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F303CC
+ bool "STM32F303CC"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F303RB
+ bool "STM32F303RB"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F303RC
+ bool "STM32F303RC"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F303VB
+ bool "STM32F303VB"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
+config ARCH_CHIP_STM32F303VC
+ bool "STM32F303VC"
+ select ARCH_CORTEXM4
+ select STM32_STM32F30XX
+
config ARCH_CHIP_STM32F405RG
bool "STM32F405RG"
select ARCH_CORTEXM4
@@ -190,6 +250,9 @@ config STM32_CONNECTIVITYLINE
config STM32_STM32F20XX
bool
+config STM32_STM32F30XX
+ bool
+
config STM32_STM32F40XX
bool
@@ -220,6 +283,12 @@ config STM32_ADC3
select STM32_ADC
depends on !STM32_VALUELINE
+config STM32_ADC4
+ bool "ADC4"
+ default n
+ select STM32_ADC
+ depends on STM32_STM32F30XX
+
config STM32_BKP
bool "BKP"
default n
@@ -441,17 +510,17 @@ config STM32_TIM14
config STM32_TIM15
bool "TIM15"
default n
- depends on STM32_VALUELINE
+ depends on STM32_VALUELINE || STM32_STM32F30XX
config STM32_TIM16
bool "TIM16"
default n
- depends on STM32_VALUELINE
+ depends on STM32_VALUELINE || STM32_STM32F30XX
config STM32_TIM17
bool "TIM17"
default n
- depends on STM32_VALUELINE
+ depends on STM32_VALUELINE || STM32_STM32F30XX
config STM32_USART1
bool "USART1"
@@ -468,18 +537,21 @@ config STM32_USART2
config STM32_USART3
bool "USART3"
default n
+ depends on !STM32_STM32F30XX
select ARCH_HAVE_USART3
select STM32_USART
config STM32_UART4
bool "UART4"
default n
+ depends on !STM32_STM32F30XX
select ARCH_HAVE_UART4
select STM32_USART
config STM32_UART5
bool "UART5"
default n
+ depends on !STM32_STM32F30XX
select ARCH_HAVE_UART5
select STM32_USART
@@ -493,7 +565,7 @@ config STM32_USART6
config STM32_USB
bool "USB Device"
default n
- depends on STM32_STM32F10XX && !STM32_VALUELINE
+ depends on (STM32_STM32F10XX && !STM32_VALUELINE) || STM32_STM32F30XX
select USBDEV
config STM32_WWDG