arm: support for stm32f417 SOC

Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
Erwin Rol 2017-08-05 11:02:45 +02:00 committed by Kumar Gala
parent f3aaa56e0a
commit 8e6ebdb090
5 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# Kconfig - ST STM32F417XE MCU configuration options
#
# Copyright (c) 2016 Linaro Limited.
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32F417XE
config SOC
string
default stm32f417xx
config NUM_IRQS
int
default 82
endif # SOC_STM32F417XE

View file

@ -0,0 +1,18 @@
# Kconfig - ST STM32F417XG MCU configuration options
#
# Copyright (c) 2016 Linaro Limited.
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32F417XG
config SOC
string
default stm32f417xx
config NUM_IRQS
int
default 82
endif # SOC_STM32F417XG

View file

@ -27,6 +27,12 @@ config SOC_STM32F412ZG
config SOC_STM32F413XH
bool "STM32F413XH"
config SOC_STM32F417XE
bool "STM32F417XE"
config SOC_STM32F417XG
bool "STM32F417XG"
config SOC_STM32F429XI
bool "STM32F429XI"

View file

@ -47,6 +47,12 @@
#elif defined(CONFIG_SOC_STM32F413XH)
#define DT_FLASH_SIZE __SIZE_K(1536)
#define DT_SRAM_SIZE __SIZE_K(320)
#elif defined(CONFIG_SOC_STM32F417XE)
#define DT_FLASH_SIZE __SIZE_K(512)
#define DT_SRAM_SIZE __SIZE_K(192)
#elif defined(CONFIG_SOC_STM32F417XG)
#define DT_FLASH_SIZE __SIZE_K(1024)
#define DT_SRAM_SIZE __SIZE_K(192)
#elif defined(CONFIG_SOC_STM32F429XI)
#define DT_FLASH_SIZE __SIZE_K(2048)
#define DT_SRAM_SIZE __SIZE_K(256)

View file

@ -0,0 +1,8 @@
/*
* Copyright (c) 2017 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <st/stm32f407.dtsi>