summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-05-28 14:09:44 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-05-28 14:09:44 -0600
commit8c14df6650929d13900c29d4ebfac8f98af27fde (patch)
tree0d16811d4a71b940b960a0ac620b572c6c6665e0 /nuttx/arch/arm/src/stm32/Kconfig
parent1a74256ee53b36e73f0d2afa4d9e8b7199be2a10 (diff)
downloadpx4-nuttx-8c14df6650929d13900c29d4ebfac8f98af27fde.tar.gz
px4-nuttx-8c14df6650929d13900c29d4ebfac8f98af27fde.tar.bz2
px4-nuttx-8c14df6650929d13900c29d4ebfac8f98af27fde.zip
STM32F103C4 and F103C8 chip support from Laurent Latil
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Kconfig')
-rw-r--r--nuttx/arch/arm/src/stm32/Kconfig34
1 files changed, 32 insertions, 2 deletions
diff --git a/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig
index 5420f7138..d495a5ad1 100644
--- a/nuttx/arch/arm/src/stm32/Kconfig
+++ b/nuttx/arch/arm/src/stm32/Kconfig
@@ -241,28 +241,46 @@ config ARCH_CHIP_STM32F100VE
select STM32_VALUELINE
select STM32_HIGHDENSITY
+config ARCH_CHIP_STM32F103C4
+ bool "STM32F103C4"
+ select ARCH_CORTEXM3
+ select STM32_STM32F10XX
+ select STM32_PERFORMANCELINE
+ select STM32_LOWDENSITY
+
+config ARCH_CHIP_STM32F103C8
+ bool "STM32F103C8"
+ select ARCH_CORTEXM3
+ select STM32_STM32F10XX
+ select STM32_PERFORMANCELINE
+ select STM32_MEDIUMDENSITY
+
config ARCH_CHIP_STM32F103RET6
bool "STM32F103RET6"
select ARCH_CORTEXM3
select STM32_STM32F10XX
+ select STM32_PERFORMANCELINE
select STM32_HIGHDENSITY
config ARCH_CHIP_STM32F103VCT6
bool "STM32F103VCT6"
select ARCH_CORTEXM3
select STM32_STM32F10XX
+ select STM32_PERFORMANCELINE
select STM32_HIGHDENSITY
config ARCH_CHIP_STM32F103VET6
bool "STM32F103VET6"
select ARCH_CORTEXM3
select STM32_STM32F10XX
+ select STM32_PERFORMANCELINE
select STM32_HIGHDENSITY
config ARCH_CHIP_STM32F103ZET6
bool "STM32F103ZET6"
select ARCH_CORTEXM3
select STM32_STM32F10XX
+ select STM32_PERFORMANCELINE
select STM32_HIGHDENSITY
config ARCH_CHIP_STM32F105VBT7
@@ -423,11 +441,21 @@ config STM32_VALUELINE
bool
default n
+config STM32_CONNECTIVITYLINE
+ bool
+
+config STM32_PERFORMANCELINE
+ bool
+
config STM32_HIGHDENSITY
bool
default n
-config STM32_CONNECTIVITYLINE
+config STM32_MEDIUMDENSITY
+ bool
+ default n
+
+config STM32_LOWDENSITY
bool
default n
@@ -578,6 +606,7 @@ config STM32_I2C1
config STM32_I2C2
bool "I2C2"
default n
+ depends on !(STM32_STM32F10XX && STM32_LOWDENSITY)
select STM32_I2C
config STM32_I2C3
@@ -620,13 +649,14 @@ config STM32_SPI1
config STM32_SPI2
bool "SPI2"
default n
+ depends on STM32_CONNECTIVITYLINE || STM32_STM32F20XX || STM32_STM32F40XX || (STM32_VALUELINE && STM32_HIGHDENSITY) || (STM32_STM32F10XX && (STM32_HIGHDENSITY || STM32_MEDIUMDENSITY))
select SPI
select STM32_SPI
config STM32_SPI3
bool "SPI3"
default n
- depends on STM32_CONNECTIVITYLINE || STM32_STM32L15XX || STM32_STM32F20XX || STM32_STM32F40XX || (STM32_VALUELINE && STM32_HIGHDENSITY)
+ depends on STM32_CONNECTIVITYLINE || STM32_STM32L15XX || STM32_STM32F20XX || STM32_STM32F40XX || (STM32_VALUELINE && STM32_HIGHDENSITY) || (STM32_STM32F10XX && STM32_HIGHDENSITY)
select SPI
select STM32_SPI