stm32f4: Add support for STM32F469XI
Add configuration, dtsi and memory configuration fixup for the STM32F469XI High Performance SoC. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
721919a61d
commit
2ea6300f21
5 changed files with 35 additions and 0 deletions
18
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f469xi
Normal file
18
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f469xi
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Kconfig - ST STM32F469XI MCU configuration options
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 Linaro Limited.
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
if SOC_STM32F469XI
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
string
|
||||||
|
default stm32f469xx
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
int
|
||||||
|
default 93
|
||||||
|
|
||||||
|
endif # SOC_STM32F469XI
|
|
@ -24,6 +24,9 @@ config SOC_STM32F413XH
|
||||||
config SOC_STM32F429XI
|
config SOC_STM32F429XI
|
||||||
bool "STM32F429XI"
|
bool "STM32F429XI"
|
||||||
|
|
||||||
|
config SOC_STM32F469XI
|
||||||
|
bool "STM32F469XI"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config STM32_ARM_MPU_ENABLE
|
config STM32_ARM_MPU_ENABLE
|
||||||
|
|
|
@ -63,6 +63,10 @@
|
||||||
#define REGION_SRAM_0_SIZE REGION_128K
|
#define REGION_SRAM_0_SIZE REGION_128K
|
||||||
#define REGION_SRAM_1_START 0x20000
|
#define REGION_SRAM_1_START 0x20000
|
||||||
#define REGION_SRAM_1_SIZE REGION_128K
|
#define REGION_SRAM_1_SIZE REGION_128K
|
||||||
|
#elif CONFIG_SRAM_SIZE == 384
|
||||||
|
#define REGION_SRAM_0_SIZE REGION_256K
|
||||||
|
#define REGION_SRAM_1_START 0x40000
|
||||||
|
#define REGION_SRAM_1_SIZE REGION_128K
|
||||||
#else
|
#else
|
||||||
#error "Unsupported configuration"
|
#error "Unsupported configuration"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -36,6 +36,9 @@
|
||||||
#elif defined(CONFIG_SOC_STM32F429XI)
|
#elif defined(CONFIG_SOC_STM32F429XI)
|
||||||
#define DT_FLASH_SIZE __SIZE_K(2048)
|
#define DT_FLASH_SIZE __SIZE_K(2048)
|
||||||
#define DT_SRAM_SIZE __SIZE_K(256)
|
#define DT_SRAM_SIZE __SIZE_K(256)
|
||||||
|
#elif defined(CONFIG_SOC_STM32F469XI)
|
||||||
|
#define DT_FLASH_SIZE __SIZE_K(2048)
|
||||||
|
#define DT_SRAM_SIZE __SIZE_K(384)
|
||||||
#elif defined(CONFIG_SOC_STM32L475XG)
|
#elif defined(CONFIG_SOC_STM32L475XG)
|
||||||
#define DT_FLASH_SIZE __SIZE_K(1024)
|
#define DT_FLASH_SIZE __SIZE_K(1024)
|
||||||
#define DT_SRAM_SIZE __SIZE_K(96)
|
#define DT_SRAM_SIZE __SIZE_K(96)
|
||||||
|
|
7
dts/arm/st/stm32f469.dtsi
Normal file
7
dts/arm/st/stm32f469.dtsi
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2017 Linaro Limited
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <st/stm32f4.dtsi>
|
Loading…
Add table
Add a link
Reference in a new issue