From 475bd0191ba811d08b2ded271d197aec17dc6701 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 10 Nov 2014 07:23:09 -0600 Subject: Support for the STM32F103RG. From Murilo Ponte --- nuttx/arch/arm/include/stm32/chip.h | 2 +- nuttx/arch/arm/src/stm32/Kconfig | 7 +++++++ nuttx/arch/arm/src/stm32/chip.h | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) (limited to 'nuttx') diff --git a/nuttx/arch/arm/include/stm32/chip.h b/nuttx/arch/arm/include/stm32/chip.h index 12c90be7e..ae2e44767 100644 --- a/nuttx/arch/arm/include/stm32/chip.h +++ b/nuttx/arch/arm/include/stm32/chip.h @@ -685,7 +685,7 @@ */ #elif defined(CONFIG_ARCH_CHIP_STM32F103RC) || defined(CONFIG_ARCH_CHIP_STM32F103RD) || \ - defined(CONFIG_ARCH_CHIP_STM32F103RE) + defined(CONFIG_ARCH_CHIP_STM32F103RE) || defined(CONFIG_ARCH_CHIP_STM32F103RG) # 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/nuttx/arch/arm/src/stm32/Kconfig b/nuttx/arch/arm/src/stm32/Kconfig index 6183d16ad..61c78e2f2 100644 --- a/nuttx/arch/arm/src/stm32/Kconfig +++ b/nuttx/arch/arm/src/stm32/Kconfig @@ -321,6 +321,13 @@ config ARCH_CHIP_STM32F103RE select STM32_PERFORMANCELINE select STM32_HIGHDENSITY +config ARCH_CHIP_STM32F103RG + bool "STM32F103RG" + select ARCH_CORTEXM3 + select STM32_STM32F10XX + select STM32_PERFORMANCELINE + select STM32_HIGHDENSITY + config ARCH_CHIP_STM32F103V8 bool "STM32F103V8" select ARCH_CORTEXM3 diff --git a/nuttx/arch/arm/src/stm32/chip.h b/nuttx/arch/arm/src/stm32/chip.h index 4554a9c61..87225ce0c 100644 --- a/nuttx/arch/arm/src/stm32/chip.h +++ b/nuttx/arch/arm/src/stm32/chip.h @@ -83,7 +83,8 @@ # elif defined(CONFIG_ARCH_CHIP_STM32F103RB) || \ defined(CONFIG_ARCH_CHIP_STM32F103RC) || \ defined(CONFIG_ARCH_CHIP_STM32F103RD) || \ - defined(CONFIG_ARCH_CHIP_STM32F103RE) + defined(CONFIG_ARCH_CHIP_STM32F103RE) || \ + defined(CONFIG_ARCH_CHIP_STM32F103RG) # include "chip/stm32f103r_pinmap.h" /* STM32F103VC, STM32F103VD, and STM32F103VE are all provided in 100 pin packages and differ -- cgit v1.2.3