soc: stm32f407xg: rename SOC config flag

Rename SOC_STM32F407XX to SOC_STM32F407XG to keep flash
size information.
Aim is to be able to distinguish flash size variants of
the SoC when needed (for instance in dts/arm/st/mem.h file).

Change-Id: I0afa16e86b7c99b9e685004f96beeb888f9e7568
Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2017-05-10 14:01:18 +02:00 committed by Anas Nashif
commit 8986f33559
3 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32F407XX
if SOC_STM32F407XG
config SOC
string
@ -15,4 +15,4 @@ config NUM_IRQS
int
default 82
endif # SOC_STM32F407XX
endif # SOC_STM32F407XG

View file

@ -12,7 +12,7 @@ depends on SOC_SERIES_STM32F4X
config SOC_STM32F401XE
bool "STM32F401XE"
config SOC_STM32F407XX
config SOC_STM32F407XG
bool "STM32F407XX"
config SOC_STM32F411XE

View file

@ -24,7 +24,7 @@
#elif defined(CONFIG_SOC_STM32F401XE)
#define DT_FLASH_SIZE __SIZE_K(512)
#define DT_SRAM_SIZE __SIZE_K(96)
#elif defined(CONFIG_SOC_STM32F407XX)
#elif defined(CONFIG_SOC_STM32F407XG)
#define DT_FLASH_SIZE __SIZE_K(1024)
#define DT_SRAM_SIZE __SIZE_K(192)
#elif defined(CONFIG_SOC_STM32F411XE)