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:
Yong Jin 2018-07-04 21:55:14 +08:00 committed by Kumar Gala
commit 8776835bd6
4 changed files with 41 additions and 0 deletions

View 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

View file

@ -15,4 +15,7 @@ config SOC_STM32F723XE
config SOC_STM32F746XG
bool "STM32F746XG"
config SOC_STM32F769XI
bool "STM32F769XI"
endchoice

View file

@ -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)

View file

@ -0,0 +1,7 @@
/*
* Copyright (c) 2018 Yong Jin
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <st/stm32f746.dtsi>