From 48e6f0ba780c1b0a69321b5bfade1d787460155b Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 30 Jun 2014 08:09:19 -0600 Subject: [PATCH] STM32: Move temperature ranges from chip selection configuration prompts. From Kosma Moczek --- arch/arm/include/stm32/chip.h | 2 +- arch/arm/src/stm32/Kconfig | 15 +++++++++++---- arch/arm/src/stm32/chip.h | 5 +++-- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/arch/arm/include/stm32/chip.h b/arch/arm/include/stm32/chip.h index 5a2486da52..b8b14679fd 100644 --- a/arch/arm/include/stm32/chip.h +++ b/arch/arm/include/stm32/chip.h @@ -685,7 +685,7 @@ * differ only in the available FLASH and SRAM. */ -#elif defined(CONFIG_ARCH_CHIP_STM32F103RE) +#elif defined(CONFIG_ARCH_CHIP_STM32F103RD) || defined(CONFIG_ARCH_CHIP_STM32F103RE) # undef CONFIG_STM32_STM32L15XX /* STM32L151xx and STM32L152xx family */ # undef CONFIG_STM32_ENERGYLITE /* STM32L EnergyLite family */ # define CONFIG_STM32_STM32F10XX 1 /* STM32F10xxx family */ diff --git a/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index 47d3a93b43..13ec016a72 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/arch/arm/src/stm32/Kconfig @@ -321,29 +321,36 @@ config ARCH_CHIP_STM32F103VB select STM32_PERFORMANCELINE select STM32_MEDIUMDENSITY +config ARCH_CHIP_STM32F103RD + bool "STM32F103RD" + select ARCH_CORTEXM3 + select STM32_STM32F10XX + select STM32_PERFORMANCELINE + select STM32_HIGHDENSITY + config ARCH_CHIP_STM32F103RE - bool "STM32F103RET6" + bool "STM32F103RE" select ARCH_CORTEXM3 select STM32_STM32F10XX select STM32_PERFORMANCELINE select STM32_HIGHDENSITY config ARCH_CHIP_STM32F103VC - bool "STM32F103VCT6" + bool "STM32F103VC" select ARCH_CORTEXM3 select STM32_STM32F10XX select STM32_PERFORMANCELINE select STM32_HIGHDENSITY config ARCH_CHIP_STM32F103VE - bool "STM32F103VET6" + bool "STM32F103VE" select ARCH_CORTEXM3 select STM32_STM32F10XX select STM32_PERFORMANCELINE select STM32_HIGHDENSITY config ARCH_CHIP_STM32F103ZE - bool "STM32F103ZET6" + bool "STM32F103ZE" select ARCH_CORTEXM3 select STM32_STM32F10XX select STM32_PERFORMANCELINE diff --git a/arch/arm/src/stm32/chip.h b/arch/arm/src/stm32/chip.h index 6d304ad122..40c6a3a05d 100644 --- a/arch/arm/src/stm32/chip.h +++ b/arch/arm/src/stm32/chip.h @@ -80,8 +80,9 @@ * only in the available FLASH and SRAM. */ -# elif defined(CONFIG_ARCH_CHIP_STM32F103RE) || \ - defined(CONFIG_ARCH_CHIP_STM32F103RB) +# elif defined(CONFIG_ARCH_CHIP_STM32F103RB) || \ + defined(CONFIG_ARCH_CHIP_STM32F103RD) || \ + defined(CONFIG_ARCH_CHIP_STM32F103RE) # include "chip/stm32f103r_pinmap.h" /* STM32F103VC, STM32F103VD, and STM32F103VE are all provided in 100 pin packages and differ