[rtems commit] build: Format build items

Sebastian Huber sebh at rtems.org
Tue Jan 17 07:20:24 UTC 2023


Module:    rtems
Branch:    master
Commit:    336823191ab3c22f45c4ef9ac6ebaa936c5f5ff0
Changeset: http://git.rtems.org/rtems/commit/?id=336823191ab3c22f45c4ef9ac6ebaa936c5f5ff0

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Jan 12 10:03:27 2023 +0100

build: Format build items

Use yaml.dump(data, default_flow_style=False, allow_unicode=True) with a
custom representer for integer default values to format all build items.

---

 spec/build/bsps/aarch64/a53/optloadoff.yml         |  2 +-
 spec/build/bsps/aarch64/a53/optnocachelen.yml      |  2 +-
 spec/build/bsps/aarch64/a53/optramlen.yml          |  2 +-
 spec/build/bsps/aarch64/a53/optramori.yml          |  2 +-
 spec/build/bsps/aarch64/a72/optloadoff.yml         |  2 +-
 spec/build/bsps/aarch64/a72/optnocachelen.yml      |  2 +-
 spec/build/bsps/aarch64/a72/optramlen.yml          |  2 +-
 spec/build/bsps/aarch64/a72/optramori.yml          |  2 +-
 spec/build/bsps/aarch64/optmmupages.yml            |  6 +--
 spec/build/bsps/aarch64/raspberrypi/abi.yml        |  5 +--
 .../bsps/aarch64/raspberrypi/bspraspberrypi4.yml   | 52 ++++++++++------------
 .../bsps/aarch64/xilinx-versal/optloadoff.yml      |  4 +-
 .../bsps/aarch64/xilinx-versal/optnocachelen.yml   |  2 +-
 .../bsps/aarch64/xilinx-zynqmp/optloadoff.yml      |  4 +-
 .../bsps/aarch64/xilinx-zynqmp/optnocachelen.yml   |  2 +-
 spec/build/bsps/arm/atsam/optnocachesz.yml         |  2 +-
 spec/build/bsps/arm/atsam/optnullsz.yml            | 12 ++---
 spec/build/bsps/arm/atsam/optqspiflashsz.yml       |  2 +-
 spec/build/bsps/arm/atsam/opttcmsz.yml             |  2 +-
 spec/build/bsps/arm/fvp/optdevbegin.yml            |  4 +-
 spec/build/bsps/arm/fvp/optdevsize.yml             |  2 +-
 spec/build/bsps/arm/fvp/optdrambegin.yml           |  4 +-
 spec/build/bsps/arm/fvp/optdramsize.yml            |  4 +-
 spec/build/bsps/arm/fvp/optnullsize.yml            |  4 +-
 spec/build/bsps/arm/imxrt/linkcmds.yml             |  6 +--
 spec/build/bsps/arm/imxrt/linkcmdsmemory.yml       |  6 +--
 spec/build/bsps/arm/imxrt/optlinkcmds.yml          | 12 ++---
 spec/build/bsps/arm/imxrt/optmemdtcmsz.yml         | 14 +++---
 .../build/bsps/arm/imxrt/optmemextramnocachesz.yml | 14 +++---
 spec/build/bsps/arm/imxrt/optmemextramorigin.yml   | 12 ++---
 spec/build/bsps/arm/imxrt/optmemextramsz.yml       | 16 +++----
 spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml     | 16 +++----
 spec/build/bsps/arm/imxrt/optmemflashivtsz.yml     | 16 +++----
 spec/build/bsps/arm/imxrt/optmemflashorigin.yml    | 14 +++---
 spec/build/bsps/arm/imxrt/optmemflashsz.yml        | 16 +++----
 spec/build/bsps/arm/imxrt/optmemitcmsz.yml         | 16 +++----
 spec/build/bsps/arm/imxrt/optmemnullsz.yml         | 16 +++----
 spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml | 14 +++---
 spec/build/bsps/arm/imxrt/optmemocramsz.yml        | 16 +++----
 spec/build/bsps/arm/lm3s69xx/optxtalcfg.yml        |  8 ++--
 spec/build/bsps/arm/lpc24xx/optotgi2c.yml          |  6 +--
 spec/build/bsps/arm/lpc24xx/optresetvec.yml        |  4 +-
 spec/build/bsps/arm/lpc32xx/optotgi2c.yml          |  4 +-
 spec/build/bsps/arm/lpc32xx/optu3clk.yml           |  2 +-
 spec/build/bsps/arm/lpc32xx/optu4clk.yml           |  2 +-
 spec/build/bsps/arm/lpc32xx/optu5clk.yml           |  2 +-
 spec/build/bsps/arm/lpc32xx/optu6clk.yml           |  2 +-
 spec/build/bsps/arm/optgtfreq.yml                  |  2 +-
 spec/build/bsps/arm/optgtsysbase.yml               |  6 +--
 spec/build/bsps/arm/optgtsyscntcr.yml              |  6 +--
 spec/build/bsps/arm/optmmusz.yml                   |  2 +-
 spec/build/bsps/arm/raspberrypi/optnocachelen.yml  |  2 +-
 spec/build/bsps/arm/raspberrypi/optramlen.yml      |  2 +-
 spec/build/bsps/arm/stm32h7/abi.yml                | 10 ++---
 spec/build/bsps/arm/stm32h7/linkcmds.yml           |  6 +--
 spec/build/bsps/arm/stm32h7/linkcmdsflash.yml      |  6 +--
 spec/build/bsps/arm/stm32h7/linkcmdsflashsdram.yml |  6 +--
 spec/build/bsps/arm/stm32h7/linkcmdsmemory.yml     |  6 +--
 spec/build/bsps/arm/stm32h7/linkcmdssdram.yml      |  6 +--
 spec/build/bsps/arm/stm32h7/linkcmdssram.yml       |  6 +--
 spec/build/bsps/arm/stm32h7/linkcmdssramsdram.yml  |  6 +--
 spec/build/bsps/arm/stm32h7/optbootcore.yml        | 18 ++++----
 spec/build/bsps/arm/stm32h7/optenmpualign.yml      | 14 +++---
 spec/build/bsps/arm/stm32h7/optenuart4.yml         | 10 ++---
 spec/build/bsps/arm/stm32h7/optenuart5.yml         | 10 ++---
 spec/build/bsps/arm/stm32h7/optenuart7.yml         | 10 ++---
 spec/build/bsps/arm/stm32h7/optenuart8.yml         | 10 ++---
 spec/build/bsps/arm/stm32h7/optenuart9.yml         | 10 ++---
 spec/build/bsps/arm/stm32h7/optenusart1.yml        | 10 ++---
 spec/build/bsps/arm/stm32h7/optenusart10.yml       | 10 ++---
 spec/build/bsps/arm/stm32h7/optenusart2.yml        | 11 +++--
 spec/build/bsps/arm/stm32h7/optenusart3.yml        | 10 ++---
 spec/build/bsps/arm/stm32h7/optenusart6.yml        | 10 ++---
 spec/build/bsps/arm/stm32h7/optethgpiobregs.yml    | 10 ++---
 spec/build/bsps/arm/stm32h7/optethgpiogregs.yml    | 10 ++---
 spec/build/bsps/arm/stm32h7/opthse.yml             |  8 ++--
 spec/build/bsps/arm/stm32h7/optlinkcmds.yml        | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml       | 12 ++---
 spec/build/bsps/arm/stm32h7/optmemflashlatency.yml | 10 ++---
 spec/build/bsps/arm/stm32h7/optmemflashorigin.yml  | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemflashsz.yml      | 15 +++----
 spec/build/bsps/arm/stm32h7/optmemitcmsz.yml       | 16 +++----
 spec/build/bsps/arm/stm32h7/optmemnandsz.yml       | 12 ++---
 spec/build/bsps/arm/stm32h7/optmemnorsz.yml        | 12 ++---
 spec/build/bsps/arm/stm32h7/optmemnullsz.yml       | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml | 10 ++---
 spec/build/bsps/arm/stm32h7/optmemquadspisz.yml    | 12 ++---
 spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml     | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml     | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemsram1sz.yml      | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemsram2sz.yml      | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemsram3sz.yml      | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemsram4sz.yml      | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemsramaxisz.yml    | 14 +++---
 spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml | 12 ++---
 spec/build/bsps/arm/stm32h7/optprintkinstance.yml  | 10 ++---
 spec/build/bsps/arm/stm32h7/optpwrsupply.yml       | 13 +++---
 .../bsps/arm/stm32h7/optusart1alternatefunc.yml    | 10 ++---
 spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml  | 10 ++---
 spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml  | 10 ++---
 spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml  | 10 ++---
 spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml  | 10 ++---
 spec/build/bsps/arm/stm32h7/optvariant.yml         | 20 ++++-----
 spec/build/bsps/arm/xen/optloadoff.yml             |  2 +-
 spec/build/bsps/arm/xen/optnocachelen.yml          |  2 +-
 spec/build/bsps/arm/xen/optramlen.yml              |  2 +-
 spec/build/bsps/arm/xen/optramori.yml              |  2 +-
 spec/build/bsps/arm/xilinx-zynq/optint0len.yml     |  2 +-
 spec/build/bsps/arm/xilinx-zynq/optint0ori.yml     |  2 +-
 spec/build/bsps/arm/xilinx-zynq/optint1len.yml     |  2 +-
 spec/build/bsps/arm/xilinx-zynq/optint1ori.yml     |  2 +-
 spec/build/bsps/arm/xilinx-zynq/optnocachelen.yml  |  2 +-
 spec/build/bsps/arm/xilinx-zynq/optramlen.yml      | 10 ++---
 spec/build/bsps/arm/xilinx-zynq/optramori.yml      |  4 +-
 spec/build/bsps/arm/xilinx-zynqmp/optint0len.yml   |  2 +-
 spec/build/bsps/arm/xilinx-zynqmp/optint0ori.yml   |  2 +-
 spec/build/bsps/arm/xilinx-zynqmp/optint1len.yml   |  2 +-
 spec/build/bsps/arm/xilinx-zynqmp/optint1ori.yml   |  2 +-
 .../build/bsps/arm/xilinx-zynqmp/optnocachelen.yml |  2 +-
 spec/build/bsps/arm/xilinx-zynqmp/optramlen.yml    |  4 +-
 spec/build/bsps/arm/xilinx-zynqmp/optramori.yml    |  2 +-
 spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml     |  2 +-
 spec/build/bsps/dev/irq/optarmgic-icc-bpr1.yml     |  2 +-
 spec/build/bsps/dev/irq/optarmgic-icc-ctrl.yml     |  2 +-
 spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml  |  2 +-
 spec/build/bsps/dev/irq/optarmgic-icc-igrpen1.yml  |  2 +-
 spec/build/bsps/dev/irq/optarmgic-icc-pmr.yml      |  2 +-
 spec/build/bsps/dev/irq/optarmgic-icc-sre.yml      |  2 +-
 spec/build/bsps/i386/pc386/optrelocaddr.yml        |  2 +-
 .../microblaze_fpga/opttimerbaseaddress.yml        |  2 +-
 spec/build/bsps/optxilsupportpath.yml              |  2 +-
 spec/build/bsps/powerpc/gen5200/optgpiomsk.yml     |  4 +-
 spec/build/bsps/powerpc/gen5200/optgpioval.yml     |  4 +-
 spec/build/bsps/powerpc/gen5200/optuartmsk.yml     |  8 ++--
 spec/build/bsps/powerpc/gen83xx/optnet0phy.yml     |  6 +--
 spec/build/bsps/powerpc/psim/optvecbase.yml        |  2 +-
 spec/build/bsps/powerpc/qoriq/optbucsr.yml         |  2 +-
 spec/build/bsps/powerpc/qoriq/opthid0.yml          |  2 +-
 spec/build/bsps/powerpc/qoriq/opticombegin.yml     |  2 +-
 spec/build/bsps/powerpc/qoriq/opticomsz.yml        |  2 +-
 spec/build/bsps/powerpc/qoriq/optmas7.yml          |  4 +-
 spec/build/bsps/powerpc/qoriq/optmsr.yml           |  6 +--
 spec/build/bsps/powerpc/qoriq/optspefscr.yml       |  2 +-
 spec/build/bsps/powerpc/ss555/optwdgtimeout.yml    |  2 +-
 spec/build/bsps/powerpc/virtex/optfastramlen.yml   |  2 +-
 spec/build/bsps/powerpc/virtex/optfastramorg.yml   |  2 +-
 spec/build/bsps/powerpc/virtex/optramlen.yml       |  2 +-
 spec/build/bsps/powerpc/virtex/optramorg.yml       |  2 +-
 spec/build/bsps/powerpc/virtex/optresetlen.yml     |  2 +-
 spec/build/bsps/powerpc/virtex/optresetorg.yml     |  2 +-
 spec/build/bsps/powerpc/virtex4/optvecbase.yml     |  2 +-
 spec/build/bsps/powerpc/virtex5/optvecbase.yml     |  2 +-
 spec/build/bsps/riscv/optrambegin.yml              |  8 ++--
 spec/build/bsps/riscv/optramsize.yml               |  8 ++--
 154 files changed, 540 insertions(+), 544 deletions(-)

diff --git a/spec/build/bsps/aarch64/a53/optloadoff.yml b/spec/build/bsps/aarch64/a53/optloadoff.yml
index cce5dbc627..bdd9856afc 100644
--- a/spec/build/bsps/aarch64/a53/optloadoff.yml
+++ b/spec/build/bsps/aarch64/a53/optloadoff.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 32768
+default: 0x00008000
 default-by-variant: []
 description: |
   offset of RAM region from memory area base
diff --git a/spec/build/bsps/aarch64/a53/optnocachelen.yml b/spec/build/bsps/aarch64/a53/optnocachelen.yml
index 0255838dd0..8655f7a6dd 100644
--- a/spec/build/bsps/aarch64/a53/optnocachelen.yml
+++ b/spec/build/bsps/aarch64/a53/optnocachelen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 1048576
+default: 0x00100000
 default-by-variant: []
 description: |
   length of nocache RAM region
diff --git a/spec/build/bsps/aarch64/a53/optramlen.yml b/spec/build/bsps/aarch64/a53/optramlen.yml
index b67c427b1d..2d84831938 100644
--- a/spec/build/bsps/aarch64/a53/optramlen.yml
+++ b/spec/build/bsps/aarch64/a53/optramlen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 0x8000000
+default: 0x08000000
 default-by-variant: []
 description: |
   length of memory area available to the BSP
diff --git a/spec/build/bsps/aarch64/a53/optramori.yml b/spec/build/bsps/aarch64/a53/optramori.yml
index fdf50787fe..9601637c0e 100644
--- a/spec/build/bsps/aarch64/a53/optramori.yml
+++ b/spec/build/bsps/aarch64/a53/optramori.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 1073741824
+default: 0x40000000
 default-by-variant: []
 description: |
   base address of memory area available to the BSP
diff --git a/spec/build/bsps/aarch64/a72/optloadoff.yml b/spec/build/bsps/aarch64/a72/optloadoff.yml
index cbe390c2f6..6d068e4297 100644
--- a/spec/build/bsps/aarch64/a72/optloadoff.yml
+++ b/spec/build/bsps/aarch64/a72/optloadoff.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 32768
+default: 0x00008000
 default-by-variant: []
 description: |
   offset of RAM region from memory area base
diff --git a/spec/build/bsps/aarch64/a72/optnocachelen.yml b/spec/build/bsps/aarch64/a72/optnocachelen.yml
index 47d55be601..de4c4d5888 100644
--- a/spec/build/bsps/aarch64/a72/optnocachelen.yml
+++ b/spec/build/bsps/aarch64/a72/optnocachelen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 1048576
+default: 0x00100000
 default-by-variant: []
 description: |
   length of nocache RAM region
diff --git a/spec/build/bsps/aarch64/a72/optramlen.yml b/spec/build/bsps/aarch64/a72/optramlen.yml
index b18ef2ff08..d6cfe6ade8 100644
--- a/spec/build/bsps/aarch64/a72/optramlen.yml
+++ b/spec/build/bsps/aarch64/a72/optramlen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 0x8000000
+default: 0x08000000
 default-by-variant: []
 description: |
   length of memory area available to the BSP
diff --git a/spec/build/bsps/aarch64/a72/optramori.yml b/spec/build/bsps/aarch64/a72/optramori.yml
index be92685f83..5865fd604d 100644
--- a/spec/build/bsps/aarch64/a72/optramori.yml
+++ b/spec/build/bsps/aarch64/a72/optramori.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 1073741824
+default: 0x40000000
 default-by-variant: []
 description: |
   base address of memory area available to the BSP
diff --git a/spec/build/bsps/aarch64/optmmupages.yml b/spec/build/bsps/aarch64/optmmupages.yml
index d737002f87..4dd4644130 100644
--- a/spec/build/bsps/aarch64/optmmupages.yml
+++ b/spec/build/bsps/aarch64/optmmupages.yml
@@ -1,14 +1,14 @@
 SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
-- assert-ge: 0x1
-- assert-le: 0x800
+- assert-ge: 1
+- assert-le: 2048
 - env-assign: null
 - format-and-define: null
 build-type: option
 copyrights:
 - Copyright (C) 2021 On-Line Applications Research (OAR)
-default: 0x40
+default: 0x00000040
 default-by-variant: []
 description: |
   Defines the number of MMU translation table pages to provide.
diff --git a/spec/build/bsps/aarch64/raspberrypi/abi.yml b/spec/build/bsps/aarch64/raspberrypi/abi.yml
index 1c4c35d911..60ce528dc4 100644
--- a/spec/build/bsps/aarch64/raspberrypi/abi.yml
+++ b/spec/build/bsps/aarch64/raspberrypi/abi.yml
@@ -9,12 +9,11 @@ copyrights:
 default:
 - -mcpu=cortex-a72
 - -march=armv8-a
-
 default-by-variant: []
-includes: []
 description: |
   ABI flags
-links: []
 enabled-by: true
+includes: []
+links: []
 name: ABI_FLAGS
 type: build
diff --git a/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml b/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml
index 36aff5d5f6..a579c094ba 100644
--- a/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml
+++ b/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml
@@ -14,37 +14,10 @@ install:
   source:
   - bsps/aarch64/raspberrypi/include/bsp.h
   - bsps/aarch64/raspberrypi/include/tm27.h
-
 - destination: ${BSP_INCLUDEDIR}/bsp
   source:
   - bsps/aarch64/raspberrypi/include/bsp/irq.h
   - bsps/aarch64/raspberrypi/include/bsp/raspberrypi.h
-
-source:
-- bsps/aarch64/raspberrypi/console/console.c
-- bsps/aarch64/raspberrypi/start/bspstart.c
-- bsps/aarch64/raspberrypi/start/bspstarthooks.c
-- bsps/aarch64/raspberrypi/start/bspstartmmu.c
-- bsps/aarch64/shared/clock/arm-generic-timer-aarch64.c
-- bsps/aarch64/shared/cache/cache.c
-- bsps/aarch64/shared/mmu/vmsav8-64.c
-- bsps/shared/dev/clock/arm-generic-timer.c
-- bsps/shared/dev/irq/arm-gicv2.c
-- bsps/shared/dev/irq/arm-gicv2-get-attributes.c
-- bsps/shared/dev/serial/console-termios-init.c
-- bsps/shared/dev/serial/console-termios.c
-- bsps/shared/dev/serial/arm-pl011.c
-- bsps/shared/dev/getentropy/getentropy-cpucounter.c
-- bsps/shared/dev/btimer/btimer-cpucounter.c
-- bsps/shared/irq/irq-default-handler.c
-- bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspreset-arm-psci.c
-- bsps/shared/start/gettargethash-default.c
-- bsps/shared/start/sbrk.c
-- bsps/shared/start/wkspaceinitone.c
-- bsps/shared/start/mallocinitmulti.c
-- bsps/shared/start/bspgetworkarea-default.c
-
 links:
 - role: build-dependency
   uid: ../grp
@@ -72,5 +45,28 @@ links:
   uid: ../../obj
 - role: build-dependency
   uid: ../../objirq
-
+source:
+- bsps/aarch64/raspberrypi/console/console.c
+- bsps/aarch64/raspberrypi/start/bspstart.c
+- bsps/aarch64/raspberrypi/start/bspstarthooks.c
+- bsps/aarch64/raspberrypi/start/bspstartmmu.c
+- bsps/aarch64/shared/clock/arm-generic-timer-aarch64.c
+- bsps/aarch64/shared/cache/cache.c
+- bsps/aarch64/shared/mmu/vmsav8-64.c
+- bsps/shared/dev/clock/arm-generic-timer.c
+- bsps/shared/dev/irq/arm-gicv2.c
+- bsps/shared/dev/irq/arm-gicv2-get-attributes.c
+- bsps/shared/dev/serial/console-termios-init.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/dev/serial/arm-pl011.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/btimer/btimer-cpucounter.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/bspreset-arm-psci.c
+- bsps/shared/start/gettargethash-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/wkspaceinitone.c
+- bsps/shared/start/mallocinitmulti.c
+- bsps/shared/start/bspgetworkarea-default.c
 type: build
diff --git a/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml b/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml
index 577a1451dd..4a7fdc489e 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/optloadoff.yml
@@ -7,9 +7,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2021 Gedare Bloom <gedare at rtems.org>
-default: 0x0
+default: 0x00000000
 default-by-variant:
-- value: 32768
+- value: 0x00008000
   variants:
   - aarch64/xilinx_versal_qemu
 description: |
diff --git a/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml b/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml
index 97c1c8bfab..73a57964e1 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/optnocachelen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2021 Gedare Bloom <gedare at rtems.org>
-default: 0x100000
+default: 0x00100000
 default-by-variant: []
 description: |
   length of nocache RAM region
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml
index 976a4aeb0e..0711fe3f79 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml
@@ -7,9 +7,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 32768
+default: 0x00008000
 default-by-variant:
-- value: 0x0
+- value: 0x00000000
   variants:
   - aarch64/xilinx_zynqmp_lp64_cfc400x
   - aarch64/xilinx_zynqmp_lp64_zu3eg
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml
index 58d2c34b41..3164c7b63d 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optnocachelen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 On-Line Applications Research (OAR)
-default: 0x100000
+default: 0x00100000
 default-by-variant: []
 description: |
   length of nocache RAM region
diff --git a/spec/build/bsps/arm/atsam/optnocachesz.yml b/spec/build/bsps/arm/atsam/optnocachesz.yml
index 433633d3b0..d7d4783260 100644
--- a/spec/build/bsps/arm/atsam/optnocachesz.yml
+++ b/spec/build/bsps/arm/atsam/optnocachesz.yml
@@ -6,7 +6,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 4096
+default: 0x00001000
 default-by-variant: []
 description: |
   size of NOCACHE section in bytes
diff --git a/spec/build/bsps/arm/atsam/optnullsz.yml b/spec/build/bsps/arm/atsam/optnullsz.yml
index d992c286e7..6e316b44b4 100644
--- a/spec/build/bsps/arm/atsam/optnullsz.yml
+++ b/spec/build/bsps/arm/atsam/optnullsz.yml
@@ -3,15 +3,15 @@ actions:
 - get-integer: null
 - env-assign: null
 build-type: option
-default: 0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00000000
 default-by-variant: []
+description: |
+  Size of the NULL pointer protection area in bytes.  This memory area reduces
+  the size of the ITCM available to the application.
 enabled-by: true
 format: '{:#010x}'
 links: []
 name: ATSAM_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.
 type: build
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
diff --git a/spec/build/bsps/arm/atsam/optqspiflashsz.yml b/spec/build/bsps/arm/atsam/optqspiflashsz.yml
index a9a71b049f..49f15891b0 100644
--- a/spec/build/bsps/arm/atsam/optqspiflashsz.yml
+++ b/spec/build/bsps/arm/atsam/optqspiflashsz.yml
@@ -6,7 +6,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 2097152
+default: 0x00200000
 default-by-variant: []
 description: |
   size of QSPI flash in bytes
diff --git a/spec/build/bsps/arm/atsam/opttcmsz.yml b/spec/build/bsps/arm/atsam/opttcmsz.yml
index da3e575f55..1cb51fcc78 100644
--- a/spec/build/bsps/arm/atsam/opttcmsz.yml
+++ b/spec/build/bsps/arm/atsam/opttcmsz.yml
@@ -6,7 +6,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant: []
 description: |
   Size of tightly coupled memories (TCM) in bytes.  Note that the ITCM is
diff --git a/spec/build/bsps/arm/fvp/optdevbegin.yml b/spec/build/bsps/arm/fvp/optdevbegin.yml
index d7522d0fd7..9736a6a4a3 100644
--- a/spec/build/bsps/arm/fvp/optdevbegin.yml
+++ b/spec/build/bsps/arm/fvp/optdevbegin.yml
@@ -8,9 +8,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 436207616
+default: 0x1a000000
 default-by-variant:
-- value: 2583691264
+- value: 0x9a000000
   variants:
   - arm/fvp_cortex_r52
 description: |
diff --git a/spec/build/bsps/arm/fvp/optdevsize.yml b/spec/build/bsps/arm/fvp/optdevsize.yml
index ca6468510c..03da209c05 100644
--- a/spec/build/bsps/arm/fvp/optdevsize.yml
+++ b/spec/build/bsps/arm/fvp/optdevsize.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 354418688
+default: 0x15200000
 default-by-variant: []
 description: |
   Defines the size in bytes of the device area.
diff --git a/spec/build/bsps/arm/fvp/optdrambegin.yml b/spec/build/bsps/arm/fvp/optdrambegin.yml
index 7a44b2086f..13b459042b 100644
--- a/spec/build/bsps/arm/fvp/optdrambegin.yml
+++ b/spec/build/bsps/arm/fvp/optdrambegin.yml
@@ -7,9 +7,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 2147483648
+default: 0x80000000
 default-by-variant:
-- value: 1024
+- value: 0x00000400
   variants:
   - arm/fvp_cortex_r52
 description: |
diff --git a/spec/build/bsps/arm/fvp/optdramsize.yml b/spec/build/bsps/arm/fvp/optdramsize.yml
index 9ae2a8afe8..2bfd9d1595 100644
--- a/spec/build/bsps/arm/fvp/optdramsize.yml
+++ b/spec/build/bsps/arm/fvp/optdramsize.yml
@@ -7,9 +7,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 33554432
+default: 0x02000000
 default-by-variant:
-- value: 33553408
+- value: 0x01fffc00
   variants:
   - arm/fvp_cortex_r52
 description: |
diff --git a/spec/build/bsps/arm/fvp/optnullsize.yml b/spec/build/bsps/arm/fvp/optnullsize.yml
index 3d6b60b7eb..afe707c52b 100644
--- a/spec/build/bsps/arm/fvp/optnullsize.yml
+++ b/spec/build/bsps/arm/fvp/optnullsize.yml
@@ -7,9 +7,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1048576
+default: 0x00100000
 default-by-variant:
-- value: 1024
+- value: 0x00000400
   variants:
   - arm/fvp_cortex_r52
 description: |
diff --git a/spec/build/bsps/arm/imxrt/linkcmds.yml b/spec/build/bsps/arm/imxrt/linkcmds.yml
index 3e57b9fd7c..9a4fc8bb56 100644
--- a/spec/build/bsps/arm/imxrt/linkcmds.yml
+++ b/spec/build/bsps/arm/imxrt/linkcmds.yml
@@ -1,11 +1,11 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 build-type: config-file
 content: |
   INCLUDE ${IMXRT_DEFAULT_LINKCMDS}
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 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/imxrt/linkcmdsmemory.yml b/spec/build/bsps/arm/imxrt/linkcmdsmemory.yml
index 6b4a36955a..2d8187052f 100644
--- a/spec/build/bsps/arm/imxrt/linkcmdsmemory.yml
+++ b/spec/build/bsps/arm/imxrt/linkcmdsmemory.yml
@@ -1,3 +1,4 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 build-type: config-file
 content: |
   MEMORY {
@@ -57,11 +58,10 @@ content: |
   imxrt_memory_extram_nocache_begin = ORIGIN (EXTRAM_NOCACHE);
   imxrt_memory_extram_nocache_end = ORIGIN (EXTRAM_NOCACHE) + LENGTH (EXTRAM_NOCACHE);
   imxrt_memory_extram_nocache_size = LENGTH (EXTRAM_NOCACHE);
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 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/imxrt/optlinkcmds.yml b/spec/build/bsps/arm/imxrt/optlinkcmds.yml
index 4349ad332e..cb398b4a89 100644
--- a/spec/build/bsps/arm/imxrt/optlinkcmds.yml
+++ b/spec/build/bsps/arm/imxrt/optlinkcmds.yml
@@ -1,17 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-string: null
 - env-assign: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: linkcmds.flexspi
 default-by-variant: []
+description: |
+  The default linker command file.  Must be linkcmds.sdram, linkcmds.ocram or
+  linkcmds.flexspi.
 enabled-by: true
 format: '{}'
 links: []
 name: IMXRT_DEFAULT_LINKCMDS
-description: |
-  The default linker command file.  Must be linkcmds.sdram, linkcmds.ocram or
-  linkcmds.flexspi.
 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/imxrt/optmemdtcmsz.yml b/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml
index 1bd57fac08..646460c48b 100644
--- a/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml
@@ -1,17 +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
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00020000
 default-by-variant: []
+description: |
+  Size of the DTCM in bytes. Note that these sizes depend on fuses or software
+  settings done by a bootloader (together with ITCM and OCRAM).
 enabled-by: true
 format: '{:#010x}'
 links: []
 name: IMXRT_MEMORY_DTCM_SIZE
-description: |
-  Size of the DTCM in bytes. Note that these sizes depend on fuses or software
-  settings done by a bootloader (together with ITCM and OCRAM).
 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/imxrt/optmemextramnocachesz.yml b/spec/build/bsps/arm/imxrt/optmemextramnocachesz.yml
index 8b6dba859a..e4e2616a1e 100644
--- a/spec/build/bsps/arm/imxrt/optmemextramnocachesz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemextramnocachesz.yml
@@ -1,17 +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: 1048576
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00100000
 default-by-variant: []
+description: |
+  Size of the nocache area at the end of the external RAM in bytes.  Must not be
+  bigger than IMXRT_MEMORY_EXTRAM_SIZE.
 enabled-by: true
 format: '{:#010x}'
 links: []
 name: IMXRT_MEMORY_EXTRAM_NOCACHE_SIZE
-description: |
-  Size of the nocache area at the end of the external RAM in bytes.  Must not be
-  bigger than IMXRT_MEMORY_EXTRAM_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/imxrt/optmemextramorigin.yml b/spec/build/bsps/arm/imxrt/optmemextramorigin.yml
index 98350d2e2f..c0becc935a 100644
--- a/spec/build/bsps/arm/imxrt/optmemextramorigin.yml
+++ b/spec/build/bsps/arm/imxrt/optmemextramorigin.yml
@@ -1,17 +1,17 @@
+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 (http://www.embedded-brains.de)
 default: 0x80000000
 default-by-variant: []
+description: |
+  Base address of the external RAM.  An external ram can be for example be a
+  SDRAM connected to SEMC or a HyperRAM connected to FlexSPI.
 enabled-by: true
 format: '{:#010x}'
 links: []
 name: IMXRT_MEMORY_EXTRAM_ORIGIN
-description: |
-  Base address of the external RAM.  An external ram can be for example be a
-  SDRAM connected to SEMC or a HyperRAM connected to FlexSPI.
 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/imxrt/optmemextramsz.yml b/spec/build/bsps/arm/imxrt/optmemextramsz.yml
index 6999add5cc..b547ec44fe 100644
--- a/spec/build/bsps/arm/imxrt/optmemextramsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemextramsz.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: 0x2000000
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x02000000
 default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: IMXRT_MEMORY_EXTRAM_SIZE
 description: |
   Size of the external RAM in bytes.  An external ram can be for example be a
   SDRAM connected to SEMC or a HyperRAM connected to FlexSPI.  The size has to
   be at least big enough to hold the non cached section with size
   IMXRT_MEMORY_EXTRAM_NOCACHE_SIZE at the end of the RAM.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_EXTRAM_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/imxrt/optmemflashcfgsz.yml b/spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml
index cd65a7a442..4c1e4b3276 100644
--- a/spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemflashcfgsz.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: 0x1000
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00001000
 default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: IMXRT_MEMORY_FLASH_CFG_SIZE
 description: |
   Size of the flash configuration area at the start of the FlexSPI / SEMC flash
   in bytes. Either 4 KByte for FlexSPI NOR / SEMC NOR or 1 Kbyte for most other.
   Take a look at the i.MX RT1050 Processor Reference Manual chapter 9.7 "Program
   image" for details.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_FLASH_CFG_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/imxrt/optmemflashivtsz.yml b/spec/build/bsps/arm/imxrt/optmemflashivtsz.yml
index d1d9516951..0af2fc2981 100644
--- a/spec/build/bsps/arm/imxrt/optmemflashivtsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemflashivtsz.yml
@@ -1,18 +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: 0x1000
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00001000
 default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: IMXRT_MEMORY_FLASH_IVT_SIZE
 description: |
   Size of the image vector table, boot data structure, device configuration data
   and similar program image header information. Take a look at the i.MX RT1050
   Processor Reference Manual chapter 9.7 "Program image" for details.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_FLASH_IVT_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/imxrt/optmemflashorigin.yml b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
index 882ade680c..4805d319cf 100644
--- a/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
+++ b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
@@ -1,19 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 - define-unquoted: IMXRT_MEMORY_FLASH_ORIGIN
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: 0x60000000
 default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: IMXRT_MEMORY_FLASH_ORIGIN
 description: |
   Origin of the external flash memory.  That can be for example a flash
   connected to FlexSPI or to SEMC.  The default value is for a HyperFlash
   connected to FlexSPI.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_FLASH_ORIGIN
 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/imxrt/optmemflashsz.yml b/spec/build/bsps/arm/imxrt/optmemflashsz.yml
index c474dd256e..6683977ef2 100644
--- a/spec/build/bsps/arm/imxrt/optmemflashsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemflashsz.yml
@@ -1,20 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 - define-unquoted: IMXRT_MEMORY_FLASH_SIZE
 build-type: option
-default: 0x4000000
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x04000000
 default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: IMXRT_MEMORY_FLASH_SIZE
 description: |
   Size of the external flash area in bytes.  Has to be big enough to hold the
   i.MXRT initial vector table (IVT) and configuration information.  The sizes of
   these are defined with IMXRT_MEMORY_FLASH_IVT_SIZE and
   IMXRT_MEMORY_FLASH_CFG_SIZE.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_FLASH_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/imxrt/optmemitcmsz.yml b/spec/build/bsps/arm/imxrt/optmemitcmsz.yml
index 7795b2becb..83d3c75f4b 100644
--- a/spec/build/bsps/arm/imxrt/optmemitcmsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemitcmsz.yml
@@ -1,18 +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: 0x1ff00
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x0001ff00
 default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: IMXRT_MEMORY_ITCM_SIZE
 description: |
   Size of the ITCM in bytes.  Note that these sizes depend on fuses or software
   settings done by a bootloader (together with DTCM and OCRAM).  The ITCM size
   has to take the IMXRT_MEMORY_NULL_SIZE into account!
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_ITCM_SIZE
 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/imxrt/optmemnullsz.yml b/spec/build/bsps/arm/imxrt/optmemnullsz.yml
index d737ef0e60..029a996203 100644
--- a/spec/build/bsps/arm/imxrt/optmemnullsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemnullsz.yml
@@ -1,18 +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: 0x100
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00000100
 default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: IMXRT_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.  If you adapt this, you
   have to adapt IMXRT_MEMORY_ITCM_SIZE too.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_NULL_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/imxrt/optmemocramnocachesz.yml b/spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml
index 942dd60de2..6b738a2a08 100644
--- a/spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemocramnocachesz.yml
@@ -1,17 +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
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00000000
 default-by-variant: []
+description: |
+  Size of the nocache area at the end of the OCRAM in bytes.  Must not be bigger
+  than IMXRT_MEMORY_OCRAM_SIZE.
 enabled-by: true
 format: '{:#010x}'
 links: []
 name: IMXRT_MEMORY_OCRAM_NOCACHE_SIZE
-description: |
-  Size of the nocache area at the end of the OCRAM in bytes.  Must not be bigger
-  than IMXRT_MEMORY_OCRAM_SIZE.
 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/imxrt/optmemocramsz.yml b/spec/build/bsps/arm/imxrt/optmemocramsz.yml
index 9e264f69be..b37b84eb77 100644
--- a/spec/build/bsps/arm/imxrt/optmemocramsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemocramsz.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: 0x40000
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00040000
 default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: IMXRT_MEMORY_OCRAM_SIZE
 description: |
   Size of the OCRAM in bytes.  Note that these sizes depend on fuses or software
   settings done by a bootloader (together with ITCM and DTCM).  The size has to
   be at least big enough to hold the non cached section with size
   IMXRT_MEMORY_OCRAM_NOCACHE_SIZE at the end of the RAM.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_OCRAM_SIZE
 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/lm3s69xx/optxtalcfg.yml b/spec/build/bsps/arm/lm3s69xx/optxtalcfg.yml
index d034385cd3..9fe5306005 100644
--- a/spec/build/bsps/arm/lm3s69xx/optxtalcfg.yml
+++ b/spec/build/bsps/arm/lm3s69xx/optxtalcfg.yml
@@ -5,15 +5,15 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant:
-- value: 14
+- value: 0x0000000e
   variants:
   - arm/lm3s6965.*
-- value: 16
+- value: 0x00000010
   variants:
   - arm/lm3s3749.*
-- value: 21
+- value: 0x00000015
   variants:
   - arm/lm4f120.*
 description: |
diff --git a/spec/build/bsps/arm/lpc24xx/optotgi2c.yml b/spec/build/bsps/arm/lpc24xx/optotgi2c.yml
index 4e205cb0af..574dcf3430 100644
--- a/spec/build/bsps/arm/lpc24xx/optotgi2c.yml
+++ b/spec/build/bsps/arm/lpc24xx/optotgi2c.yml
@@ -5,12 +5,12 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant:
-- value: 94
+- value: 0x0000005e
   variants:
   - arm/lpc17xx_ea.*
-- value: 94
+- value: 0x0000005e
   variants:
   - arm/lpc40xx_ea.*
 description: |
diff --git a/spec/build/bsps/arm/lpc24xx/optresetvec.yml b/spec/build/bsps/arm/lpc24xx/optresetvec.yml
index a73530db7b..96e57b3adb 100644
--- a/spec/build/bsps/arm/lpc24xx/optresetvec.yml
+++ b/spec/build/bsps/arm/lpc24xx/optresetvec.yml
@@ -5,9 +5,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant:
-- value: 2147483712
+- value: 0x80000040
   variants:
   - arm/lpc24xx_ncs_rom_ext
 description: |
diff --git a/spec/build/bsps/arm/lpc32xx/optotgi2c.yml b/spec/build/bsps/arm/lpc32xx/optotgi2c.yml
index 72137d9c27..0931bda7ca 100644
--- a/spec/build/bsps/arm/lpc32xx/optotgi2c.yml
+++ b/spec/build/bsps/arm/lpc32xx/optotgi2c.yml
@@ -5,9 +5,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant:
-- value: 88
+- value: 0x00000058
   variants:
   - arm/lpc32xx_mzx.*
 description: |
diff --git a/spec/build/bsps/arm/lpc32xx/optu3clk.yml b/spec/build/bsps/arm/lpc32xx/optu3clk.yml
index e8aa25671f..ee0f7f3157 100644
--- a/spec/build/bsps/arm/lpc32xx/optu3clk.yml
+++ b/spec/build/bsps/arm/lpc32xx/optu3clk.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 4998
+default: 0x00001386
 default-by-variant: []
 description: |
   clock configuration for UART 3
diff --git a/spec/build/bsps/arm/lpc32xx/optu4clk.yml b/spec/build/bsps/arm/lpc32xx/optu4clk.yml
index 19c36967e1..4d4f014f7f 100644
--- a/spec/build/bsps/arm/lpc32xx/optu4clk.yml
+++ b/spec/build/bsps/arm/lpc32xx/optu4clk.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 4998
+default: 0x00001386
 default-by-variant: []
 description: |
   clock configuration for UART 4
diff --git a/spec/build/bsps/arm/lpc32xx/optu5clk.yml b/spec/build/bsps/arm/lpc32xx/optu5clk.yml
index 66a67dea95..5226085029 100644
--- a/spec/build/bsps/arm/lpc32xx/optu5clk.yml
+++ b/spec/build/bsps/arm/lpc32xx/optu5clk.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 4998
+default: 0x00001386
 default-by-variant: []
 description: |
   clock configuration for UART 5
diff --git a/spec/build/bsps/arm/lpc32xx/optu6clk.yml b/spec/build/bsps/arm/lpc32xx/optu6clk.yml
index 364e3143f9..03437e6fe0 100644
--- a/spec/build/bsps/arm/lpc32xx/optu6clk.yml
+++ b/spec/build/bsps/arm/lpc32xx/optu6clk.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 4998
+default: 0x00001386
 default-by-variant: []
 description: |
   clock configuration for UART 6
diff --git a/spec/build/bsps/arm/optgtfreq.yml b/spec/build/bsps/arm/optgtfreq.yml
index 71d356428a..192f4bf651 100644
--- a/spec/build/bsps/arm/optgtfreq.yml
+++ b/spec/build/bsps/arm/optgtfreq.yml
@@ -12,8 +12,8 @@ default-by-variant:
   - arm/fvp_cortex_r52
 description: |
   Defines the frequency in Hz of the ARM Generic Timer.
-format: '{}'
 enabled-by: true
+format: '{}'
 links: []
 name: ARM_GENERIC_TIMER_FREQ
 type: build
diff --git a/spec/build/bsps/arm/optgtsysbase.yml b/spec/build/bsps/arm/optgtsysbase.yml
index 9f684baedc..e8d089a9dd 100644
--- a/spec/build/bsps/arm/optgtsysbase.yml
+++ b/spec/build/bsps/arm/optgtsysbase.yml
@@ -5,15 +5,15 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 709033984
+default: 0x2a430000
 default-by-variant:
-- value: 2856517632
+- value: 0xaa430000
   variants:
   - arm/fvp_cortex_r52
 description: |
   Defines the base address of the memory-mapped system level ARM Generic Timer.
-format: '{:#010x}'
 enabled-by: true
+format: '{:#010x}'
 links: []
 name: ARM_GENERIC_TIMER_SYSTEM_BASE
 type: build
diff --git a/spec/build/bsps/arm/optgtsyscntcr.yml b/spec/build/bsps/arm/optgtsyscntcr.yml
index 6278bf0f53..ff10881203 100644
--- a/spec/build/bsps/arm/optgtsyscntcr.yml
+++ b/spec/build/bsps/arm/optgtsyscntcr.yml
@@ -5,16 +5,16 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1
+default: 0x00000001
 default-by-variant:
-- value: 257
+- value: 0x00000101
   variants:
   - arm/fvp_cortex_r52
 description: |
   Defines the initialization value of the CNTCR register of the memory-mapped
   system level ARM Generic Timer.
-format: '{:#010x}'
 enabled-by: true
+format: '{:#010x}'
 links: []
 name: ARM_GENERIC_TIMER_SYSTEM_CNTCR
 type: build
diff --git a/spec/build/bsps/arm/optmmusz.yml b/spec/build/bsps/arm/optmmusz.yml
index 64c97be60a..2051112683 100644
--- a/spec/build/bsps/arm/optmmusz.yml
+++ b/spec/build/bsps/arm/optmmusz.yml
@@ -8,7 +8,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 16384
+default: 0x00004000
 default-by-variant: []
 description: |
   Defines the size of the MMU translation table in bytes.  The translation
diff --git a/spec/build/bsps/arm/raspberrypi/optnocachelen.yml b/spec/build/bsps/arm/raspberrypi/optnocachelen.yml
index b9d9071b17..436ada3955 100644
--- a/spec/build/bsps/arm/raspberrypi/optnocachelen.yml
+++ b/spec/build/bsps/arm/raspberrypi/optnocachelen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 2097152
+default: 0x00200000
 default-by-variant: []
 description: |
   No-cache region length
diff --git a/spec/build/bsps/arm/raspberrypi/optramlen.yml b/spec/build/bsps/arm/raspberrypi/optramlen.yml
index 040d514dad..df409a3341 100644
--- a/spec/build/bsps/arm/raspberrypi/optramlen.yml
+++ b/spec/build/bsps/arm/raspberrypi/optramlen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 268435456
+default: 0x10000000
 default-by-variant: []
 description: |
   RAM region length
diff --git a/spec/build/bsps/arm/stm32h7/abi.yml b/spec/build/bsps/arm/stm32h7/abi.yml
index 38cb179707..1f48596190 100644
--- a/spec/build/bsps/arm/stm32h7/abi.yml
+++ b/spec/build/bsps/arm/stm32h7/abi.yml
@@ -1,8 +1,11 @@
+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 (http://www.embedded-brains.de)
 default:
 - -mthumb
 - -mcpu=cortex-m7
@@ -17,12 +20,9 @@ default-by-variant:
   variants:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco-m4
+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/linkcmds.yml b/spec/build/bsps/arm/stm32h7/linkcmds.yml
index 95f31bbedb..371bf15d2f 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 (http://www.embedded-brains.de)
 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..9364e960c2 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 (http://www.embedded-brains.de)
 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
index 58f0701f8a..05d20d0402 100644
--- a/spec/build/bsps/arm/stm32h7/linkcmdsflashsdram.yml
+++ b/spec/build/bsps/arm/stm32h7/linkcmdsflashsdram.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 (http://www.embedded-brains.de)
 do-build: |
   bld.install_as("${BSP_LIBDIR}/linkcmds.flash_sdram", "linkcmds.flash_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/linkcmdsmemory.yml b/spec/build/bsps/arm/stm32h7/linkcmdsmemory.yml
index 78f0308832..6f320d336c 100644
--- a/spec/build/bsps/arm/stm32h7/linkcmdsmemory.yml
+++ b/spec/build/bsps/arm/stm32h7/linkcmdsmemory.yml
@@ -1,3 +1,4 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 build-type: config-file
 content: |
   MEMORY {
@@ -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 (http://www.embedded-brains.de)
 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..f3588a68d4 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 (http://www.embedded-brains.de)
 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
index 808bff3627..1edc7fc515 100644
--- a/spec/build/bsps/arm/stm32h7/linkcmdssram.yml
+++ b/spec/build/bsps/arm/stm32h7/linkcmdssram.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 (http://www.embedded-brains.de)
 do-build: |
   bld.install_as("${BSP_LIBDIR}/linkcmds.sram", "linkcmds.sram")
 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/linkcmdssramsdram.yml b/spec/build/bsps/arm/stm32h7/linkcmdssramsdram.yml
index 9ed23d1544..a541f36be1 100644
--- a/spec/build/bsps/arm/stm32h7/linkcmdssramsdram.yml
+++ b/spec/build/bsps/arm/stm32h7/linkcmdssramsdram.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 (http://www.embedded-brains.de)
 do-build: |
   bld.install_as("${BSP_LIBDIR}/linkcmds.sram_sdram", "linkcmds.sram_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/optbootcore.yml b/spec/build/bsps/arm/stm32h7/optbootcore.yml
index 2a0c5504f8..ad50f8ef77 100644
--- a/spec/build/bsps/arm/stm32h7/optbootcore.yml
+++ b/spec/build/bsps/arm/stm32h7/optbootcore.yml
@@ -1,11 +1,14 @@
+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)
+    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 at functional.vision>
 default: BOOT_CORE_DEFINE_NOT_NEEDED
 default-by-variant:
 - value: CORE_CM7
@@ -16,13 +19,10 @@ default-by-variant:
   variants:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco-m4
+description: |
+  Select the boot core. Possible values are CORE_CM7 and CORE_CM4
 enabled-by: true
 format: '{}'
 links: []
 name: STM32H7_BOOT_CORE
-description: |
-  Select the boot core. Possible values are CORE_CM7 and CORE_CM4
 type: build
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-copyrights:
-- Copyright (C) 2022 Karel Gardas <karel at functional.vision>
diff --git a/spec/build/bsps/arm/stm32h7/optenmpualign.yml b/spec/build/bsps/arm/stm32h7/optenmpualign.yml
index 4005485940..407a824b36 100644
--- a/spec/build/bsps/arm/stm32h7/optenmpualign.yml
+++ b/spec/build/bsps/arm/stm32h7/optenmpualign.yml
@@ -1,20 +1,20 @@
+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
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant: []
-enabled-by: true
-format: '{}'
-links: []
-name: STM32H7_ENABLE_MPU_ALIGNMENT
 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 11cdb1088c..ab49af31f9 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart4.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart4.yml
@@ -1,7 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant:
 - value: false
@@ -10,13 +13,10 @@ default-by-variant:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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 722ebb2bdf..502e02c61d 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart5.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart5.yml
@@ -1,7 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant:
 - value: false
@@ -11,13 +14,10 @@ default-by-variant:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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 c4cef258c0..fb061158cd 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart7.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart7.yml
@@ -1,7 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant:
 - value: false
@@ -11,13 +14,10 @@ default-by-variant:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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 96b869907d..74de622e09 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart8.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart8.yml
@@ -1,7 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant:
 - value: false
@@ -9,13 +12,10 @@ default-by-variant:
   - arm/stm32h7b3i-dk
   - arm/stm32h757i-eval
   - arm/stm32h757i-eval-m4
+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 009766e291..af0d2e037b 100644
--- a/spec/build/bsps/arm/stm32h7/optenuart9.yml
+++ b/spec/build/bsps/arm/stm32h7/optenuart9.yml
@@ -1,7 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant:
 - value: false
@@ -11,13 +14,10 @@ default-by-variant:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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..2ed54158b3 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart1.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart1.yml
@@ -1,16 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant: []
+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 f8eb979c69..c44bffad73 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart10.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart10.yml
@@ -1,7 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant:
 - value: false
@@ -11,13 +14,10 @@ default-by-variant:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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 b49d3315e0..482b31e794 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart2.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart2.yml
@@ -1,21 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant:
-default-by-variant:
 - value: false
   variants:
   - arm/stm32h757i-eval
   - arm/stm32h757i-eval-m4
+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 1fe1c8af46..a0027c8266 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart3.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart3.yml
@@ -1,7 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant:
 - value: false
@@ -11,13 +14,10 @@ default-by-variant:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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 9092df3f03..7c4e9aee5b 100644
--- a/spec/build/bsps/arm/stm32h7/optenusart6.yml
+++ b/spec/build/bsps/arm/stm32h7/optenusart6.yml
@@ -1,7 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-boolean: null
 - define-condition: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: true
 default-by-variant:
 - value: false
@@ -11,13 +14,10 @@ default-by-variant:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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..168e235719 100644
--- a/spec/build/bsps/arm/stm32h7/optethgpiobregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optethgpiobregs.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
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
 default: null
 default-by-variant:
 - value: GPIO_PIN_13
   variants:
   - arm/nucleo-h743zi
+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..74a4286310 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
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
 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
+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..debccdc686 100644
--- a/spec/build/bsps/arm/stm32h7/opthse.yml
+++ b/spec/build/bsps/arm/stm32h7/opthse.yml
@@ -4,6 +4,8 @@ actions:
 - assert-uint32: null
 - format-and-define: null
 build-type: option
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
 default: 25000000
 default-by-variant:
 - value: 8000000
@@ -12,12 +14,10 @@ default-by-variant:
 - value: 24000000
   variants:
   - arm/stm32h7b3i-dk
+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 3103deef84..59d4354ae2 100644
--- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
+++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
@@ -1,7 +1,10 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-string: null
 - env-assign: null
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: linkcmds.sdram
 default-by-variant:
 - value: linkcmds.flash
@@ -12,15 +15,12 @@ default-by-variant:
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
   - arm/nucleo-h743zi
-enabled-by: true
-format: '{}'
-links: []
-name: STM32H7_DEFAULT_LINKCMDS
 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
 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..e62efb45c2 100644
--- a/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemdtcmsz.yml
@@ -1,16 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 build-type: option
-default: 0x20000
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00020000
 default-by-variant: []
+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..0f0c673ee8 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
+copyrights:
+- Copyright (C) 2022 Karel Gardas <karel at functional.vision>
 default: FLASH_LATENCY_4
 default-by-variant:
 - value: FLASH_LATENCY_6
   variants:
   - arm/stm32h7b3i-dk
+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 at functional.vision>
diff --git a/spec/build/bsps/arm/stm32h7/optmemflashorigin.yml b/spec/build/bsps/arm/stm32h7/optmemflashorigin.yml
index c276b6f6ce..c98cb691e9 100644
--- a/spec/build/bsps/arm/stm32h7/optmemflashorigin.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemflashorigin.yml
@@ -1,20 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 build-type: option
-default: 0x8000000
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x08000000
 default-by-variant:
-- value: 0x8100000
+- value: 0x08100000
   variants:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco-m4
+description: |
+  Origin address of the internal flash.
 enabled-by: true
 format: '{:#010x}'
 links: []
 name: STM32H7_MEMORY_FLASH_ORIGIN
-description: |
-  Origin address of the internal flash.
 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/optmemflashsz.yml b/spec/build/bsps/arm/stm32h7/optmemflashsz.yml
index c718b11697..3ed50219f7 100644
--- a/spec/build/bsps/arm/stm32h7/optmemflashsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemflashsz.yml
@@ -1,21 +1,20 @@
+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 (http://www.embedded-brains.de)
+default: 0x00200000
 default-by-variant:
-- value: 0x100000
+- value: 0x00100000
   variants:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco-m4
+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..1648eebb40 100644
--- a/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemitcmsz.yml
@@ -1,18 +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: 0xff00
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x0000ff00
 default-by-variant: []
-enabled-by: true
-format: '{:#010x}'
-links: []
-name: STM32H7_MEMORY_ITCM_SIZE
 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..9c53510cd7 100644
--- a/spec/build/bsps/arm/stm32h7/optmemnandsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemnandsz.yml
@@ -1,16 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 build-type: option
-default: 0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00000000
 default-by-variant: []
+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..4449924a72 100644
--- a/spec/build/bsps/arm/stm32h7/optmemnorsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemnorsz.yml
@@ -1,16 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 build-type: option
-default: 0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00000000
 default-by-variant: []
+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..feb8ba3be8 100644
--- a/spec/build/bsps/arm/stm32h7/optmemnullsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemnullsz.yml
@@ -1,17 +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: 256
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00000100
 default-by-variant: []
+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..75a3aa0f3b 100644
--- a/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemperipheralsz.yml
@@ -1,16 +1,16 @@
+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 (http://www.embedded-brains.de)
 default: 0x20000000
 default-by-variant: []
+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..4fd966e63a 100644
--- a/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml
@@ -1,16 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 build-type: option
-default: 0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00000000
 default-by-variant: []
+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 9a29e9f04f..02d666a1d9 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsdram1sz.yml
@@ -1,10 +1,13 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 build-type: option
-default: 33554432
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x02000000
 default-by-variant:
-- value: 0
+- value: 0x00000000
   variants:
   - arm/stm32h7b3i-dk
   - arm/stm32h757i-eval
@@ -12,13 +15,10 @@ default-by-variant:
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
   - arm/nucleo-h743zi
+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 10ba7db2fd..a08d4e1f20 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml
@@ -1,22 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 build-type: option
-default: 0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00000000
 default-by-variant:
-- value: 33554432
+- value: 0x02000000
   variants:
   - arm/stm32h757i-eval
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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..a624a8a76c 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
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00020000
 default-by-variant:
-- value: 0x10000
+- value: 0x00010000
   variants:
   - arm/stm32h7b3i-dk
+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..47cbbfe770 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
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00020000
 default-by-variant:
-- value: 0x10000
+- value: 0x00010000
   variants:
   - arm/stm32h7b3i-dk
+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..dddc15d304 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
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00008000
 default-by-variant:
-- value: 0x0
+- value: 0x00000000
   variants:
   - arm/stm32h7b3i-dk
+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..3f89188adc 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
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00010000
 default-by-variant:
-- value: 0x8000
+- value: 0x00008000
   variants:
   - arm/stm32h7b3i-dk
+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..24964196a1 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
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00080000
 default-by-variant:
-- value: 0xA0000
+- value: 0x000a0000
   variants:
   - arm/stm32h7b3i-dk
+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..40e3ae1a1d 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsrambackupsz.yml
@@ -1,16 +1,16 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
 actions:
 - get-integer: null
 - env-assign: null
 build-type: option
-default: 0x1000
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+default: 0x00001000
 default-by-variant: []
+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 5e87aaab1f..16c1b4238b 100644
--- a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
+++ b/spec/build/bsps/arm/stm32h7/optprintkinstance.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
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: stm32h7_usart1_instance
 default-by-variant:
 - value: stm32h7_usart3_instance
   variants:
   - arm/nucleo-h743zi
+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 effdbbffe0..9270eedbd4 100644
--- a/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
+++ b/spec/build/bsps/arm/stm32h7/optpwrsupply.yml
@@ -1,7 +1,10 @@
+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) 2022 Karel Gardas <karel at functional.vision>
 default: PWR_LDO_SUPPLY
 default-by-variant:
 - value: PWR_DIRECT_SMPS_SUPPLY
@@ -11,13 +14,13 @@ default-by-variant:
   - arm/stm32h757i-eval-m4
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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 at functional.vision>
diff --git a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
index ef6ad31e6a..b0d3d86a6c 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1alternatefunc.yml
@@ -1,7 +1,10 @@
+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) 2022 Karel Gardas <karel at functional.vision>
 default: GPIO_AF4_USART1
 default-by-variant:
 - value: GPIO_AF7_USART1
@@ -9,13 +12,10 @@ default-by-variant:
   - arm/stm32h7b3i-dk
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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 at functional.vision>
diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
index f4e532683e..b8920d9276 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
@@ -1,7 +1,10 @@
+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) 2021-22 embedded brains GmbH (http://www.embedded-brains.de)
 default: ( GPIO_PIN_14 | GPIO_PIN_15 )
 default-by-variant:
 - value: ( GPIO_PIN_9 | GPIO_PIN_10 )
@@ -9,13 +12,10 @@ default-by-variant:
   - arm/stm32h7b3i-dk
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
+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 974327c524..79e8ab02f2 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
@@ -1,7 +1,10 @@
+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) 2021 embedded brains GmbH (http://www.embedded-brains.de)
 default: GPIOD
 default-by-variant:
 - value: GPIOA
@@ -13,13 +16,10 @@ default-by-variant:
   variants:
   - arm/stm32h757i-eval
   - arm/stm32h757i-eval-m4
+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/optusart3gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml
index 87aad00ee0..f946bbd2a6 100644
--- a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml
@@ -1,16 +1,16 @@
+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) 2021 embedded brains GmbH (http://www.embedded-brains.de)
 default: ( GPIO_PIN_8 | GPIO_PIN_9 )
 default-by-variant: []
+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..3485b4fdb8 100644
--- a/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml
@@ -1,16 +1,16 @@
+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) 2021 embedded brains GmbH (http://www.embedded-brains.de)
 default: GPIOD
 default-by-variant: []
+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 720a40c63d..c5c0ce65dc 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,29 +13,28 @@ actions:
         )
     conf.define_cond(value, True)
 build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: STM32H743xx
 default-by-variant:
 - value: STM32H7B3xxQ
   variants:
-    - arm/stm32h7b3i-dk
+  - arm/stm32h7b3i-dk
 - value: STM32H757xx
   variants:
-    - arm/stm32h757i-eval
-    - arm/stm32h757i-eval-m4
+  - arm/stm32h757i-eval
+  - arm/stm32h757i-eval-m4
 - value: STM32H747xx
   variants:
   - arm/stm32h747i-disco
   - arm/stm32h747i-disco-m4
-enabled-by: true
-format: '{}'
-links: []
-name: STM32H7_VARIANT
 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/xen/optloadoff.yml b/spec/build/bsps/arm/xen/optloadoff.yml
index 4589807f88..2796f9b52d 100644
--- a/spec/build/bsps/arm/xen/optloadoff.yml
+++ b/spec/build/bsps/arm/xen/optloadoff.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 32768
+default: 0x00008000
 default-by-variant: []
 description: |
   offset of RAM region from memory area base
diff --git a/spec/build/bsps/arm/xen/optnocachelen.yml b/spec/build/bsps/arm/xen/optnocachelen.yml
index 389fbb596b..b3661bd491 100644
--- a/spec/build/bsps/arm/xen/optnocachelen.yml
+++ b/spec/build/bsps/arm/xen/optnocachelen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1048576
+default: 0x00100000
 default-by-variant: []
 description: |
   length of nocache RAM region
diff --git a/spec/build/bsps/arm/xen/optramlen.yml b/spec/build/bsps/arm/xen/optramlen.yml
index 1d1b43615a..8ba7d0b4a3 100644
--- a/spec/build/bsps/arm/xen/optramlen.yml
+++ b/spec/build/bsps/arm/xen/optramlen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 8388608
+default: 0x00800000
 default-by-variant: []
 description: |
   length of memory area available to the BSP
diff --git a/spec/build/bsps/arm/xen/optramori.yml b/spec/build/bsps/arm/xen/optramori.yml
index 95fbf64079..32b4acd160 100644
--- a/spec/build/bsps/arm/xen/optramori.yml
+++ b/spec/build/bsps/arm/xen/optramori.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1073741824
+default: 0x40000000
 default-by-variant: []
 description: |
   base address of memory area available to the BSP
diff --git a/spec/build/bsps/arm/xilinx-zynq/optint0len.yml b/spec/build/bsps/arm/xilinx-zynq/optint0len.yml
index 90d77daeb7..9d793e561b 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optint0len.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optint0len.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 196608
+default: 0x00030000
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/arm/xilinx-zynq/optint0ori.yml b/spec/build/bsps/arm/xilinx-zynq/optint0ori.yml
index a8c4514fd9..f23ab23bb9 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optint0ori.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optint0ori.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/arm/xilinx-zynq/optint1len.yml b/spec/build/bsps/arm/xilinx-zynq/optint1len.yml
index 32a2c8f3d6..776834ac49 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optint1len.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optint1len.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 65024
+default: 0x0000fe00
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/arm/xilinx-zynq/optint1ori.yml b/spec/build/bsps/arm/xilinx-zynq/optint1ori.yml
index f089c467c4..21bba0d6bf 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optint1ori.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optint1ori.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 4294901760
+default: 0xffff0000
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/arm/xilinx-zynq/optnocachelen.yml b/spec/build/bsps/arm/xilinx-zynq/optnocachelen.yml
index 7a553ab9a2..c9b0e27275 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optnocachelen.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optnocachelen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1048576
+default: 0x00100000
 default-by-variant: []
 description: |
   length of nocache RAM region
diff --git a/spec/build/bsps/arm/xilinx-zynq/optramlen.yml b/spec/build/bsps/arm/xilinx-zynq/optramlen.yml
index e51d3ebf38..be26a59cd3 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optramlen.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optramlen.yml
@@ -7,18 +7,18 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 268435456
+default: 0x10000000
 default-by-variant:
-- value: 268435456
+- value: 0x10000000
   variants:
   - arm/xilinx_zynq_a9_qemu
-- value: 1073741824
+- value: 0x40000000
   variants:
   - arm/xilinx_zynq_zc702
-- value: 1073741824
+- value: 0x40000000
   variants:
   - arm/xilinx_zynq_zc706
-- value: 536870912
+- value: 0x20000000
   variants:
   - arm/xilinx_zynq_zedboard
 description: |
diff --git a/spec/build/bsps/arm/xilinx-zynq/optramori.yml b/spec/build/bsps/arm/xilinx-zynq/optramori.yml
index 5723b73d53..b48fe23d60 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optramori.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optramori.yml
@@ -8,9 +8,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1048576
+default: 0x00100000
 default-by-variant:
-- value: 4194304
+- value: 0x00400000
   variants:
   - arm/xilinx_zynq_zc706
 description: ''
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optint0len.yml b/spec/build/bsps/arm/xilinx-zynqmp/optint0len.yml
index 55b3487553..499f190176 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/optint0len.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optint0len.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 196608
+default: 0x00030000
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optint0ori.yml b/spec/build/bsps/arm/xilinx-zynqmp/optint0ori.yml
index f6a8b5f7d4..b4d4bb67e7 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/optint0ori.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optint0ori.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optint1len.yml b/spec/build/bsps/arm/xilinx-zynqmp/optint1len.yml
index bdaef49951..1b76b9f19e 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/optint1len.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optint1len.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 65024
+default: 0x0000fe00
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optint1ori.yml b/spec/build/bsps/arm/xilinx-zynqmp/optint1ori.yml
index 55caa6f4a2..abf15b1043 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/optint1ori.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optint1ori.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 4294901760
+default: 0xffff0000
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optnocachelen.yml b/spec/build/bsps/arm/xilinx-zynqmp/optnocachelen.yml
index 4b9118d926..ce56cfd92b 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/optnocachelen.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optnocachelen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1048576
+default: 0x00100000
 default-by-variant: []
 description: |
   length of nocache RAM region
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optramlen.yml b/spec/build/bsps/arm/xilinx-zynqmp/optramlen.yml
index 6efaf7b13b..fe13f5305a 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/optramlen.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optramlen.yml
@@ -7,9 +7,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 268435456
+default: 0x10000000
 default-by-variant:
-- value: 2147483648
+- value: 0x80000000
   variants:
   - arm/xilinx_zynqmp_ultra96
 description: |
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/optramori.yml b/spec/build/bsps/arm/xilinx-zynqmp/optramori.yml
index 401b8ec3a3..cba1092058 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/optramori.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/optramori.yml
@@ -8,7 +8,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1048576
+default: 0x00100000
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml b/spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml
index 01933d00ca..633aae58c2 100644
--- a/spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml
+++ b/spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
-default: 2
+default: 0x00000002
 default-by-variant:
 - value: null
   variants:
diff --git a/spec/build/bsps/dev/irq/optarmgic-icc-bpr1.yml b/spec/build/bsps/dev/irq/optarmgic-icc-bpr1.yml
index c9c99dfc63..ee66a63969 100644
--- a/spec/build/bsps/dev/irq/optarmgic-icc-bpr1.yml
+++ b/spec/build/bsps/dev/irq/optarmgic-icc-bpr1.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
-default: 3
+default: 0x00000003
 default-by-variant: []
 description: |
   Defines the initial value of the ICC_BPR1 register of the ARM GIC CPU
diff --git a/spec/build/bsps/dev/irq/optarmgic-icc-ctrl.yml b/spec/build/bsps/dev/irq/optarmgic-icc-ctrl.yml
index 1f9ae33e0f..68988f2248 100644
--- a/spec/build/bsps/dev/irq/optarmgic-icc-ctrl.yml
+++ b/spec/build/bsps/dev/irq/optarmgic-icc-ctrl.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant: []
 description: |
   Defines the initial value of the ICC_CTRL register of the ARM GIC CPU
diff --git a/spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml b/spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml
index aea536d7d1..df1701ce74 100644
--- a/spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml
+++ b/spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1
+default: 0x00000001
 default-by-variant:
 - value: null
   variants:
diff --git a/spec/build/bsps/dev/irq/optarmgic-icc-igrpen1.yml b/spec/build/bsps/dev/irq/optarmgic-icc-igrpen1.yml
index 1c18db63b7..a45a55e93c 100644
--- a/spec/build/bsps/dev/irq/optarmgic-icc-igrpen1.yml
+++ b/spec/build/bsps/dev/irq/optarmgic-icc-igrpen1.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1
+default: 0x00000001
 default-by-variant: []
 description: |
   Defines the initial value of the ICC_IGRPEN1 register of the ARM GIC CPU
diff --git a/spec/build/bsps/dev/irq/optarmgic-icc-pmr.yml b/spec/build/bsps/dev/irq/optarmgic-icc-pmr.yml
index d0fbda520a..c9bef1be0e 100644
--- a/spec/build/bsps/dev/irq/optarmgic-icc-pmr.yml
+++ b/spec/build/bsps/dev/irq/optarmgic-icc-pmr.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
-default: 255
+default: 0x000000ff
 default-by-variant: []
 description: |
   Defines the initial value of the ICC_PMR register of the ARM GIC CPU
diff --git a/spec/build/bsps/dev/irq/optarmgic-icc-sre.yml b/spec/build/bsps/dev/irq/optarmgic-icc-sre.yml
index aca2f2720b..98985be4cd 100644
--- a/spec/build/bsps/dev/irq/optarmgic-icc-sre.yml
+++ b/spec/build/bsps/dev/irq/optarmgic-icc-sre.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2022 embedded brains GmbH (http://www.embedded-brains.de)
-default: 3
+default: 0x00000003
 default-by-variant: []
 description: |
   Defines the initial value of the ICC_SRE register of the ARM GIC CPU
diff --git a/spec/build/bsps/i386/pc386/optrelocaddr.yml b/spec/build/bsps/i386/pc386/optrelocaddr.yml
index e052383f80..2c653a7544 100644
--- a/spec/build/bsps/i386/pc386/optrelocaddr.yml
+++ b/spec/build/bsps/i386/pc386/optrelocaddr.yml
@@ -10,7 +10,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1048576
+default: 0x00100000
 default-by-variant: []
 description: |
   Set the value of RELOCADDR to the address where you want your image to load.
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/opttimerbaseaddress.yml b/spec/build/bsps/microblaze/microblaze_fpga/opttimerbaseaddress.yml
index 93bea74ea3..ccb860310c 100644
--- a/spec/build/bsps/microblaze/microblaze_fpga/opttimerbaseaddress.yml
+++ b/spec/build/bsps/microblaze/microblaze_fpga/opttimerbaseaddress.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
-default: 0x41C00000
+default: 0x41c00000
 default-by-variant: []
 description: |
   base address of the AXI Timer
diff --git a/spec/build/bsps/optxilsupportpath.yml b/spec/build/bsps/optxilsupportpath.yml
index 5ddf3d1cd5..d70d4d0b69 100644
--- a/spec/build/bsps/optxilsupportpath.yml
+++ b/spec/build/bsps/optxilsupportpath.yml
@@ -26,7 +26,7 @@ default-by-variant:
   - aarch64/xilinx_zynqmp_lp64_cfc400x
   - aarch64/xilinx_zynqmp_lp64_qemu
   - aarch64/xilinx_zynqmp_lp64_zu3eg
-description: 'Set the Xilinx support path'
+description: Set the Xilinx support path
 enabled-by: true
 format: '{}'
 links: []
diff --git a/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml b/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml
index c39ec0ce43..7c05efb92c 100644
--- a/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml
+++ b/spec/build/bsps/powerpc/gen5200/optgpiomsk.yml
@@ -5,9 +5,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 856625015
+default: 0x330f0f77
 default-by-variant:
-- value: 58670855
+- value: 0x037f3f07
   variants:
   - powerpc/pm520_ze30
 description: |
diff --git a/spec/build/bsps/powerpc/gen5200/optgpioval.yml b/spec/build/bsps/powerpc/gen5200/optgpioval.yml
index 029df6a4f7..ffcef9199d 100644
--- a/spec/build/bsps/powerpc/gen5200/optgpioval.yml
+++ b/spec/build/bsps/powerpc/gen5200/optgpioval.yml
@@ -5,9 +5,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 17105988
+default: 0x01050444
 default-by-variant:
-- value: 22356228
+- value: 0x01552104
   variants:
   - powerpc/pm520_ze30
 description: |
diff --git a/spec/build/bsps/powerpc/gen5200/optuartmsk.yml b/spec/build/bsps/powerpc/gen5200/optuartmsk.yml
index 2a211006e4..fd960232ef 100644
--- a/spec/build/bsps/powerpc/gen5200/optuartmsk.yml
+++ b/spec/build/bsps/powerpc/gen5200/optuartmsk.yml
@@ -5,15 +5,15 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 1
+default: 0x00000001
 default-by-variant:
-- value: 57
+- value: 0x00000039
   variants:
   - powerpc/pm520_ze30
-- value: 7
+- value: 0x00000007
   variants:
   - powerpc/pm520_cr825
-- value: 1
+- value: 0x00000001
   variants:
   - powerpc/icecube
 description: |
diff --git a/spec/build/bsps/powerpc/gen83xx/optnet0phy.yml b/spec/build/bsps/powerpc/gen83xx/optnet0phy.yml
index 70daf1fe3e..5571579a21 100644
--- a/spec/build/bsps/powerpc/gen83xx/optnet0phy.yml
+++ b/spec/build/bsps/powerpc/gen83xx/optnet0phy.yml
@@ -5,12 +5,12 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant:
-- value: 17
+- value: 0x00000011
   variants:
   - powerpc/mpc8309som
-- value: -1
+- value: -0x0000001
   variants:
   - powerpc/br_uid
 description: |
diff --git a/spec/build/bsps/powerpc/psim/optvecbase.yml b/spec/build/bsps/powerpc/psim/optvecbase.yml
index 6de89c1aca..65aa4099c4 100644
--- a/spec/build/bsps/powerpc/psim/optvecbase.yml
+++ b/spec/build/bsps/powerpc/psim/optvecbase.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 4293918976
+default: 0xfff00100
 default-by-variant: []
 description: |
   This defines the base address of the exception table.  NOTE: Vectors are actually at 0xFFF00000 but file starts at offset.
diff --git a/spec/build/bsps/powerpc/qoriq/optbucsr.yml b/spec/build/bsps/powerpc/qoriq/optbucsr.yml
index fe64767307..713902b801 100644
--- a/spec/build/bsps/powerpc/qoriq/optbucsr.yml
+++ b/spec/build/bsps/powerpc/qoriq/optbucsr.yml
@@ -7,7 +7,7 @@ copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: null
 default-by-variant:
-- value: 20972033
+- value: 0x01400201
   variants:
   - powerpc/qoriq_e6500.*
 description: |
diff --git a/spec/build/bsps/powerpc/qoriq/opthid0.yml b/spec/build/bsps/powerpc/qoriq/opthid0.yml
index c0b1a56346..e8ca7b735d 100644
--- a/spec/build/bsps/powerpc/qoriq/opthid0.yml
+++ b/spec/build/bsps/powerpc/qoriq/opthid0.yml
@@ -7,7 +7,7 @@ copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
 default: null
 default-by-variant:
-- value: 1073741824
+- value: 0x40000000
   variants:
   - powerpc/qoriq_e6500.*
 description: |
diff --git a/spec/build/bsps/powerpc/qoriq/opticombegin.yml b/spec/build/bsps/powerpc/qoriq/opticombegin.yml
index 29dae8f4a5..9f62d83fee 100644
--- a/spec/build/bsps/powerpc/qoriq/opticombegin.yml
+++ b/spec/build/bsps/powerpc/qoriq/opticombegin.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 50331648
+default: 0x03000000
 default-by-variant: []
 description: |
   inter-processor communication area begin
diff --git a/spec/build/bsps/powerpc/qoriq/opticomsz.yml b/spec/build/bsps/powerpc/qoriq/opticomsz.yml
index ebb977bac9..31a810d43b 100644
--- a/spec/build/bsps/powerpc/qoriq/opticomsz.yml
+++ b/spec/build/bsps/powerpc/qoriq/opticomsz.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 16777216
+default: 0x01000000
 default-by-variant: []
 description: |
   inter-processor communication area size
diff --git a/spec/build/bsps/powerpc/qoriq/optmas7.yml b/spec/build/bsps/powerpc/qoriq/optmas7.yml
index 77ed473263..7a5c5471dd 100644
--- a/spec/build/bsps/powerpc/qoriq/optmas7.yml
+++ b/spec/build/bsps/powerpc/qoriq/optmas7.yml
@@ -5,9 +5,9 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant:
-- value: 15
+- value: 0x0000000f
   variants:
   - powerpc/qoriq_e6500.*
 description: |
diff --git a/spec/build/bsps/powerpc/qoriq/optmsr.yml b/spec/build/bsps/powerpc/qoriq/optmsr.yml
index 5327f63c6f..e6c754c0ae 100644
--- a/spec/build/bsps/powerpc/qoriq/optmsr.yml
+++ b/spec/build/bsps/powerpc/qoriq/optmsr.yml
@@ -5,12 +5,12 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 33554944
+default: 0x02000200
 default-by-variant:
-- value: 2181046784
+- value: 0x82002200
   variants:
   - powerpc/qoriq_e6500_64.*
-- value: 33563136
+- value: 0x02002200
   variants:
   - powerpc/qoriq_e6500_32.*
 description: |
diff --git a/spec/build/bsps/powerpc/qoriq/optspefscr.yml b/spec/build/bsps/powerpc/qoriq/optspefscr.yml
index 820eef00ec..b9ccaa2bd5 100644
--- a/spec/build/bsps/powerpc/qoriq/optspefscr.yml
+++ b/spec/build/bsps/powerpc/qoriq/optspefscr.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant:
 - value: null
   variants:
diff --git a/spec/build/bsps/powerpc/ss555/optwdgtimeout.yml b/spec/build/bsps/powerpc/ss555/optwdgtimeout.yml
index 2cb717a1fc..989d440d3f 100644
--- a/spec/build/bsps/powerpc/ss555/optwdgtimeout.yml
+++ b/spec/build/bsps/powerpc/ss555/optwdgtimeout.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 65535
+default: 0x0000ffff
 default-by-variant: []
 description: |
   Define to the desired timeout (in steps of 1/20 msec) to enable the watchdog.  Default is to disable the watchdog entirely.
diff --git a/spec/build/bsps/powerpc/virtex/optfastramlen.yml b/spec/build/bsps/powerpc/virtex/optfastramlen.yml
index 366457a492..340753dca9 100644
--- a/spec/build/bsps/powerpc/virtex/optfastramlen.yml
+++ b/spec/build/bsps/powerpc/virtex/optfastramlen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant: []
 description: |
   fast RAM region length
diff --git a/spec/build/bsps/powerpc/virtex/optfastramorg.yml b/spec/build/bsps/powerpc/virtex/optfastramorg.yml
index 608ddb8c42..373e8df5ec 100644
--- a/spec/build/bsps/powerpc/virtex/optfastramorg.yml
+++ b/spec/build/bsps/powerpc/virtex/optfastramorg.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant: []
 description: |
   fast RAM region origin
diff --git a/spec/build/bsps/powerpc/virtex/optramlen.yml b/spec/build/bsps/powerpc/virtex/optramlen.yml
index e07b9b715e..372c9558ea 100644
--- a/spec/build/bsps/powerpc/virtex/optramlen.yml
+++ b/spec/build/bsps/powerpc/virtex/optramlen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 134217708
+default: 0x07ffffec
 default-by-variant: []
 description: |
   normal RAM region length
diff --git a/spec/build/bsps/powerpc/virtex/optramorg.yml b/spec/build/bsps/powerpc/virtex/optramorg.yml
index 1c396974c9..fdd98dabb1 100644
--- a/spec/build/bsps/powerpc/virtex/optramorg.yml
+++ b/spec/build/bsps/powerpc/virtex/optramorg.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 0
+default: 0x00000000
 default-by-variant: []
 description: |
   normal RAM region origin
diff --git a/spec/build/bsps/powerpc/virtex/optresetlen.yml b/spec/build/bsps/powerpc/virtex/optresetlen.yml
index 79892a4f41..e7cf39970f 100644
--- a/spec/build/bsps/powerpc/virtex/optresetlen.yml
+++ b/spec/build/bsps/powerpc/virtex/optresetlen.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 20
+default: 0x00000014
 default-by-variant: []
 description: ''
 enabled-by: true
diff --git a/spec/build/bsps/powerpc/virtex/optresetorg.yml b/spec/build/bsps/powerpc/virtex/optresetorg.yml
index f60fc4646c..454ef73ff3 100644
--- a/spec/build/bsps/powerpc/virtex/optresetorg.yml
+++ b/spec/build/bsps/powerpc/virtex/optresetorg.yml
@@ -7,7 +7,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 134217708
+default: 0x07ffffec
 default-by-variant: []
 description: |
   reset region origin
diff --git a/spec/build/bsps/powerpc/virtex4/optvecbase.yml b/spec/build/bsps/powerpc/virtex4/optvecbase.yml
index fdc72a1863..c108026b3c 100644
--- a/spec/build/bsps/powerpc/virtex4/optvecbase.yml
+++ b/spec/build/bsps/powerpc/virtex4/optvecbase.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 256
+default: 0x00000100
 default-by-variant: []
 description: |
   This defines the base address of the exception table.
diff --git a/spec/build/bsps/powerpc/virtex5/optvecbase.yml b/spec/build/bsps/powerpc/virtex5/optvecbase.yml
index fdc72a1863..c108026b3c 100644
--- a/spec/build/bsps/powerpc/virtex5/optvecbase.yml
+++ b/spec/build/bsps/powerpc/virtex5/optvecbase.yml
@@ -5,7 +5,7 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 256
+default: 0x00000100
 default-by-variant: []
 description: |
   This defines the base address of the exception table.
diff --git a/spec/build/bsps/riscv/optrambegin.yml b/spec/build/bsps/riscv/optrambegin.yml
index 8890334915..4b1672ce57 100644
--- a/spec/build/bsps/riscv/optrambegin.yml
+++ b/spec/build/bsps/riscv/optrambegin.yml
@@ -8,15 +8,15 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 2147483648
+default: 0x80000000
 default-by-variant:
-- value: 0
+- value: 0x00000000
   variants:
   - riscv/noel.*
-- value: 1073741824
+- value: 0x40000000
   variants:
   - riscv/griscv
-- value: 68719476736
+- value: 0x1000000000
   variants:
   - riscv/mpfs64.*
 description: ''
diff --git a/spec/build/bsps/riscv/optramsize.yml b/spec/build/bsps/riscv/optramsize.yml
index 316cc906de..c983544bfc 100644
--- a/spec/build/bsps/riscv/optramsize.yml
+++ b/spec/build/bsps/riscv/optramsize.yml
@@ -8,15 +8,15 @@ actions:
 build-type: option
 copyrights:
 - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-default: 67108864
+default: 0x04000000
 default-by-variant:
-- value: 268435456
+- value: 0x10000000
   variants:
   - riscv/frdme310arty
-- value: 16777216
+- value: 0x01000000
   variants:
   - riscv/griscv
-- value: 268435456
+- value: 0x10000000
   variants:
   - riscv/mpfs64.*
 description: ''



More information about the vc mailing list