arm: stm32f446: Add support for stm32f446 SoC

Support for stm32f446xe SoC

Signed-off-by: Philémon Jaermann <p.jaermann@gmail.com>
This commit is contained in:
Philémon Jaermann 2018-03-05 17:45:09 +01:00 committed by Kumar Gala
commit 8834a8d47b
4 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,28 @@
# Kconfig - ST STM32F446XE MCU configuration options
#
# Copyright (c) 2018 Philémon Jaermann.
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_STM32F446XE
config SOC
string
default stm32f446xx
config NUM_IRQS
int
default 96
if GPIO_STM32
config GPIO_STM32_PORTE
default n
config GPIO_STM32_PORTH
default n
endif # GPIO_STM32
endif # SOC_STM32F446XE

View file

@ -39,6 +39,9 @@ config SOC_STM32F417XG
config SOC_STM32F429XI
bool "STM32F429XI"
config SOC_STM32F446XE
bool "STM32F446XE"
config SOC_STM32F469XI
bool "STM32F469XI"

View file

@ -75,6 +75,9 @@
#define DT_FLASH_SIZE __SIZE_K(2048)
#define DT_SRAM_SIZE __SIZE_K(256)
#define DT_CCM_SIZE __SIZE_K(64)
#elif defined(CONFIG_SOC_STM32F446XE)
#define DT_FLASH_SIZE __SIZE_K(512)
#define DT_SRAM_SIZE __SIZE_K(128)
#elif defined(CONFIG_SOC_STM32F469XI)
#define DT_FLASH_SIZE __SIZE_K(2048)
#define DT_SRAM_SIZE __SIZE_K(384)

View file

@ -0,0 +1,8 @@
/*
* Copyright (c) 2018 Philémon Jaermann
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <st/stm32f401.dtsi>