diff --git a/arch/arm/include/stm32/chip.h b/arch/arm/include/stm32/chip.h index 12c90be7e9..ae2e44767a 100644 --- a/arch/arm/include/stm32/chip.h +++ b/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/arch/arm/src/stm32/Kconfig b/arch/arm/src/stm32/Kconfig index 6183d16add..61c78e2f2b 100644 --- a/arch/arm/src/stm32/Kconfig +++ b/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/arch/arm/src/stm32/chip.h b/arch/arm/src/stm32/chip.h index 4554a9c61f..87225ce0c8 100644 --- a/arch/arm/src/stm32/chip.h +++ b/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