[PATCH 2/4] bsps/stm32h7: add configuration and enable build of stm32h747i-disco BSP

Karel Gardas karel at functional.vision
Wed Jun 1 12:23:44 UTC 2022


Sponsored-By:	Precidata
---
 .../bsps/arm/stm32h7/bspstm32h747i-disco.yml  | 24 +++++++++++++++++++
 spec/build/bsps/arm/stm32h7/optbootcore.yml   |  1 +
 spec/build/bsps/arm/stm32h7/optlinkcmds.yml   |  1 +
 spec/build/bsps/arm/stm32h7/optpwrsupply.yml  |  1 +
 .../arm/stm32h7/optusart1alternatefunc.yml    |  1 +
 .../bsps/arm/stm32h7/optusart1gpiopins.yml    |  1 +
 .../bsps/arm/stm32h7/optusart1gpioregs.yml    |  1 +
 spec/build/bsps/arm/stm32h7/optvariant.yml    |  3 +++
 8 files changed, 33 insertions(+)
 create mode 100644 spec/build/bsps/arm/stm32h7/bspstm32h747i-disco.yml

diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h747i-disco.yml b/spec/build/bsps/arm/stm32h7/bspstm32h747i-disco.yml
new file mode 100644
index 0000000000..dcd5216391
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h747i-disco.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: stm32h747i-disco
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel at functional.vision>
+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/stm32h747i-disco/stm32h7-config-clk.c
+- bsps/arm/stm32h7/boards/stm/stm32h747i-disco/stm32h7-config-osc.c
+- bsps/arm/stm32h7/boards/stm/stm32h747i-disco/stm32h7-config-per.c
+- bsps/arm/stm32h7/boards/stm/stm32h747i-disco/system_stm32h7xx.c
+- bsps/arm/shared/cache/cache-v7m.c
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optbootcore.yml b/spec/build/bsps/arm/stm32h7/optbootcore.yml
index e6f52e8631..6d1a500ede 100644
--- a/spec/build/bsps/arm/stm32h7/optbootcore.yml
+++ b/spec/build/bsps/arm/stm32h7/optbootcore.yml
@@ -11,6 +11,7 @@ default-by-variant:
 - value: CORE_CM7
   variants:
   - arm/stm32h757i-eval
+  - arm/stm32h747i-disco
 - value: CORE_CM4
   variants:
   - arm/stm32h757i-eval-m4
diff --git a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
index c3c76f9496..5632a3416a 100644
--- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
+++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
@@ -9,6 +9,7 @@ default-by-variant:
   - arm/stm32h7b3i-dk
   - arm/stm32h757i-eval
   - arm/stm32h757i-eval-m4
+  - arm/stm32h747i-disco
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
index c974654366..94b2403da7 100644
--- a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
+++ b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
@@ -9,6 +9,7 @@ default-by-variant:
   - arm/stm32h7b3i-dk
   - arm/stm32h757i-eval
   - arm/stm32h757i-eval-m4
+  - arm/stm32h747i-disco
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
index 049ed6a3ac..61982d94ed 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: GPIO_AF7_USART1
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h747i-disco
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
index 1580ded243..5150dd2d04 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: ( GPIO_PIN_9 | GPIO_PIN_10 )
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h747i-disco
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
index 233a5ac813..d91fe73d37 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
@@ -7,6 +7,7 @@ default-by-variant:
 - value: GPIOA
   variants:
   - arm/stm32h7b3i-dk
+  - arm/stm32h747i-disco
 - value: GPIOB
   variants:
   - arm/stm32h757i-eval
diff --git a/spec/build/bsps/arm/stm32h7/optvariant.yml b/spec/build/bsps/arm/stm32h7/optvariant.yml
index ade5d5931d..b7ce814e52 100644
--- a/spec/build/bsps/arm/stm32h7/optvariant.yml
+++ b/spec/build/bsps/arm/stm32h7/optvariant.yml
@@ -21,6 +21,9 @@ default-by-variant:
   variants:
     - arm/stm32h757i-eval
     - arm/stm32h757i-eval-m4
+- value: STM32H747xx
+  variants:
+  - arm/stm32h747i-disco
 enabled-by: true
 format: '{}'
 links: []
-- 
2.25.1



More information about the devel mailing list