arch: arm: stm32: add basic support for STM32F769 SoC
The STM32F769 has more interrupts and features than the STM32F746, but the basic support is similar with STM32F746 Signed-off-by: Yong Jin <jinyong.iot@foxmail.com>
This commit is contained in:
parent
5aaf827a3e
commit
8776835bd6
4 changed files with 41 additions and 0 deletions
28
arch/arm/soc/st_stm32/stm32f7/Kconfig.defconfig.stm32f769xi
Normal file
28
arch/arm/soc/st_stm32/stm32f7/Kconfig.defconfig.stm32f769xi
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Kconfig - ST STM32F769XI MCU configuration options
|
||||
#
|
||||
# Copyright (c) 2018 Yong Jin
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
if SOC_STM32F769XI
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "stm32f769xx"
|
||||
|
||||
if GPIO_STM32
|
||||
|
||||
config GPIO_STM32_PORTJ
|
||||
default y
|
||||
|
||||
config GPIO_STM32_PORTK
|
||||
default y
|
||||
|
||||
endif # GPIO_STM32
|
||||
|
||||
config NUM_IRQS
|
||||
int
|
||||
default 110
|
||||
|
||||
endif # SOC_STM32F769XI
|
|
@ -15,4 +15,7 @@ config SOC_STM32F723XE
|
|||
config SOC_STM32F746XG
|
||||
bool "STM32F746XG"
|
||||
|
||||
config SOC_STM32F769XI
|
||||
bool "STM32F769XI"
|
||||
|
||||
endchoice
|
||||
|
|
|
@ -97,6 +97,9 @@
|
|||
#elif defined(CONFIG_SOC_STM32F746XG)
|
||||
#define DT_FLASH_SIZE __SIZE_K(1024)
|
||||
#define DT_SRAM_SIZE __SIZE_K(320)
|
||||
#elif defined(CONFIG_SOC_STM32F769XI)
|
||||
#define DT_FLASH_SIZE __SIZE_K(2048)
|
||||
#define DT_SRAM_SIZE __SIZE_K(512)
|
||||
#elif defined(CONFIG_SOC_STM32L053X8)
|
||||
#define DT_FLASH_SIZE __SIZE_K(64)
|
||||
#define DT_SRAM_SIZE __SIZE_K(8)
|
||||
|
|
7
dts/arm/st/stm32f769.dtsi
Normal file
7
dts/arm/st/stm32f769.dtsi
Normal file
|
@ -0,0 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2018 Yong Jin
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <st/stm32f746.dtsi>
|
Loading…
Add table
Add a link
Reference in a new issue