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:
parent
677d51d5f9
commit
f2b93fae5a
3 changed files with 24 additions and 5 deletions
14
soc/arm/st_stm32/stm32h7/Kconfig.defconfig.stm32h743xx
Normal file
14
soc/arm/st_stm32/stm32h7/Kconfig.defconfig.stm32h743xx
Normal 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
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue