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:
Neil Armstrong 2017-05-17 15:56:57 +02:00 committed by Anas Nashif
commit 2ea6300f21
5 changed files with 35 additions and 0 deletions

View 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

View file

@ -24,6 +24,9 @@ config SOC_STM32F413XH
config SOC_STM32F429XI
bool "STM32F429XI"
config SOC_STM32F469XI
bool "STM32F469XI"
endchoice
config STM32_ARM_MPU_ENABLE

View file

@ -63,6 +63,10 @@
#define REGION_SRAM_0_SIZE REGION_128K
#define REGION_SRAM_1_START 0x20000
#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
#error "Unsupported configuration"
#endif

View file

@ -36,6 +36,9 @@
#elif defined(CONFIG_SOC_STM32F429XI)
#define DT_FLASH_SIZE __SIZE_K(2048)
#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)
#define DT_FLASH_SIZE __SIZE_K(1024)
#define DT_SRAM_SIZE __SIZE_K(96)

View file

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