[PATCH 2/3] bsps/stm32h7: add configuration and enable build of nucleo-h7a3zi BSP

Karel Gardas karel at functional.vision
Sun Jul 24 21:59:25 UTC 2022


---
 .../bsps/arm/stm32h7/bspnucleoh7a3zi.yml      | 25 +++++++++++++++++++
 spec/build/bsps/arm/stm32h7/opthse.yml        |  1 +
 spec/build/bsps/arm/stm32h7/optlinkcmds.yml   |  1 +
 .../bsps/arm/stm32h7/optmemflashlatency.yml   |  1 +
 .../build/bsps/arm/stm32h7/optmemsdram1sz.yml |  1 +
 .../bsps/arm/stm32h7/optmemsramaxisz.yml      |  1 +
 .../bsps/arm/stm32h7/optprintkinstance.yml    |  1 +
 spec/build/bsps/arm/stm32h7/optpwrsupply.yml  |  1 +
 spec/build/bsps/arm/stm32h7/optvariant.yml    |  3 +++
 9 files changed, 35 insertions(+)
 create mode 100644 spec/build/bsps/arm/stm32h7/bspnucleoh7a3zi.yml

diff --git a/spec/build/bsps/arm/stm32h7/bspnucleoh7a3zi.yml b/spec/build/bsps/arm/stm32h7/bspnucleoh7a3zi.yml
new file mode 100644
index 0000000000..d3e47a528a
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/bspnucleoh7a3zi.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: nucleo-h7a3zi
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+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-h7a3zi/stm32h7-bspstarthooks.c
+- bsps/arm/stm32h7/boards/stm/nucleo-h7a3zi/stm32h7-config-clk.c
+- bsps/arm/stm32h7/boards/stm/nucleo-h7a3zi/stm32h7-config-osc.c
+- bsps/arm/stm32h7/boards/stm/nucleo-h7a3zi/stm32h7-config-per.c
+- bsps/arm/stm32h7/boards/stm/nucleo-h7a3zi/system_stm32h7xx.c
+- bsps/arm/shared/cache/cache-v7m.c
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/opthse.yml b/spec/build/bsps/arm/stm32h7/opthse.yml
index e5feef1114..9fcdc4d4fb 100644
--- a/spec/build/bsps/arm/stm32h7/opthse.yml
+++ b/spec/build/bsps/arm/stm32h7/opthse.yml
@@ -9,6 +9,7 @@ default-by-variant:
 - value: 8000000
   variants:
   - arm/nucleo-h743zi
+  - arm/nucleo-h7a3zi
 - value: 24000000
   variants:
   - arm/stm32h7b3i-dk
diff --git a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
index 3103deef84..f28dfd78d3 100644
--- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
+++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
@@ -12,6 +12,7 @@ default-by-variant:
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
   - arm/nucleo-h743zi
+  - arm/nucleo-h7a3zi
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml b/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml
index cf5422acb6..27d9b541d9 100644
--- a/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: FLASH_LATENCY_6
   variants:
   - arm/stm32h7b3i-dk
+  - arm/nucleo-h7a3zi
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
index 9a29e9f04f..395d3fb904 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
@@ -12,6 +12,7 @@ default-by-variant:
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
   - arm/nucleo-h743zi
+  - arm/nucleo-h7a3zi
 enabled-by: true
 format: '{:#010x}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml b/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml
index 89e116c1de..90fe7811a0 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: 0xA0000
   variants:
   - arm/stm32h7b3i-dk
+  - arm/nucleo-h7a3zi
 enabled-by: true
 format: '{:#010x}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
index 5e87aaab1f..10b6786a1f 100644
--- a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
+++ b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: stm32h7_usart3_instance
   variants:
   - arm/nucleo-h743zi
+  - arm/nucleo-h7a3zi
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
index effdbbffe0..9b5461fac7 100644
--- a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
+++ b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
@@ -11,6 +11,7 @@ default-by-variant:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+  - arm/nucleo-h7a3zi
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optvariant.yml b/spec/build/bsps/arm/stm32h7/optvariant.yml
index 720a40c63d..e2790a0f25 100644
--- a/spec/build/bsps/arm/stm32h7/optvariant.yml
+++ b/spec/build/bsps/arm/stm32h7/optvariant.yml
@@ -25,6 +25,9 @@ default-by-variant:
   variants:
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+- value: STM32H7A3xxQ
+  variants:
+    - arm/nucleo-h7a3zi
 enabled-by: true
 format: '{}'
 links: []
-- 
2.25.1



More information about the devel mailing list