summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm/stm32h7
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps/arm/stm32h7')
-rw-r--r--spec/build/bsps/arm/stm32h7/.doorstop.yml6
-rw-r--r--spec/build/bsps/arm/stm32h7/abi.yml29
-rw-r--r--spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml7
-rw-r--r--spec/build/bsps/arm/stm32h7/bspstm32h7.yml4
-rw-r--r--spec/build/bsps/arm/stm32h7/bspstm32h747i-disco-m4.yml25
-rw-r--r--spec/build/bsps/arm/stm32h7/bspstm32h747i-disco.yml25
-rw-r--r--spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml25
-rw-r--r--spec/build/bsps/arm/stm32h7/bspstm32h757i-eval-m4.yml28
-rw-r--r--spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml28
-rw-r--r--spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml2
-rw-r--r--spec/build/bsps/arm/stm32h7/grp.yml25
-rw-r--r--spec/build/bsps/arm/stm32h7/linkcmds.yml6
-rw-r--r--spec/build/bsps/arm/stm32h7/linkcmdsflash.yml6
-rw-r--r--spec/build/bsps/arm/stm32h7/linkcmdsflashsdram.yml49
-rw-r--r--spec/build/bsps/arm/stm32h7/linkcmdsmemory.yml8
-rw-r--r--spec/build/bsps/arm/stm32h7/linkcmdssdram.yml6
-rw-r--r--spec/build/bsps/arm/stm32h7/linkcmdssram.yml49
-rw-r--r--spec/build/bsps/arm/stm32h7/linkcmdssramsdram.yml49
-rw-r--r--spec/build/bsps/arm/stm32h7/obj.yml24
-rw-r--r--spec/build/bsps/arm/stm32h7/optbootcore.yml29
-rw-r--r--spec/build/bsps/arm/stm32h7/optenmpualign.yml23
-rw-r--r--spec/build/bsps/arm/stm32h7/optenuart4.yml21
-rw-r--r--spec/build/bsps/arm/stm32h7/optenuart5.yml23
-rw-r--r--spec/build/bsps/arm/stm32h7/optenuart7.yml23
-rw-r--r--spec/build/bsps/arm/stm32h7/optenuart8.yml21
-rw-r--r--spec/build/bsps/arm/stm32h7/optenuart9.yml23
-rw-r--r--spec/build/bsps/arm/stm32h7/optenusart1.yml15
-rw-r--r--spec/build/bsps/arm/stm32h7/optenusart10.yml23
-rw-r--r--spec/build/bsps/arm/stm32h7/optenusart2.yml19
-rw-r--r--spec/build/bsps/arm/stm32h7/optenusart3.yml23
-rw-r--r--spec/build/bsps/arm/stm32h7/optenusart6.yml23
-rw-r--r--spec/build/bsps/arm/stm32h7/optethgpiobregs.yml18
-rw-r--r--spec/build/bsps/arm/stm32h7/optethgpiogregs.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/opthse.yml23
-rw-r--r--spec/build/bsps/arm/stm32h7/optlinkcmds.yml28
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml15
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemflashlatency.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemflashorigin.yml21
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemflashsz.yml19
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemitcmsz.yml19
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemnandsz.yml15
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemnorsz.yml15
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemnullsz.yml17
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml15
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemquadspisz.yml21
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml24
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml24
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemsram1sz.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemsram2sz.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemsram3sz.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemsram4sz.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml15
-rw-r--r--spec/build/bsps/arm/stm32h7/optprintkinstance.yml19
-rw-r--r--spec/build/bsps/arm/stm32h7/optpwrsupply.yml26
-rw-r--r--spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml17
-rw-r--r--spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml17
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml21
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml24
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml26
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml19
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml17
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml17
-rw-r--r--spec/build/bsps/arm/stm32h7/optvariant.yml35
-rw-r--r--spec/build/bsps/arm/stm32h7/tststm32h757i-eval.yml21
66 files changed, 993 insertions, 382 deletions
diff --git a/spec/build/bsps/arm/stm32h7/.doorstop.yml b/spec/build/bsps/arm/stm32h7/.doorstop.yml
deleted file mode 100644
index 16950ce80f..0000000000
--- a/spec/build/bsps/arm/stm32h7/.doorstop.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-settings:
- digits: 3
- parent: RTEMS-BUILD-BSP-ARM
- prefix: RTEMS-BUILD-BSP-ARM-STM32H7
- sep: '-'
-attributes: !include ../../../attributes.inc
diff --git a/spec/build/bsps/arm/stm32h7/abi.yml b/spec/build/bsps/arm/stm32h7/abi.yml
index 697220b1b1..708bb7b0e7 100644
--- a/spec/build/bsps/arm/stm32h7/abi.yml
+++ b/spec/build/bsps/arm/stm32h7/abi.yml
@@ -1,20 +1,29 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- split: null
- env-append: null
build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
-- -mthumb
-- -mcpu=cortex-m7
-- -mfpu=fpv5-d16
-- -mfloat-abi=hard
-default-by-variant: []
+- enabled-by:
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval-m4
+ value:
+ - -mthumb
+ - -mcpu=cortex-m4
+ - -mfpu=fpv4-sp-d16
+ - -mfloat-abi=hard
+- enabled-by: true
+ value:
+ - -mthumb
+ - -mcpu=cortex-m7
+ - -mfpu=fpv5-d16
+ - -mfloat-abi=hard
+description: |
+ ABI flags
enabled-by: true
links: []
name: ABI_FLAGS
-description: |
- ABI flags
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml b/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml
index 1cad10b39d..7870d6188d 100644
--- a/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml
+++ b/spec/build/bsps/arm/stm32h7/bspnucleoh743zi.yml
@@ -4,7 +4,7 @@ bsp: nucleo-h743zi
build-type: bsp
cflags: []
copyrights:
-- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
cppflags: []
enabled-by: true
family: stm32h7
@@ -13,10 +13,13 @@ 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/stm32h7/boards/stm/nucleo-h743zi/ext-mem-ctl.c
+- bsps/arm/shared/cache/cache-v7m.c
type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h7.yml b/spec/build/bsps/arm/stm32h7/bspstm32h7.yml
index 89ded74e05..0aaf1f0cc6 100644
--- a/spec/build/bsps/arm/stm32h7/bspstm32h7.yml
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h7.yml
@@ -4,7 +4,7 @@ bsp: stm32h7
build-type: bsp
cflags: []
copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
cppflags: []
enabled-by: true
family: stm32h7
@@ -14,9 +14,11 @@ links:
- role: build-dependency
uid: grp
source:
+- bsps/arm/stm32h7/boards/stm/stm32h743i-eval/stm32h7-bspstarthooks.c
- bsps/arm/stm32h7/boards/stm/stm32h743i-eval/stm32h7-config-clk.c
- bsps/arm/stm32h7/boards/stm/stm32h743i-eval/stm32h7-config-osc.c
- bsps/arm/stm32h7/boards/stm/stm32h743i-eval/stm32h7-config-per.c
- bsps/arm/stm32h7/boards/stm/stm32h743i-eval/system_stm32h7xx.c
- bsps/arm/stm32h7/boards/stm/stm32h743i-eval/ext-mem-ctl.c
+- bsps/arm/shared/cache/cache-v7m.c
type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h747i-disco-m4.yml b/spec/build/bsps/arm/stm32h7/bspstm32h747i-disco-m4.yml
new file mode 100644
index 0000000000..27b8c34db2
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h747i-disco-m4.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: stm32h747i-disco-m4
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@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-bspstarthooks.c
+- 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/shared/cache/nocache.c
+type: build
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..8b13d16844
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h747i-disco.yml
@@ -0,0 +1,25 @@
+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@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-bspstarthooks.c
+- 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/bspstm32h750b-dk.yml b/spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml
new file mode 100644
index 0000000000..0b910e8a0c
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: stm32h750b-dk
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+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-bspstarthooks.c
+- 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/stm32h750b-dk/stm32h7-config-per.c
+- bsps/arm/stm32h7/boards/stm/stm32h750b-dk/system_stm32h7xx.c
+- bsps/arm/shared/cache/cache-v7m.c
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval-m4.yml b/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval-m4.yml
new file mode 100644
index 0000000000..fc15630c93
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval-m4.yml
@@ -0,0 +1,28 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: stm32h757i-eval-m4
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
+cppflags: []
+enabled-by: true
+family: stm32h7
+includes:
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tststm32h757i-eval
+source:
+- bsps/arm/stm32h7/boards/stm/Components/mt25tl01g/mt25tl01g.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h747i_eval_qspi.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-bspstarthooks.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-clk.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-osc.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-per.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/system_stm32h7xx.c
+- bsps/shared/cache/nocache.c
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml b/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml
new file mode 100644
index 0000000000..7516e55a3f
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h757i-eval.yml
@@ -0,0 +1,28 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: stm32h757i-eval
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
+cppflags: []
+enabled-by: true
+family: stm32h7
+includes:
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tststm32h757i-eval
+source:
+- bsps/arm/stm32h7/boards/stm/Components/mt25tl01g/mt25tl01g.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h747i_eval_qspi.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-bspstarthooks.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-clk.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-osc.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/stm32h7-config-per.c
+- bsps/arm/stm32h7/boards/stm/stm32h757i-eval/system_stm32h7xx.c
+- bsps/arm/shared/cache/cache-v7m.c
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
index f3456cacca..20f5cb9a72 100644
--- a/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h7b3i-dk.yml
@@ -16,9 +16,11 @@ links:
- role: build-dependency
uid: ../../tstsmallmem
source:
+- bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/stm32h7-bspstarthooks.c
- bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/stm32h7-config-clk.c
- bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/stm32h7-config-osc.c
- bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/stm32h7-config-per.c
- bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/system_stm32h7xx.c
- bsps/arm/stm32h7/boards/stm/stm32h7b3i-dk/ext-mem-ctl.c
+- bsps/arm/shared/cache/cache-v7m.c
type: build
diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml
index 7cb8f698cc..239df9b898 100644
--- a/spec/build/bsps/arm/stm32h7/grp.yml
+++ b/spec/build/bsps/arm/stm32h7/grp.yml
@@ -1,7 +1,10 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: group
+cflags: []
copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+cppflags: []
+cxxflags: []
enabled-by: true
includes: []
install: []
@@ -22,6 +25,8 @@ links:
- role: build-dependency
uid: optenmpualign
- role: build-dependency
+ uid: ../optmpuctrl
+- role: build-dependency
uid: optenuart4
- role: build-dependency
uid: optenuart5
@@ -52,6 +57,8 @@ links:
- role: build-dependency
uid: optmemflashlatency
- role: build-dependency
+ uid: optmemflashorigin
+- role: build-dependency
uid: optmemitcmsz
- role: build-dependency
uid: optmemnandsz
@@ -84,16 +91,26 @@ links:
- role: build-dependency
uid: optpwrsupply
- role: build-dependency
+ uid: optbootcore
+- role: build-dependency
uid: optusart1gpiopins
- role: build-dependency
uid: optusart1gpioregs
- role: build-dependency
uid: optusart1alternatefunc
- role: build-dependency
+ uid: optusart2gpiopins
+- role: build-dependency
+ uid: optusart2gpioregs
+- role: build-dependency
uid: optusart3gpiopins
- role: build-dependency
uid: optusart3gpioregs
- role: build-dependency
+ uid: optuart7gpiopins
+- role: build-dependency
+ uid: optuart7gpioregs
+- role: build-dependency
uid: optvariant
- role: build-dependency
uid: optethgpiogregs
@@ -116,6 +133,12 @@ links:
- role: build-dependency
uid: linkcmdssdram
- role: build-dependency
+ uid: linkcmdssram
+- role: build-dependency
+ uid: linkcmdssramsdram
+- role: build-dependency
+ uid: linkcmdsflashsdram
+- role: build-dependency
uid: ../../bspopts
type: build
use-after: []
diff --git a/spec/build/bsps/arm/stm32h7/linkcmds.yml b/spec/build/bsps/arm/stm32h7/linkcmds.yml
index 95f31bbedb..89084a5209 100644
--- a/spec/build/bsps/arm/stm32h7/linkcmds.yml
+++ b/spec/build/bsps/arm/stm32h7/linkcmds.yml
@@ -1,11 +1,11 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: config-file
content: |
INCLUDE ${STM32H7_DEFAULT_LINKCMDS}
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
install-path: ${BSP_LIBDIR}
links: []
target: linkcmds
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/linkcmdsflash.yml b/spec/build/bsps/arm/stm32h7/linkcmdsflash.yml
index 4785c45b9f..d0c15c42c7 100644
--- a/spec/build/bsps/arm/stm32h7/linkcmdsflash.yml
+++ b/spec/build/bsps/arm/stm32h7/linkcmdsflash.yml
@@ -1,4 +1,7 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
do-build: |
bld.install_as("${BSP_LIBDIR}/linkcmds.flash", "linkcmds.flash")
do-configure: |
@@ -44,6 +47,3 @@ links: []
prepare-build: null
prepare-configure: null
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/linkcmdsflashsdram.yml b/spec/build/bsps/arm/stm32h7/linkcmdsflashsdram.yml
new file mode 100644
index 0000000000..5229377d99
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/linkcmdsflashsdram.yml
@@ -0,0 +1,49 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+do-build: |
+ bld.install_as("${BSP_LIBDIR}/linkcmds.flash_sdram", "linkcmds.flash_sdram")
+do-configure: |
+ content = """INCLUDE linkcmds.memory
+
+ REGION_ALIAS ("REGION_START", FLASH);
+ REGION_ALIAS ("REGION_VECTOR", FLASH);
+ REGION_ALIAS ("REGION_TEXT", FLASH);
+ REGION_ALIAS ("REGION_TEXT_LOAD", FLASH);
+ REGION_ALIAS ("REGION_RODATA", FLASH);
+ REGION_ALIAS ("REGION_RODATA_LOAD", FLASH);
+ REGION_ALIAS ("REGION_DATA", SRAM_AXI);
+ REGION_ALIAS ("REGION_DATA_LOAD", FLASH);
+ REGION_ALIAS ("REGION_FAST_TEXT", ITCM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", ITCM);
+ REGION_ALIAS ("REGION_FAST_DATA", DTCM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", DTCM);
+ REGION_ALIAS ("REGION_BSS", SRAM_AXI);
+ REGION_ALIAS ("REGION_WORK", SDRAM_2);
+ REGION_ALIAS ("REGION_STACK", SRAM_AXI);
+ REGION_ALIAS ("REGION_NOCACHE", SRAM_1);
+ REGION_ALIAS ("REGION_NOCACHE_LOAD", FLASH);
+
+ bsp_vector_table_in_start_section = 1;
+ """
+
+ if conf.env.STM32H7_ENABLE_MPU_ALIGNMENT:
+ content += """
+ bsp_align_text_and_rodata_end_to_power_of_2 = 1;
+ """
+
+ content += """
+ INCLUDE linkcmds.armv7m
+ """
+ f = conf.bldnode.make_node(
+ conf.env.VARIANT + "/linkcmds.flash_sdram"
+ )
+ f.parent.mkdir()
+ f.write(content)
+ conf.env.append_value("cfg_files", f.abspath())
+enabled-by: true
+links: []
+prepare-build: null
+prepare-configure: null
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/linkcmdsmemory.yml b/spec/build/bsps/arm/stm32h7/linkcmdsmemory.yml
index 7ff7f3da5e..88dd4e8c91 100644
--- a/spec/build/bsps/arm/stm32h7/linkcmdsmemory.yml
+++ b/spec/build/bsps/arm/stm32h7/linkcmdsmemory.yml
@@ -1,9 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: config-file
content: |
MEMORY {
NULL : ORIGIN = 0x00000000, LENGTH = ${STM32H7_MEMORY_NULL_SIZE:#010x}
ITCM : ORIGIN = ${STM32H7_MEMORY_NULL_SIZE:#010x}, LENGTH = ${STM32H7_MEMORY_ITCM_SIZE:#010x}
- FLASH : ORIGIN = 0x08000000, LENGTH = ${STM32H7_MEMORY_FLASH_SIZE:#010x}
+ FLASH : ORIGIN = ${STM32H7_MEMORY_FLASH_ORIGIN:#010x}, LENGTH = ${STM32H7_MEMORY_FLASH_SIZE:#010x}
DTCM : ORIGIN = 0x20000000, LENGTH = ${STM32H7_MEMORY_DTCM_SIZE:#010x}
SRAM_AXI : ORIGIN = 0x24000000, LENGTH = ${STM32H7_MEMORY_SRAM_AXI_SIZE:#010x}
SRAM_1 : ORIGIN = 0x30000000, LENGTH = ${STM32H7_MEMORY_SRAM_1_SIZE:#010x}
@@ -82,11 +83,10 @@ content: |
stm32h7_memory_sdram_2_begin = ORIGIN (SDRAM_2);
stm32h7_memory_sdram_2_end = ORIGIN (SDRAM_2) + LENGTH (SDRAM_2);
stm32h7_memory_sdram_2_size = LENGTH (SDRAM_2);
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
install-path: ${BSP_LIBDIR}
links: []
target: linkcmds.memory
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/linkcmdssdram.yml b/spec/build/bsps/arm/stm32h7/linkcmdssdram.yml
index 5254e5c56f..e191680a37 100644
--- a/spec/build/bsps/arm/stm32h7/linkcmdssdram.yml
+++ b/spec/build/bsps/arm/stm32h7/linkcmdssdram.yml
@@ -1,4 +1,7 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
do-build: |
bld.install_as("${BSP_LIBDIR}/linkcmds.sdram", "linkcmds.sdram")
do-configure: |
@@ -44,6 +47,3 @@ links: []
prepare-build: null
prepare-configure: null
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/linkcmdssram.yml b/spec/build/bsps/arm/stm32h7/linkcmdssram.yml
new file mode 100644
index 0000000000..8433700ca9
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/linkcmdssram.yml
@@ -0,0 +1,49 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+do-build: |
+ bld.install_as("${BSP_LIBDIR}/linkcmds.sram", "linkcmds.sram")
+do-configure: |
+ content = """INCLUDE linkcmds.memory
+
+ REGION_ALIAS ("REGION_START", SRAM_AXI);
+ REGION_ALIAS ("REGION_VECTOR", SRAM_AXI);
+ REGION_ALIAS ("REGION_TEXT", SRAM_AXI);
+ REGION_ALIAS ("REGION_TEXT_LOAD", SRAM_AXI);
+ REGION_ALIAS ("REGION_RODATA", SRAM_AXI);
+ REGION_ALIAS ("REGION_RODATA_LOAD", SRAM_AXI);
+ REGION_ALIAS ("REGION_DATA", SRAM_AXI);
+ REGION_ALIAS ("REGION_DATA_LOAD", SRAM_AXI);
+ REGION_ALIAS ("REGION_FAST_TEXT", ITCM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", ITCM);
+ REGION_ALIAS ("REGION_FAST_DATA", DTCM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", DTCM);
+ REGION_ALIAS ("REGION_BSS", SRAM_AXI);
+ REGION_ALIAS ("REGION_WORK", SRAM_AXI);
+ REGION_ALIAS ("REGION_STACK", SRAM_AXI);
+ REGION_ALIAS ("REGION_NOCACHE", SRAM_1);
+ REGION_ALIAS ("REGION_NOCACHE_LOAD", SRAM_AXI);
+
+ bsp_vector_table_in_start_section = 1;
+ """
+
+ if conf.env.STM32H7_ENABLE_MPU_ALIGNMENT:
+ content += """
+ bsp_align_text_and_rodata_end_to_power_of_2 = 1;
+ """
+
+ content += """
+ INCLUDE linkcmds.armv7m
+ """
+ f = conf.bldnode.make_node(
+ conf.env.VARIANT + "/linkcmds.sram"
+ )
+ f.parent.mkdir()
+ f.write(content)
+ conf.env.append_value("cfg_files", f.abspath())
+enabled-by: true
+links: []
+prepare-build: null
+prepare-configure: null
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/linkcmdssramsdram.yml b/spec/build/bsps/arm/stm32h7/linkcmdssramsdram.yml
new file mode 100644
index 0000000000..7db5136720
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/linkcmdssramsdram.yml
@@ -0,0 +1,49 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: script
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+do-build: |
+ bld.install_as("${BSP_LIBDIR}/linkcmds.sram_sdram", "linkcmds.sram_sdram")
+do-configure: |
+ content = """INCLUDE linkcmds.memory
+
+ REGION_ALIAS ("REGION_START", SRAM_AXI);
+ REGION_ALIAS ("REGION_VECTOR", SRAM_AXI);
+ REGION_ALIAS ("REGION_TEXT", SRAM_AXI);
+ REGION_ALIAS ("REGION_TEXT_LOAD", SRAM_AXI);
+ REGION_ALIAS ("REGION_RODATA", SRAM_AXI);
+ REGION_ALIAS ("REGION_RODATA_LOAD", SRAM_AXI);
+ REGION_ALIAS ("REGION_DATA", SRAM_AXI);
+ REGION_ALIAS ("REGION_DATA_LOAD", SRAM_AXI);
+ REGION_ALIAS ("REGION_FAST_TEXT", ITCM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", ITCM);
+ REGION_ALIAS ("REGION_FAST_DATA", DTCM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", DTCM);
+ REGION_ALIAS ("REGION_BSS", SRAM_AXI);
+ REGION_ALIAS ("REGION_WORK", SDRAM_2);
+ REGION_ALIAS ("REGION_STACK", SRAM_AXI);
+ REGION_ALIAS ("REGION_NOCACHE", SRAM_1);
+ REGION_ALIAS ("REGION_NOCACHE_LOAD", SRAM_AXI);
+
+ bsp_vector_table_in_start_section = 1;
+ """
+
+ if conf.env.STM32H7_ENABLE_MPU_ALIGNMENT:
+ content += """
+ bsp_align_text_and_rodata_end_to_power_of_2 = 1;
+ """
+
+ content += """
+ INCLUDE linkcmds.armv7m
+ """
+ f = conf.bldnode.make_node(
+ conf.env.VARIANT + "/linkcmds.sram_sdram"
+ )
+ f.parent.mkdir()
+ f.write(content)
+ conf.env.append_value("cfg_files", f.abspath())
+enabled-by: true
+links: []
+prepare-build: null
+prepare-configure: null
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/obj.yml b/spec/build/bsps/arm/stm32h7/obj.yml
index 93fa91f023..37e873f7e5 100644
--- a/spec/build/bsps/arm/stm32h7/obj.yml
+++ b/spec/build/bsps/arm/stm32h7/obj.yml
@@ -2,7 +2,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
cppflags: []
cxxflags: []
enabled-by: true
@@ -11,13 +11,20 @@ install:
- destination: ${BSP_INCLUDEDIR}
source:
- bsps/arm/stm32h7/include/bsp.h
- - bsps/arm/stm32h7/include/tm27.h
- bsps/arm/stm32h7/include/chip.h
- bsps/arm/stm32h7/include/stm32_assert_template.h
+ - bsps/arm/stm32h7/include/stm32h723xx.h
+ - bsps/arm/stm32h7/include/stm32h725xx.h
+ - bsps/arm/stm32h7/include/stm32h730xx.h
+ - bsps/arm/stm32h7/include/stm32h730xxq.h
+ - bsps/arm/stm32h7/include/stm32h733xx.h
+ - bsps/arm/stm32h7/include/stm32h735xx.h
- bsps/arm/stm32h7/include/stm32h742xx.h
- bsps/arm/stm32h7/include/stm32h743xx.h
- bsps/arm/stm32h7/include/stm32h745xx.h
+ - bsps/arm/stm32h7/include/stm32h745xg.h
- bsps/arm/stm32h7/include/stm32h747xx.h
+ - bsps/arm/stm32h7/include/stm32h747xg.h
- bsps/arm/stm32h7/include/stm32h750xx.h
- bsps/arm/stm32h7/include/stm32h753xx.h
- bsps/arm/stm32h7/include/stm32h755xx.h
@@ -36,6 +43,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_hal_comp.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_conf.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_conf_template.h
+ - bsps/arm/stm32h7/include/stm32h7xx_hal_cordic.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_cortex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_crc_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_crc.h
@@ -58,6 +66,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_hal_fdcan.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_flash_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_flash.h
+ - bsps/arm/stm32h7/include/stm32h7xx_hal_fmac.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_gfxmmu.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_gpio_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_gpio.h
@@ -109,6 +118,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_hal_smartcard_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_smartcard.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_smbus.h
+ - bsps/arm/stm32h7/include/stm32h7xx_hal_smbus_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_spdifrx.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_spi_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_spi.h
@@ -125,6 +135,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_bus.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h
+ - bsps/arm/stm32h7/include/stm32h7xx_ll_cordic.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_cortex.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_crc.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_crs.h
@@ -134,6 +145,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_ll_dma.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_dmamux.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_exti.h
+ - bsps/arm/stm32h7/include/stm32h7xx_ll_fmac.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_fmc.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_gpio.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_hrtim.h
@@ -161,6 +173,8 @@ install:
- destination: ${BSP_INCLUDEDIR}/Legacy
source:
- bsps/arm/stm32h7/include/Legacy/stm32_hal_legacy.h
+ - bsps/arm/stm32h7/include/Legacy/stm32h7xx_hal_eth_ex_legacy.h
+ - bsps/arm/stm32h7/include/Legacy/stm32h7xx_hal_eth_legacy.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/stm32h7/include/bsp/irq.h
@@ -171,7 +185,6 @@ install:
- bsps/arm/stm32h7/include/stm32h7/mpu-config.h
links: []
source:
-- bsps/arm/shared/cache/cache-v7m.c
- bsps/arm/shared/clock/clock-armv7m.c
- bsps/arm/shared/cpucounter/cpucounter-armv7m.c
- bsps/arm/shared/irq/irq-armv7m.c
@@ -206,6 +219,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_hal_cec.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_comp.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_cortex.c
+- bsps/arm/stm32h7/hal/stm32h7xx_hal_cordic.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_crc.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_crc_ex.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_cryp.c
@@ -226,6 +240,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_hal_fdcan.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_flash.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_flash_ex.c
+- bsps/arm/stm32h7/hal/stm32h7xx_hal_fmac.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_gfxmmu.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_hash.c
@@ -274,6 +289,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_hal_smartcard.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_smartcard_ex.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_smbus.c
+- bsps/arm/stm32h7/hal/stm32h7xx_hal_smbus_ex.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_spdifrx.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_spi.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_spi_ex.c
@@ -289,6 +305,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_bdma.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_comp.c
+- bsps/arm/stm32h7/hal/stm32h7xx_ll_cordic.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_crs.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_dac.c
@@ -296,6 +313,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_ll_dma.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_dma2d.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_exti.c
+- bsps/arm/stm32h7/hal/stm32h7xx_ll_fmac.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_fmc.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_hrtim.c
diff --git a/spec/build/bsps/arm/stm32h7/optbootcore.yml b/spec/build/bsps/arm/stm32h7/optbootcore.yml
new file mode 100644
index 0000000000..1aa3cbd8e4
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optbootcore.yml
@@ -0,0 +1,29 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- script: |
+ cores = ["CORE_CM7", "CORE_CM4", "BOOT_CORE_DEFINE_NOT_NEEDED"]
+ if value not in cores:
+ conf.fatal("STM32H7 boot core '{}' is not one of {}".format(value, cores))
+ conf.define_cond(value, True)
+build-type: option
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h757i-eval
+ value: CORE_CM7
+- enabled-by:
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval-m4
+ value: CORE_CM4
+- enabled-by: true
+ value: BOOT_CORE_DEFINE_NOT_NEEDED
+description: |
+ Select the boot core. Possible values are CORE_CM7 and CORE_CM4
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_BOOT_CORE
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optenmpualign.yml b/spec/build/bsps/arm/stm32h7/optenmpualign.yml
index 4005485940..60e45c708d 100644
--- a/spec/build/bsps/arm/stm32h7/optenmpualign.yml
+++ b/spec/build/bsps/arm/stm32h7/optenmpualign.yml
@@ -1,20 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- env-assign: null
- define-condition: null
build-type: option
-default: true
-default-by-variant: []
-enabled-by: true
-format: '{}'
-links: []
-name: STM32H7_ENABLE_MPU_ALIGNMENT
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval-m4
+ value: false
+- enabled-by: true
+ value: true
description: |
Enable the alignment of the size of the combined start and text sections and
the rodata section to meet MPU region alignment requirements. This increases
the memory footprint. It enables a write-protection of the start, text, and
rodata sections. It makes the data sections non-executable.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_ENABLE_MPU_ALIGNMENT
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenuart4.yml b/spec/build/bsps/arm/stm32h7/optenuart4.yml
index cd5fd31370..b9428ddf86 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart4.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart4.yml
@@ -1,16 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
+ value: false
+- enabled-by: true
+ value: true
+description: |
+ Enable UART4 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART4
-description: |
- Enable UART4 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenuart5.yml b/spec/build/bsps/arm/stm32h7/optenuart5.yml
index 413f9447b8..f33acbef2b 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart5.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart5.yml
@@ -1,19 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant:
-- value: false
- variants:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: false
+- enabled-by: true
+ value: true
+description: |
+ Enable UART5 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART5
-description: |
- Enable UART5 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenuart7.yml b/spec/build/bsps/arm/stm32h7/optenuart7.yml
index c9884fcb46..03efd2c36d 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart7.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart7.yml
@@ -1,19 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant:
-- value: false
- variants:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: false
+- enabled-by: true
+ value: true
+description: |
+ Enable UART7 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART7
-description: |
- Enable UART7 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenuart8.yml b/spec/build/bsps/arm/stm32h7/optenuart8.yml
index 593f736970..c4671afc4b 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart8.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart8.yml
@@ -1,19 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant:
-- value: false
- variants:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: false
+- enabled-by: true
+ value: true
+description: |
+ Enable UART8 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART8
-description: |
- Enable UART8 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenuart9.yml b/spec/build/bsps/arm/stm32h7/optenuart9.yml
index 596aae59ef..41d29d47d6 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart9.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart9.yml
@@ -1,19 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant:
-- value: false
- variants:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: false
+- enabled-by: true
+ value: true
+description: |
+ Enable UART9 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_UART9
-description: |
- Enable UART9 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenusart1.yml b/spec/build/bsps/arm/stm32h7/optenusart1.yml
index a4f478f753..139a38928c 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart1.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart1.yml
@@ -1,16 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: true
+description: |
+ Enable USART1 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART1
-description: |
- Enable USART1 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenusart10.yml b/spec/build/bsps/arm/stm32h7/optenusart10.yml
index d5c5a1906e..160705bdb4 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart10.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart10.yml
@@ -1,19 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant:
-- value: false
- variants:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: false
+- enabled-by: true
+ value: true
+description: |
+ Enable USART10 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART10
-description: |
- Enable USART10 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenusart2.yml b/spec/build/bsps/arm/stm32h7/optenusart2.yml
index 0bbec65278..e8890d9d0b 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart2.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart2.yml
@@ -1,16 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
+ value: false
+- enabled-by: true
+ value: true
+description: |
+ Enable USART2 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART2
-description: |
- Enable USART2 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenusart3.yml b/spec/build/bsps/arm/stm32h7/optenusart3.yml
index f74ea31fa3..a7aeda68bf 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart3.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart3.yml
@@ -1,19 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant:
-- value: false
- variants:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: false
+- enabled-by: true
+ value: true
+description: |
+ Enable USART3 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART3
-description: |
- Enable USART3 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optenusart6.yml b/spec/build/bsps/arm/stm32h7/optenusart6.yml
index 51791b56cd..5905eae1f0 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart6.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart6.yml
@@ -1,19 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-boolean: null
- define-condition: null
build-type: option
-default: true
-default-by-variant:
-- value: false
- variants:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: false
+- enabled-by: true
+ value: true
+description: |
+ Enable USART6 device in console driver.
enabled-by: true
format: '{}'
links: []
name: STM32H7_CONSOLE_ENABLE_USART6
-description: |
- Enable USART6 device in console driver.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml b/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml
index fcd720f186..dd2ba5dd77 100644
--- a/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml
@@ -1,19 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: null
-default-by-variant:
-- value: GPIO_PIN_13
- variants:
- - arm/nucleo-h743zi
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/nucleo-h743zi
+ value: GPIO_PIN_13
+description: |
+ GPIO B pins used for the ETH pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_ETH_GPIOB_PINS
-description: |
- GPIO B pins used for the ETH pin configuration.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optethgpiogregs.yml b/spec/build/bsps/arm/stm32h7/optethgpiogregs.yml
index a6c0acbb7d..9935db94a7 100644
--- a/spec/build/bsps/arm/stm32h7/optethgpiogregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optethgpiogregs.yml
@@ -1,19 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: ( GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_13 )
-default-by-variant:
-- value: ( GPIO_PIN_2 | GPIO_PIN_11 | GPIO_PIN_13 )
- variants:
- - arm/nucleo-h743zi
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/nucleo-h743zi
+ value: ( GPIO_PIN_2 | GPIO_PIN_11 | GPIO_PIN_13 )
+- enabled-by: true
+ value: ( GPIO_PIN_11 | GPIO_PIN_12 | GPIO_PIN_13 )
+description: |
+ GPIO G pins used for the ETH pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_ETH_GPIOG_PINS
-description: |
- GPIO G pins used for the ETH pin configuration.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/opthse.yml b/spec/build/bsps/arm/stm32h7/opthse.yml
index e5feef1114..f7b97d4aae 100644
--- a/spec/build/bsps/arm/stm32h7/opthse.yml
+++ b/spec/build/bsps/arm/stm32h7/opthse.yml
@@ -4,20 +4,19 @@ actions:
- assert-uint32: null
- format-and-define: null
build-type: option
-default: 25000000
-default-by-variant:
-- value: 8000000
- variants:
- - arm/nucleo-h743zi
-- value: 24000000
- variants:
- - arm/stm32h7b3i-dk
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/nucleo-h743zi
+ value: 8000000
+- enabled-by: arm/stm32h7b3i-dk
+ value: 24000000
+- enabled-by: true
+ value: 25000000
+description: |
+ Frequency of the external high speed oscillator (HSE).
enabled-by: true
format: '{}'
links: []
name: STM32H7_HSE_FREQUENCY
-description: |
- Frequency of the external high speed oscillator (HSE).
type: build
-copyrights:
-- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
index 18a1983f63..cee48a999e 100644
--- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
+++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
@@ -1,20 +1,28 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- env-assign: null
build-type: option
-default: linkcmds.sdram
-default-by-variant:
-- value: linkcmds.flash
- variants:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/nucleo-h743zi
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h750b-dk
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: linkcmds.flash
+- enabled-by: true
+ value: linkcmds.sdram
+description: |
+ The default linker command file. Must be either linkcmds.flash,
+ linkcmds.sdram, linkcmds.sram, linkcmds.sram_sdram
+ or linkcmds.flash_sdram
enabled-by: true
format: '{}'
links: []
name: STM32H7_DEFAULT_LINKCMDS
-description: |
- The default linker command file. Must be either linkcmds.flash or
- linkcmds.sdram.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml b/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml
index e7c1a2bdf6..28f77a0654 100644
--- a/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml
@@ -1,16 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0x20000
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00020000
+description: |
+ Size of the Data Tightly Coupled Memory (DTCM) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_DTCM_SIZE
-description: |
- Size of the Data Tightly Coupled Memory (DTCM) in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml b/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml
index cf5422acb6..facee637dc 100644
--- a/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemflashlatency.yml
@@ -1,19 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: FLASH_LATENCY_4
-default-by-variant:
-- value: FLASH_LATENCY_6
- variants:
- - arm/stm32h7b3i-dk
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
+default:
+- enabled-by: arm/stm32h7b3i-dk
+ value: FLASH_LATENCY_6
+- enabled-by: true
+ value: FLASH_LATENCY_4
+description: |
+ Internal Flash latency
enabled-by: true
format: '{}'
links: []
name: STM32H7_FLASH_LATENCY
-description: |
- Internal Flash latency
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
diff --git a/spec/build/bsps/arm/stm32h7/optmemflashorigin.yml b/spec/build/bsps/arm/stm32h7/optmemflashorigin.yml
new file mode 100644
index 0000000000..1c6bb33545
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optmemflashorigin.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- env-assign: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval-m4
+ value: 0x08100000
+- enabled-by: true
+ value: 0x08000000
+description: |
+ Origin address of the internal flash.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: STM32H7_MEMORY_FLASH_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optmemflashsz.yml b/spec/build/bsps/arm/stm32h7/optmemflashsz.yml
index 627543f9a8..b14e0c9da2 100644
--- a/spec/build/bsps/arm/stm32h7/optmemflashsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemflashsz.yml
@@ -1,16 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0x200000
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval-m4
+ value: 0x00100000
+- enabled-by: true
+ value: 0x00200000
+description: |
+ Size of the internal flash in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_FLASH_SIZE
-description: |
- Size of the internal flash in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml b/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml
index 610de5f074..52cbb2bd8e 100644
--- a/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml
@@ -1,18 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0xff00
-default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: STM32H7_MEMORY_ITCM_SIZE
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x0000ff00
description: |
Size of the Instruction Tightly Coupled Memory (ITCM) in bytes. The size
must take the NULL pointer protection memory area into account
(STM32H7_MEMORY_NULL_SIZE).
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: STM32H7_MEMORY_ITCM_SIZE
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemnandsz.yml b/spec/build/bsps/arm/stm32h7/optmemnandsz.yml
index 0bfbcc4623..22120a3ace 100644
--- a/spec/build/bsps/arm/stm32h7/optmemnandsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemnandsz.yml
@@ -1,16 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00000000
+description: |
+ Size of the NAND flash in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_NAND_SIZE
-description: |
- Size of the NAND flash in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemnorsz.yml b/spec/build/bsps/arm/stm32h7/optmemnorsz.yml
index d41d4e9e49..36f79a0295 100644
--- a/spec/build/bsps/arm/stm32h7/optmemnorsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemnorsz.yml
@@ -1,16 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00000000
+description: |
+ Size of the NOR flash or PSRAM in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_NOR_SIZE
-description: |
- Size of the NOR flash or PSRAM in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemnullsz.yml b/spec/build/bsps/arm/stm32h7/optmemnullsz.yml
index a31169adb1..99c8c0c07b 100644
--- a/spec/build/bsps/arm/stm32h7/optmemnullsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemnullsz.yml
@@ -1,17 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 256
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00000100
+description: |
+ Size of the NULL pointer protection area in bytes. This memory area reduces
+ the size of the ITCM available to the application (STM32H7_MEMORY_ITCM_SIZE).
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_NULL_SIZE
-description: |
- Size of the NULL pointer protection area in bytes. This memory area reduces
- the size of the ITCM available to the application (STM32H7_MEMORY_ITCM_SIZE).
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml b/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml
index 0a1bd610e7..3fed0ef2b2 100644
--- a/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml
@@ -1,16 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0x20000000
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x20000000
+description: |
+ Size of the peripheral memory in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_PERIPHERAL_SIZE
-description: |
- Size of the peripheral memory in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml b/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml
index 11e5f943e0..821ae3c197 100644
--- a/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml
@@ -1,16 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
+- define-unquoted: null
build-type: option
-default: 0
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h750b-dk
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
+ value: 0x08000000
+- enabled-by: true
+ value: 0x00000000
+description: |
+ Size of the QUADSPI memory in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_QUADSPI_SIZE
-description: |
- Size of the QUADSPI memory in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
index b748d7d3f7..bd1053db38 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
@@ -1,19 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 33554432
-default-by-variant:
-- value: 0
- variants:
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/nucleo-h743zi
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: 0x00000000
+- enabled-by: true
+ value: 0x02000000
+description: |
+ Size of the SDRAM 1 in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SDRAM_1_SIZE
-description: |
- Size of the SDRAM 1 in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml b/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml
index 5a1ffdcace..5216e9b184 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml
@@ -1,16 +1,26 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
+ value: 0x02000000
+- enabled-by:
+ - arm/stm32h750b-dk
+ value: 0x01000000
+- enabled-by: true
+ value: 0x00000000
+description: |
+ Size of the SDRAM 2 in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SDRAM_2_SIZE
-description: |
- Size of the SDRAM 2 in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml
index 8e071f0939..364a983508 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsram1sz.yml
@@ -1,19 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0x20000
-default-by-variant:
-- value: 0x10000
- variants:
- - arm/stm32h7b3i-dk
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/stm32h7b3i-dk
+ value: 0x00010000
+- enabled-by: true
+ value: 0x00020000
+description: |
+ Size of the SRAM 1 (D2 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_1_SIZE
-description: |
- Size of the SRAM 1 (D2 domain) in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml
index 782d7ba58c..69bf938872 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsram2sz.yml
@@ -1,19 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0x20000
-default-by-variant:
-- value: 0x10000
- variants:
- - arm/stm32h7b3i-dk
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/stm32h7b3i-dk
+ value: 0x00010000
+- enabled-by: true
+ value: 0x00020000
+description: |
+ Size of the SRAM 2 (D2 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_2_SIZE
-description: |
- Size of the SRAM 2 (D2 domain) in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml
index a4cd8c4eda..2651b5fb43 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsram3sz.yml
@@ -1,19 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0x8000
-default-by-variant:
-- value: 0x0
- variants:
- - arm/stm32h7b3i-dk
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/stm32h7b3i-dk
+ value: 0x00000000
+- enabled-by: true
+ value: 0x00008000
+description: |
+ Size of the SRAM 3 (D2 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_3_SIZE
-description: |
- Size of the SRAM 3 (D2 domain) in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml b/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml
index 9749bdfc6a..378c7e66ec 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsram4sz.yml
@@ -1,19 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0x10000
-default-by-variant:
-- value: 0x8000
- variants:
- - arm/stm32h7b3i-dk
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/stm32h7b3i-dk
+ value: 0x00008000
+- enabled-by: true
+ value: 0x00010000
+description: |
+ Size of the SRAM 4 (D3 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_4_SIZE
-description: |
- Size of the SRAM 4 (D3 domain) in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml b/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml
index 89e116c1de..a450d471d5 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml
@@ -1,19 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0x80000
-default-by-variant:
-- value: 0xA0000
- variants:
- - arm/stm32h7b3i-dk
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/stm32h7b3i-dk
+ value: 0x000a0000
+- enabled-by: true
+ value: 0x00080000
+description: |
+ Size of the AXI SRAM (D1 domain) in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_AXI_SIZE
-description: |
- Size of the AXI SRAM (D1 domain) in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml b/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml
index f1c5f60bac..d9ceebb5d3 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml
@@ -1,16 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
- env-assign: null
build-type: option
-default: 0x1000
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00001000
+description: |
+ Size of backup SRAM in bytes.
enabled-by: true
format: '{:#010x}'
links: []
name: STM32H7_MEMORY_SRAM_BACKUP_SIZE
-description: |
- Size of backup SRAM in bytes.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
index 6eaf4a2011..e02a9c4fb7 100644
--- a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
+++ b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
@@ -1,16 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: stm32h7_usart1_instance
-default-by-variant: []
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/nucleo-h743zi
+ - arm/stm32h750b-dk
+ value: stm32h7_usart3_instance
+- enabled-by: true
+ value: stm32h7_usart1_instance
+description: |
+ UART/USART instance used for printk() and getchark().
enabled-by: true
format: '{}'
links: []
name: STM32H7_PRINTK_INSTANCE
-description: |
- UART/USART instance used for printk() and getchark().
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
index d7eeb63906..2fec330314 100644
--- a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
+++ b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
@@ -1,19 +1,27 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: PWR_LDO_SUPPLY
-default-by-variant:
-- value: PWR_DIRECT_SMPS_SUPPLY
- variants:
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
+ value: PWR_DIRECT_SMPS_SUPPLY
+- enabled-by: true
+ value: PWR_LDO_SUPPLY
+description: |
+ Board power supply mechanism configuration. WARNING: wrong configuration here
+ may result in your board being unaccessible using ST-Link interface! Please
+ consult board datasheet for more information about various power supply
+ options and about how to fix possible misconfiguration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_PWR_SUPPLY
-description: |
- Board power supply mechanism configuration. WARNING: wrong configuration here may result in your board being unaccessible using ST-Link interface! Please consult board datasheet for more information about various power supply options and about how to fix possible misconfiguration.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
diff --git a/spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml b/spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml
new file mode 100644
index 0000000000..0252bdab7c
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+default:
+- enabled-by: true
+ value: ( GPIO_PIN_3 | GPIO_PIN_4 )
+description: |
+ GPIO pins used for the UART7 pin configuration.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_UART7_GPIO_PINS
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml b/spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml
new file mode 100644
index 0000000000..16ce3bf526
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+default:
+- enabled-by: true
+ value: GPIOB
+description: |
+ GPIO registers used for the UART7 pin configuration.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_UART7_GPIO_REGS
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
index 049ed6a3ac..b4b2b6b774 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
@@ -1,19 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: GPIO_AF4_USART1
-default-by-variant:
-- value: GPIO_AF7_USART1
- variants:
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
- arm/stm32h7b3i-dk
+ value: GPIO_AF7_USART1
+- enabled-by: true
+ value: GPIO_AF4_USART1
+description: |
+ Alternate function mapping for the USART1 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_USART1_ALT_FUNC
-description: |
- Alternate function mapping for the USART1 pin configuration.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2022 Karel Gardas <karel@functional.vision>
diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
index 1580ded243..e1ea0e77c3 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
@@ -1,19 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: ( GPIO_PIN_14 | GPIO_PIN_15 )
-default-by-variant:
-- value: ( GPIO_PIN_9 | GPIO_PIN_10 )
- variants:
+copyrights:
+- Copyright (C) 2021, 22 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h750b-dk
+ value: ( GPIO_PIN_6 | GPIO_PIN_7 )
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
- arm/stm32h7b3i-dk
+ value: ( GPIO_PIN_9 | GPIO_PIN_10 )
+- enabled-by: true
+ value: ( GPIO_PIN_14 | GPIO_PIN_15 )
+description: |
+ GPIO pins used for the USART1 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_USART1_GPIO_PINS
-description: |
- GPIO pins used for the USART1 pin configuration.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2021-22 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
index 46d10616bb..028f023fd7 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
@@ -1,19 +1,27 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: GPIOD
-default-by-variant:
-- value: GPIOA
- variants:
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
- arm/stm32h7b3i-dk
+ value: GPIOA
+- enabled-by:
+ - arm/stm32h750b-dk
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
+ value: GPIOB
+- enabled-by: true
+ value: GPIOD
+description: |
+ GPIO registers used for the USART1 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_USART1_GPIO_REGS
-description: |
- GPIO registers used for the USART1 pin configuration.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml
new file mode 100644
index 0000000000..731d9c07f5
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+default:
+- enabled-by:
+ - 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.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_USART2_GPIO_PINS
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml
new file mode 100644
index 0000000000..9c297e2efd
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+default:
+- enabled-by: arm/stm32h750b-dk
+ value: GPIOD
+- enabled-by: true
+ value: GPIOA
+description: |
+ GPIO registers used for the USART2 pin configuration.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_USART2_GPIO_REGS
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml
index 87aad00ee0..e03d637e1a 100644
--- a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml
@@ -1,16 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: ( GPIO_PIN_8 | GPIO_PIN_9 )
-default-by-variant: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/stm32h750b-dk
+ value: ( GPIO_PIN_10 | GPIO_PIN_11 )
+- enabled-by: true
+ value: ( GPIO_PIN_8 | GPIO_PIN_9 )
+description: |
+ GPIO pins used for the USART3 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_USART3_GPIO_PINS
-description: |
- GPIO pins used for the USART3 pin configuration.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml
index 7168a00111..60dbd19c4f 100644
--- a/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml
@@ -1,16 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- define-unquoted: null
build-type: option
-default: GPIOD
-default-by-variant: []
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/stm32h750b-dk
+ value: GPIOB
+- enabled-by: true
+ value: GPIOD
+description: |
+ GPIO registers used for the USART3 pin configuration.
enabled-by: true
format: '{}'
links: []
name: STM32H7_USART3_GPIO_REGS
-description: |
- GPIO registers used for the USART3 pin configuration.
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/optvariant.yml b/spec/build/bsps/arm/stm32h7/optvariant.yml
index 5d77ece120..a24f0db988 100644
--- a/spec/build/bsps/arm/stm32h7/optvariant.yml
+++ b/spec/build/bsps/arm/stm32h7/optvariant.yml
@@ -1,3 +1,4 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-string: null
- script: |
@@ -12,21 +13,31 @@ actions:
)
conf.define_cond(value, True)
build-type: option
-default: STM32H743xx
-default-by-variant:
-- value: STM32H7B3xxQ
- variants:
- - arm/stm32h7b3i-dk
-enabled-by: true
-format: '{}'
-links: []
-name: STM32H7_VARIANT
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/stm32h7b3i-dk
+ value: STM32H7B3xxQ
+- enabled-by:
+ - arm/stm32h757i-eval
+ - arm/stm32h757i-eval-m4
+ value: STM32H757xx
+- enabled-by:
+ - arm/stm32h747i-disco
+ - arm/stm32h747i-disco-m4
+ value: STM32H747xx
+- enabled-by:
+ - arm/stm32h750b-dk
+ value: STM32H750xx
+- enabled-by: true
+ value: STM32H743xx
description: |
Select the STM32H7 series chip variant out of STM32H742xx, STM32H743xx,
STM32H745xx, STM32H747xx, STM32H750xx, STM32H753xx, STM32H755xx, STM32H757xx,
STM32H7A3xx, STM32H7A3xxQ, STM32H7B0xx, STM32H7B0xxQ, STM32H7B3xx, and
STM32H7B3xxQ.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_VARIANT
type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/stm32h7/tststm32h757i-eval.yml b/spec/build/bsps/arm/stm32h7/tststm32h757i-eval.yml
new file mode 100644
index 0000000000..4880b59579
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/tststm32h757i-eval.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ reason: null
+ state: exclude
+ tests:
+ - fsdosfsname01
+ - linpack
+ - record02
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default: []
+description: ''
+enabled-by: true
+links:
+- role: build-dependency
+ uid: ../../tstnoiconv
+- role: build-dependency
+ uid: ../../tstnolibdl
+type: build