soc: stm32: add support for stm32h743xx

Add support for STM32H743XX SoC series.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
Gerard Marull-Paretas 2020-02-28 04:44:24 -08:00 committed by Ioannis Glaropoulos
commit f2b93fae5a
3 changed files with 24 additions and 5 deletions

View file

@ -0,0 +1,14 @@
# ST STM32H743X MCU configuration options
# Copyright (c) 2020 Teslabs Engineering S.L.
# SPDX-License-Identifier: Apache-2.0
if SOC_STM32H743XX
config SOC
default "stm32h743xx"
config NUM_IRQS
default 150
endif # SOC_STM32H743XX

View file

@ -8,6 +8,11 @@ choice
prompt "STM32H7x MCU Selection"
depends on SOC_SERIES_STM32H7X
config SOC_STM32H743XX
bool "STM32H743XX"
select CPU_CORTEX_M7
select CPU_HAS_FPU_DOUBLE_PRECISION
config SOC_STM32H747XX
bool "STM32H747XX"
select CPU_HAS_FPU_DOUBLE_PRECISION if CPU_CORTEX_M7

View file

@ -7,15 +7,15 @@
#ifndef _STM32F7_SOC_H_
#define _STM32F7_SOC_H_
#include <sys/util.h>
#ifndef _ASMLANGUAGE
#include <autoconf.h>
#include <stm32h7xx.h>
/* ARM CMSIS definitions must be included before kernel_includes.h.
* Therefore, it is essential to include kernel_includes.h after including
* core SOC-specific headers.
*/
#include <kernel_includes.h>
/* Add include for DTS generated information */
#include <devicetree.h>
#ifdef CONFIG_STM32H7_DUAL_CORE