From d2d9bd4aee41d2c1b439599ad15ab2cf30973c1c Mon Sep 17 00:00:00 2001 From: Vincenzo Calabretta Date: Wed, 11 Dec 2024 12:15:37 +0100 Subject: [PATCH] bsp/stm32h7: Add nucleo-h753zi BSP variant Support the NUCLEO-H753ZI development board from STMicroelectronics. --- .../bsps/arm/stm32h7/bspnucleoh753zi.yml | 25 +++++++++++++++++++ .../bsps/arm/stm32h7/optethgpiobregs.yml | 1 + spec/build/bsps/arm/stm32h7/opthse.yml | 1 + spec/build/bsps/arm/stm32h7/optlinkcmds.yml | 1 + .../bsps/arm/stm32h7/optprintkinstance.yml | 1 + .../bsps/arm/stm32h7/optusart2gpiopins.yml | 3 ++- .../bsps/arm/stm32h7/optusart2gpioregs.yml | 4 ++- 7 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 spec/build/bsps/arm/stm32h7/bspnucleoh753zi.yml diff --git a/spec/build/bsps/arm/stm32h7/bspnucleoh753zi.yml b/spec/build/bsps/arm/stm32h7/bspnucleoh753zi.yml new file mode 100644 index 0000000000..d114b82371 --- /dev/null +++ b/spec/build/bsps/arm/stm32h7/bspnucleoh753zi.yml @@ -0,0 +1,25 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +arch: arm +bsp: nucleo-h753zi +build-type: bsp +cflags: [] +copyrights: +- Copyright (C) 2024 embedded brains GmbH & Co. KG +cppflags: [] +enabled-by: true +family: stm32h7 +includes: [] +install: [] +links: +- role: build-dependency + uid: grp +- role: build-dependency + uid: tststm32h757i-eval +source: +- bsps/arm/stm32h7/boards/stm/nucleo-h743zi/stm32h7-bspstarthooks.c +- bsps/arm/stm32h7/boards/stm/nucleo-h743zi/stm32h7-config-clk.c +- bsps/arm/stm32h7/boards/stm/nucleo-h743zi/stm32h7-config-osc.c +- bsps/arm/stm32h7/boards/stm/nucleo-h743zi/stm32h7-config-per.c +- bsps/arm/stm32h7/boards/stm/nucleo-h743zi/system_stm32h7xx.c +- bsps/arm/shared/cache/cache-v7m.c +type: build diff --git a/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml b/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml index 2941449fa4..a2a319f861 100644 --- a/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml +++ b/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml @@ -8,6 +8,7 @@ copyrights: default: - enabled-by: - arm/nucleo-h743zi + - arm/nucleo-h753zi - arm/nucleo-h755zi value: GPIO_PIN_13 description: | diff --git a/spec/build/bsps/arm/stm32h7/opthse.yml b/spec/build/bsps/arm/stm32h7/opthse.yml index c59fa2dfc0..c67656ce90 100644 --- a/spec/build/bsps/arm/stm32h7/opthse.yml +++ b/spec/build/bsps/arm/stm32h7/opthse.yml @@ -9,6 +9,7 @@ copyrights: default: - enabled-by: - arm/nucleo-h743zi + - arm/nucleo-h753zi - arm/nucleo-h755zi value: 8000000 - enabled-by: arm/stm32h7b3i-dk diff --git a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml index e98f0a2193..435581709c 100644 --- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml +++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml @@ -8,6 +8,7 @@ copyrights: default: - enabled-by: - arm/nucleo-h743zi + - arm/nucleo-h753zi - arm/nucleo-h755zi - arm/stm32h747i-disco - arm/stm32h747i-disco-m4 diff --git a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml index 9f8b9c8e8d..c92b22b748 100644 --- a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml +++ b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml @@ -8,6 +8,7 @@ copyrights: default: - enabled-by: - arm/nucleo-h743zi + - arm/nucleo-h753zi - arm/nucleo-h755zi - arm/stm32h750b-dk value: stm32h7_usart3_instance diff --git a/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml index 731d9c07f5..4a0d58b95a 100644 --- a/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml +++ b/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml @@ -7,12 +7,13 @@ copyrights: - Copyright (C) 2023 On-Line Applications Research (OAR) default: - enabled-by: + - arm/nucleo-h753zi - arm/stm32h750b-dk value: ( GPIO_PIN_5 | GPIO_PIN_6 ) - enabled-by: true value: ( GPIO_PIN_2 | GPIO_PIN_3 ) description: | - GPIO pins used for the USART1 pin configuration. + GPIO pins used for the USART2 pin configuration. enabled-by: true format: '{}' links: [] diff --git a/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml index 9c297e2efd..f0183ab517 100644 --- a/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml +++ b/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml @@ -6,7 +6,9 @@ build-type: option copyrights: - Copyright (C) 2023 On-Line Applications Research (OAR) default: -- enabled-by: arm/stm32h750b-dk +- enabled-by: + - arm/nucleo-h753zi + - arm/stm32h750b-dk value: GPIOD - enabled-by: true value: GPIOA