arm: support for stm32f417 SOC
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
parent
f3aaa56e0a
commit
8e6ebdb090
19
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f417xe
Normal file
19
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f417xe
Normal 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
|
||||
|
18
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f417xg
Normal file
18
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f417xg
Normal 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
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
8
dts/arm/st/stm32f417.dtsi
Normal file
8
dts/arm/st/stm32f417.dtsi
Normal file
|
@ -0,0 +1,8 @@
|
|||
/*
|
||||
* Copyright (c) 2017 Linaro Limited
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <st/stm32f407.dtsi>
|
||||
|
Loading…
Reference in a new issue