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:
parent
cc1a0f72de
commit
8834a8d47b
4 changed files with 42 additions and 0 deletions
28
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f446xe
Normal file
28
arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f446xe
Normal 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
|
|
@ -39,6 +39,9 @@ config SOC_STM32F417XG
|
||||||
config SOC_STM32F429XI
|
config SOC_STM32F429XI
|
||||||
bool "STM32F429XI"
|
bool "STM32F429XI"
|
||||||
|
|
||||||
|
config SOC_STM32F446XE
|
||||||
|
bool "STM32F446XE"
|
||||||
|
|
||||||
config SOC_STM32F469XI
|
config SOC_STM32F469XI
|
||||||
bool "STM32F469XI"
|
bool "STM32F469XI"
|
||||||
|
|
||||||
|
|
|
@ -75,6 +75,9 @@
|
||||||
#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)
|
||||||
#define DT_CCM_SIZE __SIZE_K(64)
|
#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)
|
#elif defined(CONFIG_SOC_STM32F469XI)
|
||||||
#define DT_FLASH_SIZE __SIZE_K(2048)
|
#define DT_FLASH_SIZE __SIZE_K(2048)
|
||||||
#define DT_SRAM_SIZE __SIZE_K(384)
|
#define DT_SRAM_SIZE __SIZE_K(384)
|
||||||
|
|
8
dts/arm/st/stm32f446.dtsi
Normal file
8
dts/arm/st/stm32f446.dtsi
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018 Philémon Jaermann
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <st/stm32f401.dtsi>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue