arch: arm: stm32: add basic support for STM32F723 SoC
The STM32F723 has more interrupts than the STM32F746 due to the additional SDMMC controller. Besides that the changes are very similar to the ones of the STM32F746. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
06ac62ed32
commit
6ee562b754
|
@ -0,0 +1,18 @@
|
||||||
|
# Kconfig - ST STM32F723XE MCU configuration options
|
||||||
|
#
|
||||||
|
# Copyright (c) 2018 Aurelien Jarno
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
#
|
||||||
|
|
||||||
|
if SOC_STM32F723XE
|
||||||
|
|
||||||
|
config SOC
|
||||||
|
string
|
||||||
|
default "stm32f723xx"
|
||||||
|
|
||||||
|
config NUM_IRQS
|
||||||
|
int
|
||||||
|
default 104
|
||||||
|
|
||||||
|
endif # SOC_STM32F723XE
|
|
@ -9,6 +9,9 @@ choice
|
||||||
prompt "STM32F7x MCU Selection"
|
prompt "STM32F7x MCU Selection"
|
||||||
depends on SOC_SERIES_STM32F7X
|
depends on SOC_SERIES_STM32F7X
|
||||||
|
|
||||||
|
config SOC_STM32F723XE
|
||||||
|
bool "STM32F723XE"
|
||||||
|
|
||||||
config SOC_STM32F746XG
|
config SOC_STM32F746XG
|
||||||
bool "STM32F746XG"
|
bool "STM32F746XG"
|
||||||
|
|
||||||
|
|
|
@ -85,6 +85,9 @@
|
||||||
#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)
|
||||||
#define DT_CCM_SIZE __SIZE_K(64)
|
#define DT_CCM_SIZE __SIZE_K(64)
|
||||||
|
#elif defined(CONFIG_SOC_STM32F723XE)
|
||||||
|
#define DT_FLASH_SIZE __SIZE_K(512)
|
||||||
|
#define DT_SRAM_SIZE __SIZE_K(256)
|
||||||
#elif defined(CONFIG_SOC_STM32F746XG)
|
#elif defined(CONFIG_SOC_STM32F746XG)
|
||||||
#define DT_FLASH_SIZE __SIZE_K(1024)
|
#define DT_FLASH_SIZE __SIZE_K(1024)
|
||||||
#define DT_SRAM_SIZE __SIZE_K(320)
|
#define DT_SRAM_SIZE __SIZE_K(320)
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018 Aurelien Jarno
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <st/stm32f7.dtsi>
|
Loading…
Reference in New Issue