arm: support for stm32f405 SOC
Signed-off-by: Erwin Rol <erwin@erwinrol.com>
This commit is contained in:
parent
5930e9d02d
commit
57746488d4
4 changed files with 32 additions and 0 deletions
18
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f405xx
Normal file
18
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f405xx
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Kconfig - ST STM32F405XX MCU configuration options
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 Linaro Limited.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
if SOC_STM32F405XG
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
string
|
||||||
|
default stm32f405xx
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
int
|
||||||
|
default 82
|
||||||
|
|
||||||
|
endif # SOC_STM32F405XG
|
|
@ -12,6 +12,9 @@ depends on SOC_SERIES_STM32F4X
|
||||||
config SOC_STM32F401XE
|
config SOC_STM32F401XE
|
||||||
bool "STM32F401XE"
|
bool "STM32F401XE"
|
||||||
|
|
||||||
|
config SOC_STM32F405XG
|
||||||
|
bool "STM32F405XG"
|
||||||
|
|
||||||
config SOC_STM32F407XG
|
config SOC_STM32F407XG
|
||||||
bool "STM32F407XG"
|
bool "STM32F407XG"
|
||||||
|
|
||||||
|
|
|
@ -32,6 +32,9 @@
|
||||||
#elif defined(CONFIG_SOC_STM32F401XE)
|
#elif defined(CONFIG_SOC_STM32F401XE)
|
||||||
#define DT_FLASH_SIZE __SIZE_K(512)
|
#define DT_FLASH_SIZE __SIZE_K(512)
|
||||||
#define DT_SRAM_SIZE __SIZE_K(96)
|
#define DT_SRAM_SIZE __SIZE_K(96)
|
||||||
|
#elif defined(CONFIG_SOC_STM32F405XG)
|
||||||
|
#define DT_FLASH_SIZE __SIZE_K(1024)
|
||||||
|
#define DT_SRAM_SIZE __SIZE_K(192)
|
||||||
#elif defined(CONFIG_SOC_STM32F407XG)
|
#elif defined(CONFIG_SOC_STM32F407XG)
|
||||||
#define DT_FLASH_SIZE __SIZE_K(1024)
|
#define DT_FLASH_SIZE __SIZE_K(1024)
|
||||||
#define DT_SRAM_SIZE __SIZE_K(192)
|
#define DT_SRAM_SIZE __SIZE_K(192)
|
||||||
|
|
8
dts/arm/st/stm32f405.dtsi
Normal file
8
dts/arm/st/stm32f405.dtsi
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2017 Erwin Rol <erwin@erwinrol.com>
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <st/stm32f407.dtsi>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue