summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps
diff options
context:
space:
mode:
Diffstat (limited to 'spec/build/bsps')
-rw-r--r--spec/build/bsps/aarch64/a53/tsta53.yml33
-rw-r--r--spec/build/bsps/aarch64/a72/tsta72.yml33
-rw-r--r--spec/build/bsps/aarch64/grp.yml3
-rw-r--r--spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml6
-rw-r--r--spec/build/bsps/aarch64/raspberrypi/objclock.yml31
-rw-r--r--spec/build/bsps/aarch64/raspberrypi/objsystemtimer.yml23
-rw-r--r--spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml25
-rw-r--r--spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml4
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/bspa53lp64.yml21
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml2
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml1
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml1
-rw-r--r--spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml33
-rw-r--r--spec/build/bsps/arm/atsam/tstatsamv.yml9
-rw-r--r--spec/build/bsps/arm/beagle/obj.yml3
-rw-r--r--spec/build/bsps/arm/grp.yml7
-rw-r--r--spec/build/bsps/arm/imx/bspimx.yml1
-rw-r--r--spec/build/bsps/arm/imxrt/bspimxrt1052.yml4
-rw-r--r--spec/build/bsps/arm/imxrt/bspimxrt1166-cm7-saltshaker.yml32
-rw-r--r--spec/build/bsps/arm/imxrt/grp.yml8
-rw-r--r--spec/build/bsps/arm/imxrt/linkcmdsmemory.yml15
-rw-r--r--spec/build/bsps/arm/imxrt/obj-mimxrt1052.yml5
-rw-r--r--spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm4.yml5
-rw-r--r--spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm7.yml5
-rw-r--r--spec/build/bsps/arm/imxrt/obj.yml3
-rw-r--r--spec/build/bsps/arm/imxrt/optlpspimaxcs.yml21
-rw-r--r--spec/build/bsps/arm/imxrt/optmemdtcmsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optmemextramsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optmemflashcfgoffset.yml21
-rw-r--r--spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml20
-rw-r--r--spec/build/bsps/arm/imxrt/optmemflashivtoffset.yml20
-rw-r--r--spec/build/bsps/arm/imxrt/optmemflashorigin.yml4
-rw-r--r--spec/build/bsps/arm/imxrt/optmemflashsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optmemitcmsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optmemocramorigin.yml4
-rw-r--r--spec/build/bsps/arm/imxrt/optmemocramsz.yml2
-rw-r--r--spec/build/bsps/arm/imxrt/optvariant.yml4
-rw-r--r--spec/build/bsps/arm/lm3s69xx/obj.yml1
-rw-r--r--spec/build/bsps/arm/lm3s69xx/tstlm3s3749.yml1
-rw-r--r--spec/build/bsps/arm/lpc32xx/obj.yml1
-rw-r--r--spec/build/bsps/arm/optstartvecaddralign.yml22
-rw-r--r--spec/build/bsps/arm/raspberrypi/obj.yml2
-rw-r--r--spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml2
-rw-r--r--spec/build/bsps/arm/start.yml4
-rw-r--r--spec/build/bsps/arm/stm32f4/grp.yml2
-rw-r--r--spec/build/bsps/arm/stm32f4/obj.yml1
-rw-r--r--spec/build/bsps/arm/stm32h7/.doorstop.yml6
-rw-r--r--spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml25
-rw-r--r--spec/build/bsps/arm/stm32h7/grp.yml8
-rw-r--r--spec/build/bsps/arm/stm32h7/obj.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optenmpualign.yml4
-rw-r--r--spec/build/bsps/arm/stm32h7/optlinkcmds.yml1
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemquadspisz.yml1
-rw-r--r--spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml3
-rw-r--r--spec/build/bsps/arm/stm32h7/optprintkinstance.yml4
-rw-r--r--spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml17
-rw-r--r--spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml17
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml3
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml1
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml20
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml19
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml2
-rw-r--r--spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml2
-rw-r--r--spec/build/bsps/arm/stm32h7/optvariant.yml3
-rw-r--r--spec/build/bsps/arm/tms570/bsplc4357hdk.yml (renamed from spec/build/bsps/arm/tms570/bspls3137hdkwithloader.yml)4
-rw-r--r--spec/build/bsps/arm/tms570/bsplc4357hdksdram.yml19
-rw-r--r--spec/build/bsps/arm/tms570/grp.yml22
-rw-r--r--spec/build/bsps/arm/tms570/linkcmdsmemory.yml27
-rw-r--r--spec/build/bsps/arm/tms570/obj.yml10
-rw-r--r--spec/build/bsps/arm/tms570/objhwinit.yml18
-rw-r--r--spec/build/bsps/arm/tms570/objhwinitlc4357hdk.yml14
-rw-r--r--spec/build/bsps/arm/tms570/objhwinitls3137hdk.yml14
-rw-r--r--spec/build/bsps/arm/tms570/objnohwinit.yml1
-rw-r--r--spec/build/bsps/arm/tms570/optlinkflags.yml1
-rw-r--r--spec/build/bsps/arm/tms570/optlowinit.yml7
-rw-r--r--spec/build/bsps/arm/tms570/optmemflashorigin.yml18
-rw-r--r--spec/build/bsps/arm/tms570/optmemflashsize.yml20
-rw-r--r--spec/build/bsps/arm/tms570/optmemsdramorigin.yml18
-rw-r--r--spec/build/bsps/arm/tms570/optmemsdramsize.yml18
-rw-r--r--spec/build/bsps/arm/tms570/optmemsramorigin.yml18
-rw-r--r--spec/build/bsps/arm/tms570/optmemsramsize.yml20
-rw-r--r--spec/build/bsps/arm/tms570/optoscmain.yml11
-rw-r--r--spec/build/bsps/arm/tms570/optvariant.yml29
-rw-r--r--spec/build/bsps/arm/xen/bspxen.yml1
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bspmicrozed.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bsppicozed.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bsppynq.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bspqemu.yml2
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bspzybo.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/bspzyboz7.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/grp.yml2
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/obj.yml2
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/opta9periphclk.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optclkcpu1x.yml5
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optclkuart.yml5
-rw-r--r--spec/build/bsps/arm/xilinx-zynq/optramlen.yml9
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/abi.yml21
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/bspmercuryxu5.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/bsprpu.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml73
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/linkcmds.yml46
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/obj.yml42
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optclkfastidle.yml21
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optclkuart.yml (renamed from spec/build/bsps/optconminor.yml)6
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optconirq.yml (renamed from spec/build/bsps/sparc/erc32/optpwrdwnhlt.yml)6
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0len.yml (renamed from spec/build/bsps/arm/tms570/optcclk.yml)13
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0ori.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optint1len.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optint1ori.yml18
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optnocachelen.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optprocunitrpu.yml17
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optramlen.yml19
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optramori.yml (renamed from spec/build/bsps/arm/tms570/optoscrtc.yml)13
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optresetvec.yml (renamed from spec/build/bsps/arm/tms570/opttms570ls3137.yml)4
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml3
-rw-r--r--spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml6
-rw-r--r--spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml6
-rw-r--r--spec/build/bsps/grpmake.yml4
-rw-r--r--spec/build/bsps/makeinc.yml16
-rw-r--r--spec/build/bsps/maketarget.yml22
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml8
-rw-r--r--spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml10
-rw-r--r--spec/build/bsps/obj.yml2
-rw-r--r--spec/build/bsps/objdevserialzynq.yml7
-rw-r--r--spec/build/bsps/objxilinxsupport.yml1
-rw-r--r--spec/build/bsps/objxilinxsupportilp32.yml3
-rw-r--r--spec/build/bsps/objxilinxsupportlp64.yml4
-rw-r--r--spec/build/bsps/objxilinxsupportr5.yml7
-rw-r--r--spec/build/bsps/optobjcopy.yml2
-rw-r--r--spec/build/bsps/optxilclockttcbaseaddr.yml18
-rw-r--r--spec/build/bsps/optxilclockttcirq.yml18
-rw-r--r--spec/build/bsps/optxilclockttcrefclk.yml18
-rw-r--r--spec/build/bsps/optxilsupportpath.yml4
-rw-r--r--spec/build/bsps/optzynquartkernbase.yml22
-rw-r--r--spec/build/bsps/pkgconfig.yml2
-rw-r--r--spec/build/bsps/powerpc/motorola_powerpc/abi.yml4
-rw-r--r--spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml1
-rw-r--r--spec/build/bsps/powerpc/qoriq/grp.yml2
-rw-r--r--spec/build/bsps/powerpc/qoriq/obj.yml4
-rw-r--r--spec/build/bsps/sparc/erc32/bsperc32.yml6
-rw-r--r--spec/build/bsps/sparc/leon2/grp.yml2
-rw-r--r--spec/build/bsps/sparc/leon2/obj.yml4
-rw-r--r--spec/build/bsps/sparc/leon3/grp.yml20
-rw-r--r--spec/build/bsps/sparc/leon3/obj.yml9
-rw-r--r--spec/build/bsps/sparc/leon3/optapbuartbase.yml20
-rw-r--r--spec/build/bsps/sparc/leon3/optasrupcnt.yml (renamed from spec/build/bsps/sparc/leon2/optpwrdwnhlt.yml)13
-rw-r--r--spec/build/bsps/sparc/leon3/optasrupcntprobe.yml21
-rw-r--r--spec/build/bsps/sparc/leon3/optdsubase.yml24
-rw-r--r--spec/build/bsps/sparc/leon3/optgptimerbase.yml20
-rw-r--r--spec/build/bsps/sparc/leon3/optirqampbase.yml19
-rw-r--r--spec/build/bsps/sparc/leon3/optirqampextirq.yml19
-rw-r--r--spec/build/bsps/sparc/leon3/optirqampts.yml24
-rw-r--r--spec/build/bsps/sparc/leon3/optl2cachebase.yml19
-rw-r--r--spec/build/bsps/sparc/leon3/optplbfreq.yml23
-rw-r--r--spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml16
-rw-r--r--spec/build/bsps/tstnojffs2.yml9
-rw-r--r--spec/build/bsps/tstqemu.yml72
157 files changed, 1668 insertions, 290 deletions
diff --git a/spec/build/bsps/aarch64/a53/tsta53.yml b/spec/build/bsps/aarch64/a53/tsta53.yml
index a3d8c9810d..adf6d85ae1 100644
--- a/spec/build/bsps/aarch64/a53/tsta53.yml
+++ b/spec/build/bsps/aarch64/a53/tsta53.yml
@@ -6,40 +6,13 @@ actions:
state: exclude
tests:
- minimum
-- set-test-state:
- reason: |
- Tests that are passing intermittently.
- state: indeterminate
- tests:
- - psx12
- - psxtimes01
- - rtmonuse
- - rtmonusxtimes01
- - sp04
- - sp20
- - sp68
- - sp69
- - spcpucounter01
- - spedfsched02
- - spedfsched04
- - sprmsched01
- - sptimecounter02
- - sptimecounter04
- - ttest02
-- set-test-state:
- reason: |
- Tests that pass nominally, but fail under Qemu when the host is under
- heavy load.
- state: indeterminate
- tests:
- - spintrcritical03
- - spintrcritical04
- - spintrcritical05
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: []
description: ''
enabled-by: true
-links: []
+links:
+- role: build-dependency
+ uid: ../../tstqemu
type: build
diff --git a/spec/build/bsps/aarch64/a72/tsta72.yml b/spec/build/bsps/aarch64/a72/tsta72.yml
index a3d8c9810d..adf6d85ae1 100644
--- a/spec/build/bsps/aarch64/a72/tsta72.yml
+++ b/spec/build/bsps/aarch64/a72/tsta72.yml
@@ -6,40 +6,13 @@ actions:
state: exclude
tests:
- minimum
-- set-test-state:
- reason: |
- Tests that are passing intermittently.
- state: indeterminate
- tests:
- - psx12
- - psxtimes01
- - rtmonuse
- - rtmonusxtimes01
- - sp04
- - sp20
- - sp68
- - sp69
- - spcpucounter01
- - spedfsched02
- - spedfsched04
- - sprmsched01
- - sptimecounter02
- - sptimecounter04
- - ttest02
-- set-test-state:
- reason: |
- Tests that pass nominally, but fail under Qemu when the host is under
- heavy load.
- state: indeterminate
- tests:
- - spintrcritical03
- - spintrcritical04
- - spintrcritical05
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: []
description: ''
enabled-by: true
-links: []
+links:
+- role: build-dependency
+ uid: ../../tstqemu
type: build
diff --git a/spec/build/bsps/aarch64/grp.yml b/spec/build/bsps/aarch64/grp.yml
index 9428fb9435..8f40a9952e 100644
--- a/spec/build/bsps/aarch64/grp.yml
+++ b/spec/build/bsps/aarch64/grp.yml
@@ -12,9 +12,6 @@ install:
source:
- bsps/aarch64/include/bsp/linker-symbols.h
- bsps/aarch64/include/bsp/start.h
-- destination: ${BSP_INCLUDEDIR}/dev/clock
- source:
- - bsps/include/dev/clock/arm-generic-timer.h
- destination: ${BSP_INCLUDEDIR}/dev/irq
source:
- bsps/aarch64/include/dev/irq/arm-gic-arch.h
diff --git a/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml b/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml
index a579c094ba..7b6511a8cc 100644
--- a/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml
+++ b/spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml
@@ -20,6 +20,10 @@ install:
- bsps/aarch64/raspberrypi/include/bsp/raspberrypi.h
links:
- role: build-dependency
+ uid: objclock
+- role: build-dependency
+ uid: objsystemtimer
+- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../start
@@ -50,10 +54,8 @@ source:
- 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
diff --git a/spec/build/bsps/aarch64/raspberrypi/objclock.yml b/spec/build/bsps/aarch64/raspberrypi/objclock.yml
new file mode 100644
index 0000000000..24f61c93c4
--- /dev/null
+++ b/spec/build/bsps/aarch64/raspberrypi/objclock.yml
@@ -0,0 +1,31 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+ - Copyright (C) 2022 Mohd Noor Aman
+ - Copyright (C) 2023 Utkarsh Verma
+ - Copyright (C) 2024 Ning Yang
+
+type: build
+enabled-by:
+ not: BSP_CLOCK_USE_SYSTEMTIMER
+
+build-type: objects
+cflags: []
+cppflags: []
+cxxflags: []
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}/dev/clock
+ source:
+ - bsps/include/dev/clock/arm-generic-timer.h
+
+source:
+ - bsps/aarch64/shared/clock/arm-generic-timer-aarch64.c
+ - bsps/shared/dev/clock/arm-generic-timer.c
+
+links:
+ - role: build-dependency
+ uid: ../optgtusevirt
+ - role: build-dependency
+ uid: ../optgtuseps
+ - role: build-dependency
+ uid: optsystemtimer \ No newline at end of file
diff --git a/spec/build/bsps/aarch64/raspberrypi/objsystemtimer.yml b/spec/build/bsps/aarch64/raspberrypi/objsystemtimer.yml
new file mode 100644
index 0000000000..1ead15fdd5
--- /dev/null
+++ b/spec/build/bsps/aarch64/raspberrypi/objsystemtimer.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+ - Copyright (C) 2024 Ning Yang
+
+type: build
+enabled-by:
+- BSP_CLOCK_USE_SYSTEMTIMER
+
+build-type: objects
+cflags: []
+cppflags: []
+cxxflags: []
+includes: []
+install: []
+
+source:
+ - bsps/shared/dev/clock/bcm2835-system-timer.c
+ - bsps/shared/dev/cpucounter/cpucounterfrequency.c
+ - bsps/shared/dev/cpucounter/cpucounterread.c
+
+links:
+ - role: build-dependency
+ uid: optsystemtimer \ No newline at end of file
diff --git a/spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml b/spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml
new file mode 100644
index 0000000000..c20371ab8b
--- /dev/null
+++ b/spec/build/bsps/aarch64/raspberrypi/optsystemtimer.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+ - Copyright (C) 2024 Ning Yang
+
+type: build
+build-type: option
+
+enabled-by: true
+name: BSP_CLOCK_USE_SYSTEMTIMER
+description: |
+ The clock from the ARM timer is derived from the system clock. This clock can
+ change dynamically e.g. if the system goes into reduced power or in low power
+ mode. Thus the clock speed adapts to the overall system performance
+ capabilities. For accurate timing it is recommended to use the system timers.
+
+actions:
+ - get-boolean: null
+ - define-condition: null
+ - env-enable: null
+default:
+ - enabled-by:
+ - aarch64/raspberrypi4b
+ value: false
+
+links: [] \ No newline at end of file
diff --git a/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml b/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml
index 0a0ab619af..69b85cadbd 100644
--- a/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml
+++ b/spec/build/bsps/aarch64/xilinx-versal/tstqemu.yml
@@ -12,5 +12,7 @@ copyrights:
default: []
description: ''
enabled-by: true
-links: []
+links:
+- role: build-dependency
+ uid: ../../tstqemu
type: build
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/bspa53lp64.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/bspa53lp64.yml
new file mode 100644
index 0000000000..42316db4d3
--- /dev/null
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/bspa53lp64.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: aarch64
+bsp: xilinx_zynqmp_lp64_a53
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2024 embedded brains GmbH
+cppflags: []
+enabled-by: true
+family: xilinx-zynqmp
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: linkcmds_lp64
+- role: build-dependency
+ uid: objfdtzynqmp
+source: []
+type: build
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
index a00490a826..00b1060be6 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/grp.yml
@@ -39,8 +39,6 @@ links:
- role: build-dependency
uid: optclkuart
- role: build-dependency
- uid: ../../optconminor
-- role: build-dependency
uid: ../../obj
- role: build-dependency
uid: ../../objirq
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml
index 869181a95e..3a78b9af38 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optloadoff.yml
@@ -9,6 +9,7 @@ copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default:
- enabled-by:
+ - aarch64/xilinx_zynqmp_lp64_a53
- aarch64/xilinx_zynqmp_ilp32_zu3eg
- aarch64/xilinx_zynqmp_lp64_cfc400x
- aarch64/xilinx_zynqmp_lp64_zu3eg
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml
index c4d33094fb..33f0946532 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/optramori.yml
@@ -9,6 +9,7 @@ copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default:
- enabled-by:
+ - aarch64/xilinx_zynqmp_lp64_a53
- aarch64/xilinx_zynqmp_ilp32_zu3eg
- aarch64/xilinx_zynqmp_lp64_cfc400x
- aarch64/xilinx_zynqmp_lp64_zu3eg
diff --git a/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml b/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml
index a3d8c9810d..adf6d85ae1 100644
--- a/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml
+++ b/spec/build/bsps/aarch64/xilinx-zynqmp/tstqemu.yml
@@ -6,40 +6,13 @@ actions:
state: exclude
tests:
- minimum
-- set-test-state:
- reason: |
- Tests that are passing intermittently.
- state: indeterminate
- tests:
- - psx12
- - psxtimes01
- - rtmonuse
- - rtmonusxtimes01
- - sp04
- - sp20
- - sp68
- - sp69
- - spcpucounter01
- - spedfsched02
- - spedfsched04
- - sprmsched01
- - sptimecounter02
- - sptimecounter04
- - ttest02
-- set-test-state:
- reason: |
- Tests that pass nominally, but fail under Qemu when the host is under
- heavy load.
- state: indeterminate
- tests:
- - spintrcritical03
- - spintrcritical04
- - spintrcritical05
build-type: option
copyrights:
- Copyright (C) 2020 On-Line Applications Research (OAR)
default: []
description: ''
enabled-by: true
-links: []
+links:
+- role: build-dependency
+ uid: ../../tstqemu
type: build
diff --git a/spec/build/bsps/arm/atsam/tstatsamv.yml b/spec/build/bsps/arm/atsam/tstatsamv.yml
index 08df618f0e..2860cfa51e 100644
--- a/spec/build/bsps/arm/atsam/tstatsamv.yml
+++ b/spec/build/bsps/arm/atsam/tstatsamv.yml
@@ -7,6 +7,7 @@ actions:
- fileio
- flashdisk01
- fsdosfsname01
+ - fsjffs2empty01
- jffs2fserror
- jffs2fslink
- jffs2fspatheval
@@ -15,6 +16,14 @@ actions:
- jffs2fsscandir01
- jffs2fssymlink
- jffs2fstime
+ - jffs2nandfserror
+ - jffs2nandfslink
+ - jffs2nandfspatheval
+ - jffs2nandfspermission
+ - jffs2nandfsrdwr
+ - jffs2nandfsscandir01
+ - jffs2nandfssymlink
+ - jffs2nandfstime
- linpack
- psxconfig01
- record02
diff --git a/spec/build/bsps/arm/beagle/obj.yml b/spec/build/bsps/arm/beagle/obj.yml
index 9e6f070358..0f2f354ab9 100644
--- a/spec/build/bsps/arm/beagle/obj.yml
+++ b/spec/build/bsps/arm/beagle/obj.yml
@@ -36,8 +36,6 @@ source:
- bsps/arm/beagle/qep/qep.c
- bsps/arm/beagle/rtc/rtc.c
- bsps/arm/beagle/spi/spi.c
-- bsps/arm/beagle/dcan/dcan.c
-- bsps/arm/beagle/dcan/am335x-dcan.c
- bsps/arm/beagle/start/bspdebug.c
- bsps/arm/beagle/start/bspreset.c
- bsps/arm/beagle/start/bspstart.c
@@ -49,6 +47,7 @@ source:
- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/shared/start/bspstarthook0-empty.c
- bsps/shared/dev/btimer/btimer-cpucounter.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
diff --git a/spec/build/bsps/arm/grp.yml b/spec/build/bsps/arm/grp.yml
index 1058f58d92..a48cd80d74 100644
--- a/spec/build/bsps/arm/grp.yml
+++ b/spec/build/bsps/arm/grp.yml
@@ -10,12 +10,13 @@ includes: []
install:
- destination: ${BSP_INCLUDEDIR}
source:
+ - bsps/arm/include/cachel1_armv7.h
+ - bsps/arm/include/cmsis_compiler.h
- bsps/arm/include/cmsis_gcc.h
+ - bsps/arm/include/cmsis_version.h
- bsps/arm/include/core_cm7.h
- bsps/arm/include/core_cm4.h
- - bsps/arm/include/core_cmFunc.h
- - bsps/arm/include/core_cmInstr.h
- - bsps/arm/include/core_cmSimd.h
+ - bsps/arm/include/mpu_armv7.h
- bsps/arm/include/uart.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
diff --git a/spec/build/bsps/arm/imx/bspimx.yml b/spec/build/bsps/arm/imx/bspimx.yml
index 63733dd5a4..51c2413409 100644
--- a/spec/build/bsps/arm/imx/bspimx.yml
+++ b/spec/build/bsps/arm/imx/bspimx.yml
@@ -103,6 +103,7 @@ source:
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/irq/arm-gicv2.c
- bsps/shared/dev/irq/arm-gicv2-get-attributes.c
+- bsps/shared/dev/rtc/rtc-support.c
- bsps/shared/dev/serial/console-termios.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bsp-fdt.c
diff --git a/spec/build/bsps/arm/imxrt/bspimxrt1052.yml b/spec/build/bsps/arm/imxrt/bspimxrt1052.yml
index 6c2b3339f9..8413b4bef1 100644
--- a/spec/build/bsps/arm/imxrt/bspimxrt1052.yml
+++ b/spec/build/bsps/arm/imxrt/bspimxrt1052.yml
@@ -4,7 +4,7 @@ bsp: imxrt1052
build-type: bsp
cflags: []
copyrights:
-- Copyright (C) 2020-2023 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2020, 2023 embedded brains GmbH & Co. KG
cppflags: []
enabled-by: true
family: imxrt
@@ -16,6 +16,7 @@ includes:
install:
- destination: ${BSP_INCLUDEDIR}/imxrt
source:
+ - bsps/arm/imxrt/dts/imxrt1050-evkb.dts
- bsps/arm/imxrt/include/imxrt/imxrt1050.dtsi
- bsps/arm/imxrt/include/imxrt/imxrt1050-pinfunc.h
links:
@@ -24,6 +25,7 @@ links:
source:
- bsps/arm/imxrt/boards/evkbimxrt1050/clock_config.c
- bsps/arm/imxrt/boards/evkbimxrt1050/flash-dcd.c
+- bsps/arm/imxrt/boards/evkbimxrt1050/flash-flexspi-config.c
- bsps/arm/imxrt/boards/evkbimxrt1050/pin_mux.c
- bsps/arm/imxrt/boards/evkbimxrt1050/clock-arm-pll-config.c
- bsps/arm/imxrt/dts/imxrt1050-evkb.c
diff --git a/spec/build/bsps/arm/imxrt/bspimxrt1166-cm7-saltshaker.yml b/spec/build/bsps/arm/imxrt/bspimxrt1166-cm7-saltshaker.yml
new file mode 100644
index 0000000000..d0b1f51741
--- /dev/null
+++ b/spec/build/bsps/arm/imxrt/bspimxrt1166-cm7-saltshaker.yml
@@ -0,0 +1,32 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: imxrt1166-cm7-saltshaker
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+cppflags: []
+enabled-by: true
+family: imxrt
+includes:
+- bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1166
+- bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1166/drivers
+- bsps/arm/imxrt/mcux-sdk/devices/MIMXRT1166/xip
+- bsps/arm/imxrt/mcux-sdk/drivers/common
+- bsps/arm/imxrt/mcux-sdk/drivers/semc
+install:
+- destination: ${BSP_INCLUDEDIR}/imxrt
+ source:
+ - bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.dts
+ - bsps/arm/imxrt/include/imxrt/imxrt1166.dtsi
+ - bsps/arm/imxrt/include/imxrt/imxrt1166-pinfunc.h
+links:
+- role: build-dependency
+ uid: obj-mimxrt1166-cm7
+source:
+- bsps/arm/imxrt/boards/saltshaker/clock_config.c
+- bsps/arm/imxrt/boards/saltshaker/dcd.c
+- bsps/arm/imxrt/boards/saltshaker/flash-flexspi-config.c
+- bsps/arm/imxrt/boards/saltshaker/pin_mux.c
+- bsps/arm/imxrt/dts/imxrt1166-cm7-saltshaker.c
+type: build
diff --git a/spec/build/bsps/arm/imxrt/grp.yml b/spec/build/bsps/arm/imxrt/grp.yml
index feda472401..12e50c5376 100644
--- a/spec/build/bsps/arm/imxrt/grp.yml
+++ b/spec/build/bsps/arm/imxrt/grp.yml
@@ -2,7 +2,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: group
cflags: []
copyrights:
-- Copyright (C) 2020-2023 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2020, 2023 embedded brains GmbH & Co. KG
cppflags: []
cxxflags: []
enabled-by: true
@@ -25,6 +25,8 @@ links:
- role: build-dependency
uid: optlinkcmds
- role: build-dependency
+ uid: optlpspimaxcs
+- role: build-dependency
uid: optmemdtcmsz
- role: build-dependency
uid: optmemextramnocachesz
@@ -33,7 +35,9 @@ links:
- role: build-dependency
uid: optmemextramsz
- role: build-dependency
- uid: optmemflashcfgsz
+ uid: optmemflashcfgoffset
+- role: build-dependency
+ uid: optmemflashivtoffset
- role: build-dependency
uid: optmemflashivtsz
- role: build-dependency
diff --git a/spec/build/bsps/arm/imxrt/linkcmdsmemory.yml b/spec/build/bsps/arm/imxrt/linkcmdsmemory.yml
index d50d2c814b..967423ed6b 100644
--- a/spec/build/bsps/arm/imxrt/linkcmdsmemory.yml
+++ b/spec/build/bsps/arm/imxrt/linkcmdsmemory.yml
@@ -5,12 +5,13 @@ content: |
NULL : ORIGIN = 0x00000000, LENGTH = ${IMXRT_MEMORY_NULL_SIZE:#010x}
ITCM : ORIGIN = ${IMXRT_MEMORY_NULL_SIZE:#010x}, LENGTH = ${IMXRT_MEMORY_ITCM_SIZE:#010x}
DTCM : ORIGIN = 0x20000000, LENGTH = ${IMXRT_MEMORY_DTCM_SIZE:#010x}
- OCRAM : ORIGIN = ${IMXRT_MEMORY_OCRAM_ORIGIN}, LENGTH = ${IMXRT_MEMORY_OCRAM_SIZE:#010x} - ${IMXRT_MEMORY_OCRAM_NOCACHE_SIZE:#010x}
- OCRAM_NOCACHE : ORIGIN = ${IMXRT_MEMORY_OCRAM_ORIGIN} + ${IMXRT_MEMORY_OCRAM_SIZE:#010x} - ${IMXRT_MEMORY_OCRAM_NOCACHE_SIZE:#010x}, LENGTH = ${IMXRT_MEMORY_OCRAM_NOCACHE_SIZE:#010x}
+ OCRAM : ORIGIN = ${IMXRT_MEMORY_OCRAM_ORIGIN:#010x}, LENGTH = ${IMXRT_MEMORY_OCRAM_SIZE:#010x} - ${IMXRT_MEMORY_OCRAM_NOCACHE_SIZE:#010x}
+ OCRAM_NOCACHE : ORIGIN = ${IMXRT_MEMORY_OCRAM_ORIGIN:#010x} + ${IMXRT_MEMORY_OCRAM_SIZE:#010x} - ${IMXRT_MEMORY_OCRAM_NOCACHE_SIZE:#010x}, LENGTH = ${IMXRT_MEMORY_OCRAM_NOCACHE_SIZE:#010x}
PERIPHERAL : ORIGIN = 0x40000000, LENGTH = 0x20000000
- FLASH_CONFIG : ORIGIN = ${IMXRT_MEMORY_FLASH_ORIGIN:#010x}, LENGTH = ${IMXRT_MEMORY_FLASH_CFG_SIZE:#010x}
- FLASH_IVT : ORIGIN = ${IMXRT_MEMORY_FLASH_ORIGIN:#010x} + ${IMXRT_MEMORY_FLASH_CFG_SIZE:#010x}, LENGTH = ${IMXRT_MEMORY_FLASH_IVT_SIZE:#010x}
- FLASH : ORIGIN = ${IMXRT_MEMORY_FLASH_ORIGIN:#010x} + ${IMXRT_MEMORY_FLASH_CFG_SIZE:#010x} + ${IMXRT_MEMORY_FLASH_IVT_SIZE:#010x}, LENGTH = ${IMXRT_MEMORY_FLASH_SIZE:#010x} - ${IMXRT_MEMORY_FLASH_CFG_SIZE:#010x} - ${IMXRT_MEMORY_FLASH_IVT_SIZE:#010x}
+ FLASH_RAW : ORIGIN = ${IMXRT_MEMORY_FLASH_ORIGIN:#010x}, LENGTH = ${IMXRT_MEMORY_FLASH_SIZE:#010x}
+ FLASH_CONFIG : ORIGIN = ${IMXRT_MEMORY_FLASH_ORIGIN:#010x} + ${IMXRT_MEMORY_FLASH_CFG_OFFSET:#010x}, LENGTH = ${IMXRT_MEMORY_FLASH_IVT_OFFSET:#010x} - ${IMXRT_MEMORY_FLASH_CFG_OFFSET:#010x}
+ FLASH_IVT : ORIGIN = ${IMXRT_MEMORY_FLASH_ORIGIN:#010x} + ${IMXRT_MEMORY_FLASH_IVT_OFFSET:#010x}, LENGTH = ${IMXRT_MEMORY_FLASH_IVT_SIZE:#010x}
+ FLASH : ORIGIN = ${IMXRT_MEMORY_FLASH_ORIGIN:#010x} + ${IMXRT_MEMORY_FLASH_IVT_OFFSET:#010x} + ${IMXRT_MEMORY_FLASH_IVT_SIZE:#010x}, LENGTH = ${IMXRT_MEMORY_FLASH_SIZE:#010x} - ${IMXRT_MEMORY_FLASH_IVT_OFFSET:#010x} - ${IMXRT_MEMORY_FLASH_IVT_SIZE:#010x}
EXTRAM : ORIGIN = ${IMXRT_MEMORY_EXTRAM_ORIGIN:#010x}, LENGTH = ${IMXRT_MEMORY_EXTRAM_SIZE:#010x} - ${IMXRT_MEMORY_EXTRAM_NOCACHE_SIZE:#010x}
EXTRAM_NOCACHE : ORIGIN = ${IMXRT_MEMORY_EXTRAM_ORIGIN:#010x} + ${IMXRT_MEMORY_EXTRAM_SIZE:#010x} - ${IMXRT_MEMORY_EXTRAM_NOCACHE_SIZE:#010x}, LENGTH = ${IMXRT_MEMORY_EXTRAM_NOCACHE_SIZE:#010x}
}
@@ -39,6 +40,10 @@ content: |
imxrt_memory_peripheral_end = ORIGIN (PERIPHERAL) + LENGTH (PERIPHERAL);
imxrt_memory_peripheral_size = LENGTH (PERIPHERAL);
+ imxrt_memory_flash_raw_begin = ORIGIN (FLASH_RAW);
+ imxrt_memory_flash_raw_end = ORIGIN (FLASH_RAW) + LENGTH (FLASH_RAW);
+ imxrt_memory_flash_raw_size = LENGTH (FLASH_RAW);
+
imxrt_memory_flash_config_begin = ORIGIN (FLASH_CONFIG);
imxrt_memory_flash_config_end = ORIGIN (FLASH_CONFIG) + LENGTH (FLASH_CONFIG);
imxrt_memory_flash_config_size = LENGTH (FLASH_CONFIG);
diff --git a/spec/build/bsps/arm/imxrt/obj-mimxrt1052.yml b/spec/build/bsps/arm/imxrt/obj-mimxrt1052.yml
index 7b7c9d450c..35b468eb75 100644
--- a/spec/build/bsps/arm/imxrt/obj-mimxrt1052.yml
+++ b/spec/build/bsps/arm/imxrt/obj-mimxrt1052.yml
@@ -2,7 +2,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
-- Copyright (C) 2023 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
cppflags: []
cxxflags: []
enabled-by: true
@@ -140,7 +140,6 @@ install:
- bsps/arm/imxrt/mcux-sdk/drivers/wdog01/fsl_wdog.h
- bsps/arm/imxrt/mcux-sdk/drivers/xbara/fsl_xbara.h
- bsps/arm/imxrt/mcux-sdk/drivers/xbarb/fsl_xbarb.h
-ldflags: []
links:
- role: build-dependency
uid: grp
@@ -208,5 +207,3 @@ source:
- bsps/arm/imxrt/mcux-sdk/drivers/xbara/fsl_xbara.c
- bsps/arm/imxrt/mcux-sdk/drivers/xbarb/fsl_xbarb.c
type: build
-use-after: []
-use-before: []
diff --git a/spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm4.yml b/spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm4.yml
index bd6934be87..0ddba1d7e1 100644
--- a/spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm4.yml
+++ b/spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm4.yml
@@ -2,7 +2,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
-- Copyright (C) 2023 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
cppflags: []
cxxflags: []
enabled-by: true
@@ -176,7 +176,6 @@ install:
- bsps/arm/imxrt/mcux-sdk/drivers/xbarb/fsl_xbarb.h
- bsps/arm/imxrt/mcux-sdk/drivers/xecc/fsl_xecc.h
- bsps/arm/imxrt/mcux-sdk/drivers/xrdc2/fsl_xrdc2.h
-ldflags: []
links:
- role: build-dependency
uid: grp
@@ -264,5 +263,3 @@ source:
- bsps/arm/imxrt/mcux-sdk/drivers/xecc/fsl_xecc.c
- bsps/arm/imxrt/mcux-sdk/drivers/xrdc2/fsl_xrdc2.c
type: build
-use-after: []
-use-before: []
diff --git a/spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm7.yml b/spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm7.yml
index dcc664dd41..8f14ae4156 100644
--- a/spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm7.yml
+++ b/spec/build/bsps/arm/imxrt/obj-mimxrt1166-cm7.yml
@@ -2,7 +2,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
-- Copyright (C) 2023 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
cppflags: []
cxxflags: []
enabled-by: true
@@ -189,7 +189,6 @@ install:
- bsps/arm/imxrt/mcux-sdk/drivers/xbarb/fsl_xbarb.h
- bsps/arm/imxrt/mcux-sdk/drivers/xecc/fsl_xecc.h
- bsps/arm/imxrt/mcux-sdk/drivers/xrdc2/fsl_xrdc2.h
-ldflags: []
links:
- role: build-dependency
uid: grp
@@ -285,5 +284,3 @@ source:
- bsps/arm/imxrt/mcux-sdk/drivers/xecc/fsl_xecc.c
- bsps/arm/imxrt/mcux-sdk/drivers/xrdc2/fsl_xrdc2.c
type: build
-use-after: []
-use-before: []
diff --git a/spec/build/bsps/arm/imxrt/obj.yml b/spec/build/bsps/arm/imxrt/obj.yml
index 85cb350dd2..ca1b07beca 100644
--- a/spec/build/bsps/arm/imxrt/obj.yml
+++ b/spec/build/bsps/arm/imxrt/obj.yml
@@ -2,7 +2,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: objects
cflags: []
copyrights:
-- Copyright (C) 2020-2023 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2020, 2023 embedded brains GmbH & Co. KG
enabled-by: true
cppflags: []
cxxflags: []
@@ -41,7 +41,6 @@ source:
- bsps/arm/imxrt/start/bspstart.c
- bsps/arm/imxrt/start/bspstarthooks.c
- bsps/arm/imxrt/start/flash-boot-data.c
-- bsps/arm/imxrt/start/flash-flexspi-config.c
- bsps/arm/imxrt/start/flash-ivt.c
- bsps/arm/imxrt/start/imxrt-ffec-init.c
- bsps/arm/imxrt/start/mpu-config.c
diff --git a/spec/build/bsps/arm/imxrt/optlpspimaxcs.yml b/spec/build/bsps/arm/imxrt/optlpspimaxcs.yml
new file mode 100644
index 0000000000..d7cc0ff644
--- /dev/null
+++ b/spec/build/bsps/arm/imxrt/optlpspimaxcs.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 8
+- enabled-by: true
+ value: 0
+description: |
+ Maximum number of (combined) native and GPIO chip selects per LPSPI. If only
+ native chip selects are used, this can be set to 0 to save some processing
+ cycles on SPI transfers. Otherwise you have to set it to at least 4.
+enabled-by: true
+format: '{}'
+links: []
+name: IMXRT_LPSPI_MAX_CS
+type: build
diff --git a/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml b/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml
index 2ed8320586..1605ac7953 100644
--- a/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemdtcmsz.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x00040000
- enabled-by: true
value: 0x00020000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemextramsz.yml b/spec/build/bsps/arm/imxrt/optmemextramsz.yml
index c33ef0f60b..6a40bdecdf 100644
--- a/spec/build/bsps/arm/imxrt/optmemextramsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemextramsz.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x04000000
- enabled-by: true
value: 0x02000000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemflashcfgoffset.yml b/spec/build/bsps/arm/imxrt/optmemflashcfgoffset.yml
new file mode 100644
index 0000000000..382da261b8
--- /dev/null
+++ b/spec/build/bsps/arm/imxrt/optmemflashcfgoffset.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- env-assign: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x00000400
+- enabled-by: true
+ value: 0x00000000
+description: |
+ Ofset of the flash configuration area from the start of the FlexSPI / SEMC
+ flash in bytes. The example link files for the i.MX RT1050 set that to 0. On
+ the i.MX RT1166, it's 0x400.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_FLASH_CFG_OFFSET
+type: build
diff --git a/spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml b/spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml
deleted file mode 100644
index d724059956..0000000000
--- a/spec/build/bsps/arm/imxrt/optmemflashcfgsz.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
-actions:
-- get-integer: null
-- env-assign: null
-build-type: option
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH & Co. KG
-default:
-- enabled-by: true
- value: 0x00001000
-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
diff --git a/spec/build/bsps/arm/imxrt/optmemflashivtoffset.yml b/spec/build/bsps/arm/imxrt/optmemflashivtoffset.yml
new file mode 100644
index 0000000000..dcaa8d6247
--- /dev/null
+++ b/spec/build/bsps/arm/imxrt/optmemflashivtoffset.yml
@@ -0,0 +1,20 @@
+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) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00001000
+description: |
+ Offset of the image vector table in flash in bytes. Either 4 KByte for FlexSPI
+ NOR / SEMC NOR or 1 KByte for most others (on i.MXRT1050). Take a look at the
+ i.MXRT1050 / i.MXRT1166 Processor Reference Manual chapter "System Boot" /
+ "Program image" for details.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: IMXRT_MEMORY_FLASH_IVT_OFFSET
+type: build
diff --git a/spec/build/bsps/arm/imxrt/optmemflashorigin.yml b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
index 407114d834..5bcbe827af 100644
--- a/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
+++ b/spec/build/bsps/arm/imxrt/optmemflashorigin.yml
@@ -7,12 +7,14 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x30000000
- enabled-by: true
value: 0x60000000
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.
+ connected to FlexSPI or a board specific variant for special BSPs.
enabled-by: true
format: '{:#010x}'
links: []
diff --git a/spec/build/bsps/arm/imxrt/optmemflashsz.yml b/spec/build/bsps/arm/imxrt/optmemflashsz.yml
index 5ec54768c6..b46d15bd4e 100644
--- a/spec/build/bsps/arm/imxrt/optmemflashsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemflashsz.yml
@@ -7,6 +7,8 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x00800000
- enabled-by: true
value: 0x04000000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemitcmsz.yml b/spec/build/bsps/arm/imxrt/optmemitcmsz.yml
index 37523f5617..5e13d371ac 100644
--- a/spec/build/bsps/arm/imxrt/optmemitcmsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemitcmsz.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x0003ff00
- enabled-by: true
value: 0x0001ff00
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemocramorigin.yml b/spec/build/bsps/arm/imxrt/optmemocramorigin.yml
index c3d08918a7..6c344ca5b6 100644
--- a/spec/build/bsps/arm/imxrt/optmemocramorigin.yml
+++ b/spec/build/bsps/arm/imxrt/optmemocramorigin.yml
@@ -4,8 +4,10 @@ actions:
- env-assign: null
build-type: option
copyrights:
-- Copyright (C) 2023 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x20340000
- enabled-by: true
value: 0x20200000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optmemocramsz.yml b/spec/build/bsps/arm/imxrt/optmemocramsz.yml
index bf9d16c6b8..dd215dfb81 100644
--- a/spec/build/bsps/arm/imxrt/optmemocramsz.yml
+++ b/spec/build/bsps/arm/imxrt/optmemocramsz.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: 0x00040000
- enabled-by: true
value: 0x00040000
description: |
diff --git a/spec/build/bsps/arm/imxrt/optvariant.yml b/spec/build/bsps/arm/imxrt/optvariant.yml
index 3f15034387..68a1f53267 100644
--- a/spec/build/bsps/arm/imxrt/optvariant.yml
+++ b/spec/build/bsps/arm/imxrt/optvariant.yml
@@ -90,6 +90,8 @@ actions:
conf.define("IMXRT_IS_{}xx".format(value[:8]), True)
build-type: option
default:
+- enabled-by: arm/imxrt1166-cm7-saltshaker
+ value: MIMXRT1166DVM6A_cm7
- enabled-by: true
value: MIMXRT1052DVL6B
enabled-by: true
@@ -101,4 +103,4 @@ description: |
MIMXRT1166DVM6A_cm7.
type: build
copyrights:
-- Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de)
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
diff --git a/spec/build/bsps/arm/lm3s69xx/obj.yml b/spec/build/bsps/arm/lm3s69xx/obj.yml
index 98bd344fe9..19f0e15bb7 100644
--- a/spec/build/bsps/arm/lm3s69xx/obj.yml
+++ b/spec/build/bsps/arm/lm3s69xx/obj.yml
@@ -38,6 +38,7 @@ source:
- bsps/arm/shared/irq/irq-dispatch-armv7m.c
- bsps/arm/shared/start/bsp-start-memcpy.S
- bsps/arm/shared/start/bspreset-armv7m.c
+- bsps/arm/shared/start/bspstarthook0-empty.c
- bsps/shared/cache/nocache.c
- bsps/shared/dev/btimer/btimer-cpucounter.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
diff --git a/spec/build/bsps/arm/lm3s69xx/tstlm3s3749.yml b/spec/build/bsps/arm/lm3s69xx/tstlm3s3749.yml
index 839357f45e..aa4da6aae0 100644
--- a/spec/build/bsps/arm/lm3s69xx/tstlm3s3749.yml
+++ b/spec/build/bsps/arm/lm3s69xx/tstlm3s3749.yml
@@ -13,6 +13,7 @@ actions:
- math
- mdosfsfserror
- mdosfsfsrdwr
+ - monitor
- monitor02
- paranoia
- psxmsgq01
diff --git a/spec/build/bsps/arm/lpc32xx/obj.yml b/spec/build/bsps/arm/lpc32xx/obj.yml
index d039fdd0be..86dfda869a 100644
--- a/spec/build/bsps/arm/lpc32xx/obj.yml
+++ b/spec/build/bsps/arm/lpc32xx/obj.yml
@@ -48,6 +48,7 @@ source:
- bsps/arm/lpc32xx/start/bspstart.c
- bsps/arm/lpc32xx/start/bspstarthooks.c
- bsps/arm/lpc32xx/start/emc.c
+- bsps/arm/lpc32xx/start/mmu.c
- bsps/arm/lpc32xx/start/restart.c
- bsps/arm/lpc32xx/start/system-clocks.c
- bsps/arm/lpc32xx/start/timer.c
diff --git a/spec/build/bsps/arm/optstartvecaddralign.yml b/spec/build/bsps/arm/optstartvecaddralign.yml
new file mode 100644
index 0000000000..aa12b1968b
--- /dev/null
+++ b/spec/build/bsps/arm/optstartvecaddralign.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: bsps/arm/tms570
+ value: 64
+- enabled-by: true
+ value: null
+description: |
+ Defines the alignment in bytes of the vector address table begin. The vector
+ address table contains the exception handler addresses. When no alignment is
+ specified, the vector address table immediately follows the vector
+ instruction table.
+enabled-by: true
+format: '{}'
+links: []
+name: BSP_START_VECTOR_ADDRESS_TABLE_ALIGNMENT
+type: build
diff --git a/spec/build/bsps/arm/raspberrypi/obj.yml b/spec/build/bsps/arm/raspberrypi/obj.yml
index ec5c82a8fb..ea370829df 100644
--- a/spec/build/bsps/arm/raspberrypi/obj.yml
+++ b/spec/build/bsps/arm/raspberrypi/obj.yml
@@ -26,7 +26,6 @@ install:
- bsps/arm/raspberrypi/include/bsp/vc.h
links: []
source:
-- bsps/arm/raspberrypi/clock/clockdrv.c
- bsps/arm/raspberrypi/console/console-config.c
- bsps/arm/raspberrypi/console/fb.c
- bsps/arm/raspberrypi/console/fbcons.c
@@ -47,6 +46,7 @@ source:
- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/shared/dev/clock/bcm2835-system-timer.c
- bsps/shared/dev/cpucounter/cpucounterfrequency.c
- bsps/shared/dev/cpucounter/cpucounterread.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
diff --git a/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml b/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
index a6e4d5b1a9..4111830ce9 100644
--- a/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
+++ b/spec/build/bsps/arm/realview-pbx-a9/bsprealviewpbxa9.yml
@@ -54,6 +54,8 @@ links:
- role: build-dependency
uid: ../../opto0
- role: build-dependency
+ uid: ../../tstqemu
+- role: build-dependency
uid: ../../bspopts
source:
- bsps/arm/realview-pbx-a9/console/console-config.c
diff --git a/spec/build/bsps/arm/start.yml b/spec/build/bsps/arm/start.yml
index 067fec1173..8e82d0ea48 100644
--- a/spec/build/bsps/arm/start.yml
+++ b/spec/build/bsps/arm/start.yml
@@ -7,7 +7,9 @@ cppflags: []
enabled-by: true
includes: []
install-path: ${BSP_LIBDIR}
-links: []
+links:
+- role: build-dependency
+ uid: optstartvecaddralign
source:
- bsps/arm/shared/start/start.S
target: start.o
diff --git a/spec/build/bsps/arm/stm32f4/grp.yml b/spec/build/bsps/arm/stm32f4/grp.yml
index 2257fdf015..27e2197e46 100644
--- a/spec/build/bsps/arm/stm32f4/grp.yml
+++ b/spec/build/bsps/arm/stm32f4/grp.yml
@@ -51,6 +51,8 @@ links:
- role: build-dependency
uid: optusartbaud
- role: build-dependency
+ uid: ../../optconsoleirq
+- role: build-dependency
uid: ../../linkcmds
- role: build-dependency
uid: ../../obj
diff --git a/spec/build/bsps/arm/stm32f4/obj.yml b/spec/build/bsps/arm/stm32f4/obj.yml
index d879287d1d..f895299d1a 100644
--- a/spec/build/bsps/arm/stm32f4/obj.yml
+++ b/spec/build/bsps/arm/stm32f4/obj.yml
@@ -43,6 +43,7 @@ source:
- bsps/arm/shared/irq/irq-armv7m.c
- bsps/arm/shared/irq/irq-dispatch-armv7m.c
- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/shared/start/bspstarthook0-empty.c
- bsps/arm/stm32f4/console/console-config.c
- bsps/arm/stm32f4/console/usart.c
- bsps/arm/stm32f4/i2c/i2c-config.c
diff --git a/spec/build/bsps/arm/stm32h7/.doorstop.yml b/spec/build/bsps/arm/stm32h7/.doorstop.yml
deleted file mode 100644
index 16950ce80f..0000000000
--- a/spec/build/bsps/arm/stm32h7/.doorstop.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-settings:
- digits: 3
- parent: RTEMS-BUILD-BSP-ARM
- prefix: RTEMS-BUILD-BSP-ARM-STM32H7
- sep: '-'
-attributes: !include ../../../attributes.inc
diff --git a/spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml b/spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml
new file mode 100644
index 0000000000..0b910e8a0c
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/bspstm32h750b-dk.yml
@@ -0,0 +1,25 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: stm32h750b-dk
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+cppflags: []
+enabled-by: true
+family: stm32h7
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+- role: build-dependency
+ uid: tststm32h757i-eval
+source:
+- bsps/arm/stm32h7/boards/stm/stm32h747i-disco/stm32h7-bspstarthooks.c
+- bsps/arm/stm32h7/boards/stm/stm32h747i-disco/stm32h7-config-clk.c
+- bsps/arm/stm32h7/boards/stm/stm32h747i-disco/stm32h7-config-osc.c
+- bsps/arm/stm32h7/boards/stm/stm32h750b-dk/stm32h7-config-per.c
+- bsps/arm/stm32h7/boards/stm/stm32h750b-dk/system_stm32h7xx.c
+- bsps/arm/shared/cache/cache-v7m.c
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/grp.yml b/spec/build/bsps/arm/stm32h7/grp.yml
index e5d679e09d..239df9b898 100644
--- a/spec/build/bsps/arm/stm32h7/grp.yml
+++ b/spec/build/bsps/arm/stm32h7/grp.yml
@@ -99,10 +99,18 @@ links:
- role: build-dependency
uid: optusart1alternatefunc
- role: build-dependency
+ uid: optusart2gpiopins
+- role: build-dependency
+ uid: optusart2gpioregs
+- role: build-dependency
uid: optusart3gpiopins
- role: build-dependency
uid: optusart3gpioregs
- role: build-dependency
+ uid: optuart7gpiopins
+- role: build-dependency
+ uid: optuart7gpioregs
+- role: build-dependency
uid: optvariant
- role: build-dependency
uid: optethgpiogregs
diff --git a/spec/build/bsps/arm/stm32h7/obj.yml b/spec/build/bsps/arm/stm32h7/obj.yml
index 50b2e8e090..37e873f7e5 100644
--- a/spec/build/bsps/arm/stm32h7/obj.yml
+++ b/spec/build/bsps/arm/stm32h7/obj.yml
@@ -13,10 +13,18 @@ install:
- bsps/arm/stm32h7/include/bsp.h
- bsps/arm/stm32h7/include/chip.h
- bsps/arm/stm32h7/include/stm32_assert_template.h
+ - bsps/arm/stm32h7/include/stm32h723xx.h
+ - bsps/arm/stm32h7/include/stm32h725xx.h
+ - bsps/arm/stm32h7/include/stm32h730xx.h
+ - bsps/arm/stm32h7/include/stm32h730xxq.h
+ - bsps/arm/stm32h7/include/stm32h733xx.h
+ - bsps/arm/stm32h7/include/stm32h735xx.h
- bsps/arm/stm32h7/include/stm32h742xx.h
- bsps/arm/stm32h7/include/stm32h743xx.h
- bsps/arm/stm32h7/include/stm32h745xx.h
+ - bsps/arm/stm32h7/include/stm32h745xg.h
- bsps/arm/stm32h7/include/stm32h747xx.h
+ - bsps/arm/stm32h7/include/stm32h747xg.h
- bsps/arm/stm32h7/include/stm32h750xx.h
- bsps/arm/stm32h7/include/stm32h753xx.h
- bsps/arm/stm32h7/include/stm32h755xx.h
@@ -35,6 +43,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_hal_comp.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_conf.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_conf_template.h
+ - bsps/arm/stm32h7/include/stm32h7xx_hal_cordic.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_cortex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_crc_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_crc.h
@@ -57,6 +66,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_hal_fdcan.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_flash_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_flash.h
+ - bsps/arm/stm32h7/include/stm32h7xx_hal_fmac.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_gfxmmu.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_gpio_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_gpio.h
@@ -108,6 +118,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_hal_smartcard_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_smartcard.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_smbus.h
+ - bsps/arm/stm32h7/include/stm32h7xx_hal_smbus_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_spdifrx.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_spi_ex.h
- bsps/arm/stm32h7/include/stm32h7xx_hal_spi.h
@@ -124,6 +135,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_ll_bdma.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_bus.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_comp.h
+ - bsps/arm/stm32h7/include/stm32h7xx_ll_cordic.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_cortex.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_crc.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_crs.h
@@ -133,6 +145,7 @@ install:
- bsps/arm/stm32h7/include/stm32h7xx_ll_dma.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_dmamux.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_exti.h
+ - bsps/arm/stm32h7/include/stm32h7xx_ll_fmac.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_fmc.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_gpio.h
- bsps/arm/stm32h7/include/stm32h7xx_ll_hrtim.h
@@ -160,6 +173,8 @@ install:
- destination: ${BSP_INCLUDEDIR}/Legacy
source:
- bsps/arm/stm32h7/include/Legacy/stm32_hal_legacy.h
+ - bsps/arm/stm32h7/include/Legacy/stm32h7xx_hal_eth_ex_legacy.h
+ - bsps/arm/stm32h7/include/Legacy/stm32h7xx_hal_eth_legacy.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/arm/stm32h7/include/bsp/irq.h
@@ -204,6 +219,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_hal_cec.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_comp.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_cortex.c
+- bsps/arm/stm32h7/hal/stm32h7xx_hal_cordic.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_crc.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_crc_ex.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_cryp.c
@@ -224,6 +240,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_hal_fdcan.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_flash.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_flash_ex.c
+- bsps/arm/stm32h7/hal/stm32h7xx_hal_fmac.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_gfxmmu.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_gpio.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_hash.c
@@ -272,6 +289,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_hal_smartcard.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_smartcard_ex.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_smbus.c
+- bsps/arm/stm32h7/hal/stm32h7xx_hal_smbus_ex.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_spdifrx.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_spi.c
- bsps/arm/stm32h7/hal/stm32h7xx_hal_spi_ex.c
@@ -287,6 +305,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_ll_adc.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_bdma.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_comp.c
+- bsps/arm/stm32h7/hal/stm32h7xx_ll_cordic.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_crc.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_crs.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_dac.c
@@ -294,6 +313,7 @@ source:
- bsps/arm/stm32h7/hal/stm32h7xx_ll_dma.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_dma2d.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_exti.c
+- bsps/arm/stm32h7/hal/stm32h7xx_ll_fmac.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_fmc.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_gpio.c
- bsps/arm/stm32h7/hal/stm32h7xx_ll_hrtim.c
diff --git a/spec/build/bsps/arm/stm32h7/optenmpualign.yml b/spec/build/bsps/arm/stm32h7/optenmpualign.yml
index 874385956c..60e45c708d 100644
--- a/spec/build/bsps/arm/stm32h7/optenmpualign.yml
+++ b/spec/build/bsps/arm/stm32h7/optenmpualign.yml
@@ -7,6 +7,10 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by:
+ - arm/stm32h747i-disco-m4
+ - arm/stm32h757i-eval-m4
+ value: false
- enabled-by: true
value: true
description: |
diff --git a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
index 5080409f04..cee48a999e 100644
--- a/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
+++ b/spec/build/bsps/arm/stm32h7/optlinkcmds.yml
@@ -10,6 +10,7 @@ default:
- arm/nucleo-h743zi
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
+ - arm/stm32h750b-dk
- arm/stm32h757i-eval
- arm/stm32h757i-eval-m4
- arm/stm32h7b3i-dk
diff --git a/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml b/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml
index 784c23a785..821ae3c197 100644
--- a/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemquadspisz.yml
@@ -8,6 +8,7 @@ copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
- enabled-by:
+ - arm/stm32h750b-dk
- arm/stm32h757i-eval
- arm/stm32h757i-eval-m4
value: 0x08000000
diff --git a/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml b/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml
index a0dce04d55..5216e9b184 100644
--- a/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml
+++ b/spec/build/bsps/arm/stm32h7/optmemsdram2sz.yml
@@ -12,6 +12,9 @@ default:
- arm/stm32h757i-eval
- arm/stm32h757i-eval-m4
value: 0x02000000
+- enabled-by:
+ - arm/stm32h750b-dk
+ value: 0x01000000
- enabled-by: true
value: 0x00000000
description: |
diff --git a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
index 88870626c7..e02a9c4fb7 100644
--- a/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
+++ b/spec/build/bsps/arm/stm32h7/optprintkinstance.yml
@@ -6,7 +6,9 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
-- enabled-by: arm/nucleo-h743zi
+- enabled-by:
+ - arm/nucleo-h743zi
+ - arm/stm32h750b-dk
value: stm32h7_usart3_instance
- enabled-by: true
value: stm32h7_usart1_instance
diff --git a/spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml b/spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml
new file mode 100644
index 0000000000..0252bdab7c
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optuart7gpiopins.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+default:
+- enabled-by: true
+ value: ( GPIO_PIN_3 | GPIO_PIN_4 )
+description: |
+ GPIO pins used for the UART7 pin configuration.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_UART7_GPIO_PINS
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml b/spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml
new file mode 100644
index 0000000000..16ce3bf526
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optuart7gpioregs.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+default:
+- enabled-by: true
+ value: GPIOB
+description: |
+ GPIO registers used for the UART7 pin configuration.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_UART7_GPIO_REGS
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
index 1daefc26d2..e1ea0e77c3 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1gpiopins.yml
@@ -7,6 +7,9 @@ copyrights:
- Copyright (C) 2021, 22 embedded brains GmbH & Co. KG
default:
- enabled-by:
+ - arm/stm32h750b-dk
+ value: ( GPIO_PIN_6 | GPIO_PIN_7 )
+- enabled-by:
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
- arm/stm32h7b3i-dk
diff --git a/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
index 4029725f7e..028f023fd7 100644
--- a/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart1gpioregs.yml
@@ -12,6 +12,7 @@ default:
- arm/stm32h7b3i-dk
value: GPIOA
- enabled-by:
+ - arm/stm32h750b-dk
- arm/stm32h757i-eval
- arm/stm32h757i-eval-m4
value: GPIOB
diff --git a/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml
new file mode 100644
index 0000000000..731d9c07f5
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optusart2gpiopins.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+default:
+- enabled-by:
+ - arm/stm32h750b-dk
+ value: ( GPIO_PIN_5 | GPIO_PIN_6 )
+- enabled-by: true
+ value: ( GPIO_PIN_2 | GPIO_PIN_3 )
+description: |
+ GPIO pins used for the USART1 pin configuration.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_USART2_GPIO_PINS
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml
new file mode 100644
index 0000000000..9c297e2efd
--- /dev/null
+++ b/spec/build/bsps/arm/stm32h7/optusart2gpioregs.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-string: null
+- define-unquoted: null
+build-type: option
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+default:
+- enabled-by: arm/stm32h750b-dk
+ value: GPIOD
+- enabled-by: true
+ value: GPIOA
+description: |
+ GPIO registers used for the USART2 pin configuration.
+enabled-by: true
+format: '{}'
+links: []
+name: STM32H7_USART2_GPIO_REGS
+type: build
diff --git a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml
index f8b410312a..e03d637e1a 100644
--- a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/stm32h750b-dk
+ value: ( GPIO_PIN_10 | GPIO_PIN_11 )
- enabled-by: true
value: ( GPIO_PIN_8 | GPIO_PIN_9 )
description: |
diff --git a/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml b/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml
index 806f740e66..60dbd19c4f 100644
--- a/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml
+++ b/spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml
@@ -6,6 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2021 embedded brains GmbH & Co. KG
default:
+- enabled-by: arm/stm32h750b-dk
+ value: GPIOB
- enabled-by: true
value: GPIOD
description: |
diff --git a/spec/build/bsps/arm/stm32h7/optvariant.yml b/spec/build/bsps/arm/stm32h7/optvariant.yml
index bbce5f93ee..a24f0db988 100644
--- a/spec/build/bsps/arm/stm32h7/optvariant.yml
+++ b/spec/build/bsps/arm/stm32h7/optvariant.yml
@@ -26,6 +26,9 @@ default:
- arm/stm32h747i-disco
- arm/stm32h747i-disco-m4
value: STM32H747xx
+- enabled-by:
+ - arm/stm32h750b-dk
+ value: STM32H750xx
- enabled-by: true
value: STM32H743xx
description: |
diff --git a/spec/build/bsps/arm/tms570/bspls3137hdkwithloader.yml b/spec/build/bsps/arm/tms570/bsplc4357hdk.yml
index 90069533a1..54710fccb0 100644
--- a/spec/build/bsps/arm/tms570/bspls3137hdkwithloader.yml
+++ b/spec/build/bsps/arm/tms570/bsplc4357hdk.yml
@@ -1,10 +1,10 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
arch: arm
-bsp: tms570ls3137_hdk_with_loader
+bsp: tms570lc4357_hdk
build-type: bsp
cflags: []
copyrights:
-- Copyright (C) 2020 embedded brains GmbH & Co. KG
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
cppflags: []
enabled-by: true
family: tms570
diff --git a/spec/build/bsps/arm/tms570/bsplc4357hdksdram.yml b/spec/build/bsps/arm/tms570/bsplc4357hdksdram.yml
new file mode 100644
index 0000000000..376b1635f6
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/bsplc4357hdksdram.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: tms570lc4357_hdk_sdram
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+cppflags: []
+enabled-by: true
+family: tms570
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/arm/tms570/grp.yml b/spec/build/bsps/arm/tms570/grp.yml
index 2e7c9b19e5..5a3d4784be 100644
--- a/spec/build/bsps/arm/tms570/grp.yml
+++ b/spec/build/bsps/arm/tms570/grp.yml
@@ -11,6 +11,8 @@ install: []
ldflags: []
links:
- role: build-dependency
+ uid: optvariant
+- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../start
@@ -25,24 +27,32 @@ links:
- role: build-dependency
uid: objnohwinit
- role: build-dependency
- uid: optcclk
-- role: build-dependency
uid: optconirq
- role: build-dependency
uid: optmintskstksz
- role: build-dependency
uid: optoscmain
- role: build-dependency
- uid: optoscrtc
-- role: build-dependency
uid: optreginit
- role: build-dependency
uid: optscibaud
- role: build-dependency
- uid: opttms570ls3137
-- role: build-dependency
uid: optlinkflags
- role: build-dependency
+ uid: optmemflashorigin
+- role: build-dependency
+ uid: optmemflashsize
+- role: build-dependency
+ uid: optmemsdramorigin
+- role: build-dependency
+ uid: optmemsdramsize
+- role: build-dependency
+ uid: optmemsramorigin
+- role: build-dependency
+ uid: optmemsramsize
+- role: build-dependency
+ uid: linkcmdsmemory
+- role: build-dependency
uid: ../../linkcmds
- role: build-dependency
uid: ../../obj
diff --git a/spec/build/bsps/arm/tms570/linkcmdsmemory.yml b/spec/build/bsps/arm/tms570/linkcmdsmemory.yml
new file mode 100644
index 0000000000..33a87513bd
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/linkcmdsmemory.yml
@@ -0,0 +1,27 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ MEMORY {
+ ROM_INT : ORIGIN = ${TMS570_MEMORY_FLASH_ORIGIN:#010x}, LENGTH = ${TMS570_MEMORY_FLASH_SIZE:#010x}
+ RAM_INT : ORIGIN = ${TMS570_MEMORY_SRAM_ORIGIN:#010x}, LENGTH = ${TMS570_MEMORY_SRAM_SIZE:#010x}
+ RAM_EXT : ORIGIN = ${TMS570_MEMORY_SDRAM_ORIGIN:#010x}, LENGTH = ${TMS570_MEMORY_SDRAM_SIZE:#010x}
+ }
+
+ tms570_memory_flash_begin = ORIGIN (ROM_INT);
+ tms570_memory_flash_end = ORIGIN (ROM_INT) + LENGTH (ROM_INT);
+ tms570_memory_flash_size = LENGTH (ROM_INT);
+
+ tms570_memory_sram_begin = ORIGIN (RAM_INT);
+ tms570_memory_sram_end = ORIGIN (RAM_INT) + LENGTH (RAM_INT);
+ tms570_memory_sram_size = LENGTH (RAM_INT);
+
+ tms570_memory_sdram_begin = ORIGIN (RAM_EXT);
+ tms570_memory_sdram_end = ORIGIN (RAM_EXT) + LENGTH (RAM_EXT);
+ tms570_memory_sdram_size = LENGTH (RAM_EXT);
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds.memory
+type: build
diff --git a/spec/build/bsps/arm/tms570/obj.yml b/spec/build/bsps/arm/tms570/obj.yml
index 272ab64fcf..d9f0043397 100644
--- a/spec/build/bsps/arm/tms570/obj.yml
+++ b/spec/build/bsps/arm/tms570/obj.yml
@@ -18,10 +18,7 @@ install:
- bsps/arm/tms570/include/bsp/tms570-pinmux.h
- bsps/arm/tms570/include/bsp/tms570-pins.h
- bsps/arm/tms570/include/bsp/tms570-pom.h
- - bsps/arm/tms570/include/bsp/tms570-rti.h
- bsps/arm/tms570/include/bsp/tms570-sci-driver.h
- - bsps/arm/tms570/include/bsp/tms570-sci.h
- - bsps/arm/tms570/include/bsp/tms570-vim.h
- bsps/arm/tms570/include/bsp/tms570.h
- bsps/arm/tms570/include/bsp/tms570_hwinit.h
- bsps/arm/tms570/include/bsp/tms570_selftest.h
@@ -68,10 +65,11 @@ install:
- bsps/arm/tms570/include/bsp/ti_herc/reg_vim.h
- destination: ${BSP_LIBDIR}
source:
+ - bsps/arm/tms570/start/linkcmds.tms570lc4357_hdk
+ - bsps/arm/tms570/start/linkcmds.tms570lc4357_hdk_sdram
- bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk
- bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_intram
- bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_sdram
- - bsps/arm/tms570/start/linkcmds.tms570ls3137_hdk_with_loader
links: []
source:
- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
@@ -83,10 +81,12 @@ source:
- bsps/arm/tms570/cpucounter/cpucounterread.c
- bsps/arm/tms570/irq/irq.c
- bsps/arm/tms570/start/bspreset.c
+- bsps/arm/tms570/start/bsprestart.c
- bsps/arm/tms570/start/bspstart.c
- bsps/arm/tms570/start/pinmux.c
- bsps/arm/tms570/start/tms570-pom.c
-- bsps/shared/cache/nocache.c
+- bsps/arm/shared/cache/cache-cp15.c
+- bsps/arm/shared/cache/cache-v7ar-disable-data.S
- bsps/shared/dev/btimer/btimer-cpucounter.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/serial/console-termios.c
diff --git a/spec/build/bsps/arm/tms570/objhwinit.yml b/spec/build/bsps/arm/tms570/objhwinit.yml
index afa12e28d9..01b1502280 100644
--- a/spec/build/bsps/arm/tms570/objhwinit.yml
+++ b/spec/build/bsps/arm/tms570/objhwinit.yml
@@ -5,17 +5,23 @@ copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
cppflags: []
cxxflags: []
-enabled-by:
-- TMS570_USE_HWINIT_STARTUP
+enabled-by: TMS570_USE_HWINIT_STARTUP
includes: []
-install: []
-links: []
+install:
+- destination: ${BSP_INCLUDEDIR}/bsp/ti_herc
+ source:
+ - bsps/arm/tms570/include/bsp/ti_herc/errata_SSWF021_45.h
+links:
+- role: build-dependency
+ uid: objhwinitls3137hdk
+- role: build-dependency
+ uid: objhwinitlc4357hdk
source:
+- bsps/arm/tms570/start/bspstarthooks.c
- bsps/arm/tms570/start/bspstarthooks-hwinit.c
+- bsps/arm/tms570/start/errata_SSWF021_45.c
- bsps/arm/tms570/start/fail_notification.c
-- bsps/arm/tms570/start/init_emif_sdram.c
- bsps/arm/tms570/start/init_esm.c
-- bsps/arm/tms570/start/init_pinmux.c
- bsps/arm/tms570/start/init_system.c
- bsps/arm/tms570/start/tms570_selftest.c
- bsps/arm/tms570/start/tms570_selftest_par_can.c
diff --git a/spec/build/bsps/arm/tms570/objhwinitlc4357hdk.yml b/spec/build/bsps/arm/tms570/objhwinitlc4357hdk.yml
new file mode 100644
index 0000000000..1b91475804
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/objhwinitlc4357hdk.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+cppflags: []
+cxxflags: []
+enabled-by: arm/tms570lc4357_hdk
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/tms570/start/hwinit-lc4357-hdk.c
+type: build
diff --git a/spec/build/bsps/arm/tms570/objhwinitls3137hdk.yml b/spec/build/bsps/arm/tms570/objhwinitls3137hdk.yml
new file mode 100644
index 0000000000..9971a0a86f
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/objhwinitls3137hdk.yml
@@ -0,0 +1,14 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+cppflags: []
+cxxflags: []
+enabled-by: arm/tms570ls3137_hdk
+includes: []
+install: []
+links: []
+source:
+- bsps/arm/tms570/start/hwinit-ls3137-hdk.c
+type: build
diff --git a/spec/build/bsps/arm/tms570/objnohwinit.yml b/spec/build/bsps/arm/tms570/objnohwinit.yml
index c34432f38b..0d122b7d98 100644
--- a/spec/build/bsps/arm/tms570/objnohwinit.yml
+++ b/spec/build/bsps/arm/tms570/objnohwinit.yml
@@ -11,5 +11,6 @@ includes: []
install: []
links: []
source:
+- bsps/arm/shared/start/bspstarthook0-empty.c
- bsps/arm/tms570/start/bspstarthooks.c
type: build
diff --git a/spec/build/bsps/arm/tms570/optlinkflags.yml b/spec/build/bsps/arm/tms570/optlinkflags.yml
index bf8db9a910..5c32e178b3 100644
--- a/spec/build/bsps/arm/tms570/optlinkflags.yml
+++ b/spec/build/bsps/arm/tms570/optlinkflags.yml
@@ -3,6 +3,7 @@ actions:
- get-string: null
- split: null
- env-append: LINKFLAGS
+- env-append: PKGCONFIG_LDFLAGS
build-type: option
copyrights:
- Copyright (C) 2022 embedded brains GmbH & Co. KG
diff --git a/spec/build/bsps/arm/tms570/optlowinit.yml b/spec/build/bsps/arm/tms570/optlowinit.yml
index e9aa3557b3..32b84aa08c 100644
--- a/spec/build/bsps/arm/tms570/optlowinit.yml
+++ b/spec/build/bsps/arm/tms570/optlowinit.yml
@@ -7,10 +7,15 @@ build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by:
+ - arm/tms570ls3137_hdk
+ - arm/tms570lc4357_hdk
+ value: true
- enabled-by: true
value: false
description: |
- Include BSP startup code for TMS570LS3137 which allows to start RTEMS application directly after reset
+ Include BSP startup code for TMS570LS3137 or TMS57LC4357 which allows to
+ start RTEMS application directly after reset.
enabled-by: true
links: []
name: TMS570_USE_HWINIT_STARTUP
diff --git a/spec/build/bsps/arm/tms570/optmemflashorigin.yml b/spec/build/bsps/arm/tms570/optmemflashorigin.yml
new file mode 100644
index 0000000000..c25e230f5c
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optmemflashorigin.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- env-assign: null
+- format-and-define: TMS570_MEMORY_FLASH_ORIGIN
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00000000
+description: |
+ Origin of the internal flash memory.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: TMS570_MEMORY_FLASH_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/tms570/optmemflashsize.yml b/spec/build/bsps/arm/tms570/optmemflashsize.yml
new file mode 100644
index 0000000000..defd82876e
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optmemflashsize.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- env-assign: null
+- format-and-define: TMS570_MEMORY_FLASH_SIZE
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: TMS570_VARIANT_4357
+ value: 0x00400000
+- enabled-by: true
+ value: 0x00300000
+description: |
+ Size in bytes of the internal flash memory.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: TMS570_MEMORY_FLASH_SIZE
+type: build
diff --git a/spec/build/bsps/arm/tms570/optmemsdramorigin.yml b/spec/build/bsps/arm/tms570/optmemsdramorigin.yml
new file mode 100644
index 0000000000..2220fc07a0
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optmemsdramorigin.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- env-assign: null
+- format-and-define: TMS570_MEMORY_SDRAM_ORIGIN
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x80000000
+description: |
+ Origin of the external SDRAM memory.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: TMS570_MEMORY_SDRAM_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/tms570/optmemsdramsize.yml b/spec/build/bsps/arm/tms570/optmemsdramsize.yml
new file mode 100644
index 0000000000..e41cd24c40
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optmemsdramsize.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- env-assign: null
+- format-and-define: TMS570_MEMORY_SDRAM_SIZE
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00800000
+description: |
+ Size in bytes of the external SDRAM memory.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: TMS570_MEMORY_SDRAM_SIZE
+type: build
diff --git a/spec/build/bsps/arm/tms570/optmemsramorigin.yml b/spec/build/bsps/arm/tms570/optmemsramorigin.yml
new file mode 100644
index 0000000000..198eda69af
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optmemsramorigin.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- env-assign: null
+- format-and-define: TMS570_MEMORY_SRAM_ORIGIN
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x08000000
+description: |
+ Origin of the internal SRAM memory.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: TMS570_MEMORY_SRAM_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/tms570/optmemsramsize.yml b/spec/build/bsps/arm/tms570/optmemsramsize.yml
new file mode 100644
index 0000000000..515819daad
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optmemsramsize.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- env-assign: null
+- format-and-define: TMS570_MEMORY_SRAM_SIZE
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by: TMS570_VARIANT_4357
+ value: 0x00080000
+- enabled-by: true
+ value: 0x00040000
+description: |
+ Size in bytes of the internal SRAM memory.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: TMS570_MEMORY_SRAM_SIZE
+type: build
diff --git a/spec/build/bsps/arm/tms570/optoscmain.yml b/spec/build/bsps/arm/tms570/optoscmain.yml
index 7207801c37..1755fdd85a 100644
--- a/spec/build/bsps/arm/tms570/optoscmain.yml
+++ b/spec/build/bsps/arm/tms570/optoscmain.yml
@@ -4,12 +4,17 @@ actions:
- define: null
build-type: option
copyrights:
-- Copyright (C) 2020 embedded brains GmbH & Co. KG
+- Copyright (C) 2020, 2024 embedded brains GmbH & Co. KG
default:
+- enabled-by:
+ - arm/tms570lc4357_hdk
+ - arm/tms570lc4357_hdk_sdram
+ value: 16000000
- enabled-by: true
- value: 12000000
+ value: 8000000
description: |
- main oscillator frequency in Hz
+ The option value shall be the main oscillator (OSCIN) frequency in Hz of the
+ board.
enabled-by: true
format: '{}'
links: []
diff --git a/spec/build/bsps/arm/tms570/optvariant.yml b/spec/build/bsps/arm/tms570/optvariant.yml
new file mode 100644
index 0000000000..d8432a3fa0
--- /dev/null
+++ b/spec/build/bsps/arm/tms570/optvariant.yml
@@ -0,0 +1,29 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-in-set:
+ - 3137
+ - 4357
+- define: null
+- env-assign: null
+- set-value: TMS570_VARIANT_${TMS570_VARIANT}
+- substitute: null
+- env-append: ENABLE
+build-type: option
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - arm/tms570lc4357_hdk
+ - arm/tms570lc4357_hdk_sdram
+ value: 4357
+- enabled-by: true
+ value: 3137
+description: |
+ Defines the TMS570 family variant. Use 3137 for the TMS570LS3137 and 4357
+ for the TMSLC4357.
+enabled-by: true
+format: '{}'
+links: []
+name: TMS570_VARIANT
+type: build
diff --git a/spec/build/bsps/arm/xen/bspxen.yml b/spec/build/bsps/arm/xen/bspxen.yml
index eb4b681fc7..fd5d519083 100644
--- a/spec/build/bsps/arm/xen/bspxen.yml
+++ b/spec/build/bsps/arm/xen/bspxen.yml
@@ -65,6 +65,7 @@ source:
- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/shared/start/bspstarthook0-empty.c
- bsps/arm/xen/console/console.c
- bsps/arm/xen/start/bspstart.c
- bsps/arm/xen/start/bspstarthooks.c
diff --git a/spec/build/bsps/arm/xilinx-zynq/bspmicrozed.yml b/spec/build/bsps/arm/xilinx-zynq/bspmicrozed.yml
new file mode 100644
index 0000000000..6bd9f617af
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/bspmicrozed.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynq_microzed
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 B. Moessner
+cppflags: []
+enabled-by: true
+family: xilinx-zynq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/bsppicozed.yml b/spec/build/bsps/arm/xilinx-zynq/bsppicozed.yml
new file mode 100644
index 0000000000..dc5504a1fa
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/bsppicozed.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynq_picozed
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 B. Moessner
+cppflags: []
+enabled-by: true
+family: xilinx-zynq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/bsppynq.yml b/spec/build/bsps/arm/xilinx-zynq/bsppynq.yml
new file mode 100644
index 0000000000..8c39ca6109
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/bsppynq.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynq_pynq
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 B. Moessner
+cppflags: []
+enabled-by: true
+family: xilinx-zynq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/bspqemu.yml b/spec/build/bsps/arm/xilinx-zynq/bspqemu.yml
index 4780a9d64b..8068284d82 100644
--- a/spec/build/bsps/arm/xilinx-zynq/bspqemu.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/bspqemu.yml
@@ -14,6 +14,8 @@ links:
- role: build-dependency
uid: ../../opto2
- role: build-dependency
+ uid: ../../tstqemu
+- role: build-dependency
uid: grp
source: []
type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/bspzybo.yml b/spec/build/bsps/arm/xilinx-zynq/bspzybo.yml
new file mode 100644
index 0000000000..4c89826ca7
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/bspzybo.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynq_zybo
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 B. Moessner
+cppflags: []
+enabled-by: true
+family: xilinx-zynq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/bspzyboz7.yml b/spec/build/bsps/arm/xilinx-zynq/bspzyboz7.yml
new file mode 100644
index 0000000000..591dab19e2
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynq/bspzyboz7.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynq_zybo_z7
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 B. Moessner
+cppflags: []
+enabled-by: true
+family: xilinx-zynq
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: ../../opto2
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynq/grp.yml b/spec/build/bsps/arm/xilinx-zynq/grp.yml
index eeffea0e63..529fdb320f 100644
--- a/spec/build/bsps/arm/xilinx-zynq/grp.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/grp.yml
@@ -35,8 +35,6 @@ links:
- role: build-dependency
uid: optconirq
- role: build-dependency
- uid: ../../optconminor
-- role: build-dependency
uid: optint0len
- role: build-dependency
uid: optint0ori
diff --git a/spec/build/bsps/arm/xilinx-zynq/obj.yml b/spec/build/bsps/arm/xilinx-zynq/obj.yml
index 505c2afcc4..bc7259c10a 100644
--- a/spec/build/bsps/arm/xilinx-zynq/obj.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/obj.yml
@@ -26,9 +26,7 @@ source:
- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
- bsps/arm/shared/start/bsp-start-memcpy.S
-- bsps/arm/xilinx-zynq/console/console-config.c
- bsps/arm/xilinx-zynq/console/console-init.c
-- bsps/arm/xilinx-zynq/console/debug-console.c
- bsps/shared/dev/i2c/cadence-i2c.c
- bsps/arm/xilinx-zynq/start/bspreset.c
- bsps/arm/xilinx-zynq/start/bspstart.c
diff --git a/spec/build/bsps/arm/xilinx-zynq/opta9periphclk.yml b/spec/build/bsps/arm/xilinx-zynq/opta9periphclk.yml
index 7233f73d5a..efb883414c 100644
--- a/spec/build/bsps/arm/xilinx-zynq/opta9periphclk.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/opta9periphclk.yml
@@ -4,16 +4,25 @@ actions:
- define: null
build-type: option
copyrights:
+- Copyright (C) 2023 B. Moessner
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
-- enabled-by: arm/xilinx_zynq_zc702
+- enabled-by:
+ - arm/xilinx_zynq_zc702
+ - arm/xilinx_zynq_zc706
+ - arm/xilinx_zynq_zedboard
+ - arm/xilinx_zynq_picozed
+ - arm/xilinx_zynq_zybo_z7
+ - arm/xilinx_zynq_zybo_microzed
value: 333333333
-- enabled-by: arm/xilinx_zynq_zedboard
- value: 666666667
+- enabled-by:
+ - arm/xilinx_zynq_zybo
+ - arm/xilinx_zynq_pynq
+ value: 325000000
- enabled-by: true
value: 100000000
description: |
- ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz
+ ARM Cortex-A9 MPCore PERIPHCLK clock frequency in Hz. Set this to CPU Clock /2.
enabled-by: true
format: '{}'
links: []
diff --git a/spec/build/bsps/arm/xilinx-zynq/optclkcpu1x.yml b/spec/build/bsps/arm/xilinx-zynq/optclkcpu1x.yml
index b0b5cd710c..00d19bc4f1 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optclkcpu1x.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optclkcpu1x.yml
@@ -4,8 +4,13 @@ actions:
- define: null
build-type: option
copyrights:
+- Copyright (C) 2023 B. Moessner
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by:
+ - arm/xilinx_zynq_zybo
+ - arm/xilinx_zynq_pynq
+ value: 108333336
- enabled-by: true
value: 111111111
description: |
diff --git a/spec/build/bsps/arm/xilinx-zynq/optclkuart.yml b/spec/build/bsps/arm/xilinx-zynq/optclkuart.yml
index 94d4be3ef5..a8d44bc584 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optclkuart.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optclkuart.yml
@@ -4,8 +4,13 @@ actions:
- define: null
build-type: option
copyrights:
+- Copyright (C) 2023 B. Moessner
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by:
+ - arm/xilinx_zynq_zybo_z7
+ - arm/xilinx_zynq_pynq
+ value: 100000000
- enabled-by: true
value: 50000000
description: |
diff --git a/spec/build/bsps/arm/xilinx-zynq/optramlen.yml b/spec/build/bsps/arm/xilinx-zynq/optramlen.yml
index a66d5b84ae..94542aa809 100644
--- a/spec/build/bsps/arm/xilinx-zynq/optramlen.yml
+++ b/spec/build/bsps/arm/xilinx-zynq/optramlen.yml
@@ -6,13 +6,20 @@ actions:
- format-and-define: null
build-type: option
copyrights:
+- Copyright (C) 2023 B. Moessner
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
- enabled-by:
- arm/xilinx_zynq_zc702
- arm/xilinx_zynq_zc706
+ - arm/xilinx_zynq_picozed
+ - arm/xilinx_zynq_zyno_z7
+ - arm/xilinx_zynq_microzed
value: 0x40000000
-- enabled-by: arm/xilinx_zynq_zedboard
+- enabled-by:
+ - arm/xilinx_zynq_zedboard
+ - arm/xilinx_zynq_zybo
+ - arm/xilinx_zynq_pynq
value: 0x20000000
- enabled-by: true
value: 0x10000000
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/abi.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/abi.yml
new file mode 100644
index 0000000000..06795eb416
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/abi.yml
@@ -0,0 +1,21 @@
+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) 2023 Reflex Aerospace GmbH
+default:
+- enabled-by: true
+ value:
+ - -march=armv7-r
+ - -mthumb
+ - -mfpu=vfpv3-d16
+ - -mfloat-abi=hard
+description: |
+ ABI flags
+enabled-by: true
+links: []
+name: ABI_FLAGS
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/bspmercuryxu5.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/bspmercuryxu5.yml
new file mode 100644
index 0000000000..f6c228c79d
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/bspmercuryxu5.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynqmp_mercuryxu5_rpu
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2023 Reflex Aerospace GmbH
+cppflags: []
+enabled-by: true
+family: xilinx-zynqmp-rpu
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/bsprpu.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/bsprpu.yml
new file mode 100644
index 0000000000..d4073d8248
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/bsprpu.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+arch: arm
+bsp: xilinx_zynqmp_rpu
+build-type: bsp
+cflags: []
+copyrights:
+- Copyright (C) 2024 embedded brains GmbH
+cppflags: []
+enabled-by: true
+family: xilinx-zynqmp-rpu
+includes: []
+install: []
+links:
+- role: build-dependency
+ uid: grp
+source: []
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml
new file mode 100644
index 0000000000..a088c69052
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/grp.yml
@@ -0,0 +1,73 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: group
+cflags: []
+copyrights:
+- Copyright (C) 2023 Reflex Aerospace GmbH
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes:
+- bsps/include/xil
+- bsps/include/xil/${XIL_SUPPORT_PATH}
+install: []
+ldflags: []
+links:
+- role: build-dependency
+ uid: ../grp
+- role: build-dependency
+ uid: ../start
+- role: build-dependency
+ uid: abi
+- role: build-dependency
+ uid: optclkfastidle
+- role: build-dependency
+ uid: optclkuart
+- role: build-dependency
+ uid: optconirq
+- role: build-dependency
+ uid: ../../optxilclockttcbaseaddr
+- role: build-dependency
+ uid: ../../optxilclockttcirq
+- role: build-dependency
+ uid: ../../optxilclockttcrefclk
+- role: build-dependency
+ uid: optint0len
+- role: build-dependency
+ uid: optint0ori
+- role: build-dependency
+ uid: optint1len
+- role: build-dependency
+ uid: optint1ori
+- role: build-dependency
+ uid: optramlen
+- role: build-dependency
+ uid: optramori
+- role: build-dependency
+ uid: optresetvec
+- role: build-dependency
+ uid: optnocachelen
+- role: build-dependency
+ uid: obj
+- role: build-dependency
+ uid: ../../obj
+- role: build-dependency
+ uid: ../../objirq
+- role: build-dependency
+ uid: ../../objdevserialzynq
+- role: build-dependency
+ uid: ../../objdevspizynq
+- role: build-dependency
+ uid: ../../objdevspixil
+- role: build-dependency
+ uid: ../../objmem
+- role: build-dependency
+ uid: ../../opto0
+- role: build-dependency
+ uid: linkcmds
+- role: build-dependency
+ uid: ../../bspopts
+- role: build-dependency
+ uid: ../../objxilinxsupport
+type: build
+use-after: []
+use-before: []
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/linkcmds.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/linkcmds.yml
new file mode 100644
index 0000000000..9c8a6d1cd6
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/linkcmds.yml
@@ -0,0 +1,46 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: config-file
+content: |
+ MEMORY {
+ RAM_INT_0 : ORIGIN = ${ZYNQMP_RPU_RAM_INT_0_ORIGIN:#010x}, LENGTH = ${ZYNQMP_RPU_RAM_INT_0_LENGTH:#010x}
+ RAM_INT_1 : ORIGIN = ${ZYNQMP_RPU_RAM_INT_1_ORIGIN:#010x}, LENGTH = ${ZYNQMP_RPU_RAM_INT_1_LENGTH:#010x}
+ RAM : ORIGIN = ${ZYNQMP_RPU_RAM_ORIGIN:#010x}, LENGTH = ${ZYNQMP_RPU_RAM_LENGTH:#010x} - ${ZYNQMP_RPU_RAM_ORIGIN:#010x} - ${ZYNQMP_RPU_RAM_NOCACHE_LENGTH:#010x}
+ NOCACHE : ORIGIN = ${ZYNQMP_RPU_RAM_LENGTH:#010x} - ${ZYNQMP_RPU_RAM_NOCACHE_LENGTH:#010x}, LENGTH = ${ZYNQMP_RPU_RAM_NOCACHE_LENGTH:#010x}
+ }
+
+ REGION_ALIAS ("REGION_START", RAM_INT_0);
+ REGION_ALIAS ("REGION_VECTOR", RAM_INT_0);
+ REGION_ALIAS ("REGION_TEXT", RAM);
+ REGION_ALIAS ("REGION_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_RODATA", RAM);
+ REGION_ALIAS ("REGION_RODATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_DATA", RAM);
+ REGION_ALIAS ("REGION_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT", RAM);
+ REGION_ALIAS ("REGION_FAST_TEXT_LOAD", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA", RAM);
+ REGION_ALIAS ("REGION_FAST_DATA_LOAD", RAM);
+ REGION_ALIAS ("REGION_BSS", RAM);
+ REGION_ALIAS ("REGION_WORK", RAM);
+ REGION_ALIAS ("REGION_STACK", RAM);
+ REGION_ALIAS ("REGION_NOCACHE", NOCACHE);
+ REGION_ALIAS ("REGION_NOCACHE_LOAD", NOCACHE);
+
+ bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
+
+ bsp_section_rwbarrier_align = DEFINED (bsp_section_rwbarrier_align) ? bsp_section_rwbarrier_align : 1M;
+
+ bsp_vector_table_in_start_section = 1;
+
+ INCLUDE linkcmds.armv4
+
+ # define symbols needed by the R5 xil_cache.c
+ _stack_end = bsp_section_stack_end;
+ __undef_stack = bsp_section_stack_begin;
+copyrights:
+- Copyright (C) 2023 Reflex Aerospace GmbH
+enabled-by: true
+install-path: ${BSP_LIBDIR}
+links: []
+target: linkcmds
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/obj.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/obj.yml
new file mode 100644
index 0000000000..4fb536c96a
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/obj.yml
@@ -0,0 +1,42 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-type: objects
+cflags: []
+copyrights:
+- Copyright (C) 2023 Reflex Aerospace GmbH
+cppflags: []
+cxxflags: []
+enabled-by: true
+includes: []
+install:
+- destination: ${BSP_INCLUDEDIR}
+ source:
+ - bsps/arm/xilinx-zynqmp-rpu/include/bsp.h
+- destination: ${BSP_INCLUDEDIR}/bsp
+ source:
+ - bsps/arm/xilinx-zynqmp-rpu/include/bsp/irq.h
+- destination: ${BSP_INCLUDEDIR}/peripheral_maps
+ source:
+ - bsps/include/peripheral_maps/xilinx_zynqmp.h
+links: []
+source:
+- bsps/shared/cache/nocache.c
+- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
+- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
+- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/xilinx-zynqmp-rpu/console/console-config.c
+- bsps/arm/xilinx-zynqmp-rpu/start/bspreset.c
+- bsps/arm/xilinx-zynqmp-rpu/start/bspstart.c
+- bsps/arm/xilinx-zynqmp-rpu/start/bspstarthooks.c
+- bsps/arm/xilinx-zynqmp-rpu/start/bspstartmpu.c
+- bsps/shared/dev/clock/xil-ttc.c
+- bsps/shared/dev/btimer/btimer-cpucounter.c
+- bsps/shared/dev/getentropy/getentropy-cpucounter.c
+- bsps/shared/dev/irq/arm-gicv2.c
+- bsps/shared/dev/irq/arm-gicv2-zynqmp.c
+- bsps/shared/dev/serial/console-termios.c
+- bsps/shared/irq/irq-default-handler.c
+- bsps/shared/start/bspfatal-default.c
+- bsps/shared/start/gettargethash-default.c
+- bsps/shared/start/sbrk.c
+- bsps/shared/start/stackalloc.c
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/optclkfastidle.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optclkfastidle.yml
new file mode 100644
index 0000000000..f0b83e1402
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optclkfastidle.yml
@@ -0,0 +1,21 @@
+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 & Co. KG
+default:
+- enabled-by:
+ - arm/lm3s6965_qemu
+ - arm/realview_pbx_a9_qemu
+ - arm/xilinx_zynq_a9_qemu
+ value: true
+- enabled-by: true
+ value: false
+description: |
+ This sets a mode where the time runs as fast as possible when a clock ISR occurs while the IDLE thread is executing. This can significantly reduce simulation times.
+enabled-by: true
+links: []
+name: CLOCK_DRIVER_USE_FAST_IDLE
+type: build
diff --git a/spec/build/bsps/optconminor.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optclkuart.yml
index 7f70b65394..4ee4e63dbb 100644
--- a/spec/build/bsps/optconminor.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optclkuart.yml
@@ -7,11 +7,11 @@ copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
- enabled-by: true
- value: 1
+ value: 100000000
description: |
- minor number of console device
+ Zynq UART clock frequency in Hz
enabled-by: true
format: '{}'
links: []
-name: BSP_CONSOLE_MINOR
+name: ZYNQ_CLOCK_UART
type: build
diff --git a/spec/build/bsps/sparc/erc32/optpwrdwnhlt.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optconirq.yml
index d35c800e09..e9bc6bedc6 100644
--- a/spec/build/bsps/sparc/erc32/optpwrdwnhlt.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optconirq.yml
@@ -7,10 +7,10 @@ copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
- enabled-by: true
- value: false
+ value: true
description: |
- If defined, CPU is spinning on fatal exit. Otherwise generate system error which will hand over to debugger, simulator, etc.
+ use interrupt driven mode for console devices (used by default)
enabled-by: true
links: []
-name: BSP_POWER_DOWN_AT_FATAL_HALT
+name: ZYNQ_CONSOLE_USE_INTERRUPTS
type: build
diff --git a/spec/build/bsps/arm/tms570/optcclk.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0len.yml
index 498693457f..0799dd6205 100644
--- a/spec/build/bsps/arm/tms570/optcclk.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0len.yml
@@ -1,17 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
-- define: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
- enabled-by: true
- value: 96000000
-description: |
- CPU clock in Hz
+ value: 0x00010000
+description: ''
enabled-by: true
-format: '{}'
+format: '{:#010x}'
links: []
-name: TMS570_CCLK
+name: ZYNQMP_RPU_RAM_INT_0_LENGTH
type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0ori.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0ori.yml
new file mode 100644
index 0000000000..34c42efe17
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0ori.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00000000
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RPU_RAM_INT_0_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint1len.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint1len.yml
new file mode 100644
index 0000000000..667c38549e
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint1len.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00010000
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RPU_RAM_INT_1_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint1ori.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint1ori.yml
new file mode 100644
index 0000000000..0a1fd3e989
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint1ori.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00020000
+description: ''
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RPU_RAM_INT_1_ORIGIN
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/optnocachelen.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optnocachelen.yml
new file mode 100644
index 0000000000..349190fe43
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optnocachelen.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x00100000
+description: |
+ length of nocache RAM region
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RPU_RAM_NOCACHE_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/optprocunitrpu.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optprocunitrpu.yml
new file mode 100644
index 0000000000..d684f5a06d
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optprocunitrpu.yml
@@ -0,0 +1,17 @@
+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) 2023 Reflex Aerospace GmbH
+default:
+- enabled-by: true
+ value: true
+description: |
+ Sets the target processing unit to the RPU (R5F) cores.
+enabled-by: true
+format: '{}'
+links: []
+name: ZYNQMP_PROC_UNIT_RPU
+type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp-rpu/optramlen.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optramlen.yml
new file mode 100644
index 0000000000..b7d84b933e
--- /dev/null
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optramlen.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0x10000000
+description: |
+ override a BSP's default RAM length
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: ZYNQMP_RPU_RAM_LENGTH
+type: build
diff --git a/spec/build/bsps/arm/tms570/optoscrtc.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optramori.yml
index 7fa70ae45d..d5b163781a 100644
--- a/spec/build/bsps/arm/tms570/optoscrtc.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optramori.yml
@@ -1,17 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- get-integer: null
-- define: null
+- assert-uint32: null
+- env-assign: null
+- format-and-define: null
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
- enabled-by: true
- value: 32768
-description: |
- RTC oscillator frequency in Hz
+ value: 0x00100000
+description: ''
enabled-by: true
-format: '{}'
+format: '{:#010x}'
links: []
-name: TMS570_OSCILLATOR_RTC
+name: ZYNQMP_RPU_RAM_ORIGIN
type: build
diff --git a/spec/build/bsps/arm/tms570/opttms570ls3137.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optresetvec.yml
index e2a3de8994..206a6f2801 100644
--- a/spec/build/bsps/arm/tms570/opttms570ls3137.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optresetvec.yml
@@ -9,8 +9,8 @@ default:
- enabled-by: true
value: false
description: |
- target used for identify TMS570LS3137 board
+ reset vector address for BSP start
enabled-by: true
links: []
-name: ARM_TMS570LS3137
+name: BSP_START_RESET_VECTOR
type: build
diff --git a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
index 2b0e162964..d947123247 100644
--- a/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp/bspxilinxzynqmp.yml
@@ -43,8 +43,6 @@ links:
- role: build-dependency
uid: optconirq
- role: build-dependency
- uid: ../../optconminor
-- role: build-dependency
uid: optint0len
- role: build-dependency
uid: optint0ori
@@ -87,6 +85,7 @@ source:
- bsps/arm/shared/cp15/arm-cp15-set-exception-handler.c
- bsps/arm/shared/cp15/arm-cp15-set-ttb-entries.c
- bsps/arm/shared/start/bsp-start-memcpy.S
+- bsps/arm/shared/start/bspstarthook0-empty.c
- bsps/arm/xilinx-zynqmp/console/console-config.c
- bsps/arm/xilinx-zynqmp/start/bspreset.c
- bsps/arm/xilinx-zynqmp/start/bspstart.c
diff --git a/spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml b/spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml
index 5338538de0..44d2671eb6 100644
--- a/spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml
+++ b/spec/build/bsps/dev/irq/optarmgic-icc-bpr0.yml
@@ -15,11 +15,7 @@ default:
- aarch64/xilinx_versal_aiedge
- aarch64/xilinx_versal_qemu
- aarch64/xilinx_versal_vck190
- - aarch64/xilinx_zynqmp_ilp32_qemu
- - aarch64/xilinx_zynqmp_ilp32_zu3eg
- - aarch64/xilinx_zynqmp_lp64_cfc400x
- - aarch64/xilinx_zynqmp_lp64_qemu
- - aarch64/xilinx_zynqmp_lp64_zu3eg
+ - bsps/aarch64/xilinx-zynqmp
value: null
- enabled-by: true
value: 0x00000002
diff --git a/spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml b/spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml
index fbc2dd9227..9b552c3f96 100644
--- a/spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml
+++ b/spec/build/bsps/dev/irq/optarmgic-icc-igrpen0.yml
@@ -15,11 +15,7 @@ default:
- aarch64/xilinx_versal_aiedge
- aarch64/xilinx_versal_qemu
- aarch64/xilinx_versal_vck190
- - aarch64/xilinx_zynqmp_ilp32_qemu
- - aarch64/xilinx_zynqmp_ilp32_zu3eg
- - aarch64/xilinx_zynqmp_lp64_cfc400x
- - aarch64/xilinx_zynqmp_lp64_qemu
- - aarch64/xilinx_zynqmp_lp64_zu3eg
+ - bsps/aarch64/xilinx-zynqmp
value: null
- enabled-by: true
value: 0x00000001
diff --git a/spec/build/bsps/grpmake.yml b/spec/build/bsps/grpmake.yml
index 9e6a8b8a50..cb0dc10a55 100644
--- a/spec/build/bsps/grpmake.yml
+++ b/spec/build/bsps/grpmake.yml
@@ -33,6 +33,8 @@ install:
ldflags: []
links:
- role: build-dependency
+ uid: optmake
+- role: build-dependency
uid: makebsp
- role: build-dependency
uid: makecustom
@@ -40,8 +42,6 @@ links:
uid: makeinc
- role: build-dependency
uid: maketarget
-- role: build-dependency
- uid: optmake
type: build
use-after: []
use-before: []
diff --git a/spec/build/bsps/makeinc.yml b/spec/build/bsps/makeinc.yml
index ac395f2f02..08fc75a8b9 100644
--- a/spec/build/bsps/makeinc.yml
+++ b/spec/build/bsps/makeinc.yml
@@ -16,14 +16,14 @@ content: |
prefix = ${PREFIX}
exec_prefix = $${prefix}/${ARCH}-rtems${__RTEMS_MAJOR__}
- CC_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-gcc
- CXX_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-g++
- AS_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-as
- AR_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-ar
- NM_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-nm
- LD_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-ld
- SIZE_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-size
- OBJCOPY_FOR_TARGET = ${ARCH}-rtems${__RTEMS_MAJOR__}-objcopy
+ CC_FOR_TARGET = ${PROGRAM_PREFIX}gcc
+ CXX_FOR_TARGET = ${PROGRAM_PREFIX}g++
+ AS_FOR_TARGET = ${PROGRAM_PREFIX}as
+ AR_FOR_TARGET = ${PROGRAM_PREFIX}ar
+ NM_FOR_TARGET = ${PROGRAM_PREFIX}nm
+ LD_FOR_TARGET = ${PROGRAM_PREFIX}ld
+ SIZE_FOR_TARGET = ${PROGRAM_PREFIX}size
+ OBJCOPY_FOR_TARGET = ${PROGRAM_PREFIX}objcopy
CC= $$(CC_FOR_TARGET)
CXX= $$(CXX_FOR_TARGET)
diff --git a/spec/build/bsps/maketarget.yml b/spec/build/bsps/maketarget.yml
index 798b64fa22..7a7b0c3d35 100644
--- a/spec/build/bsps/maketarget.yml
+++ b/spec/build/bsps/maketarget.yml
@@ -11,17 +11,17 @@ content: |
LIBS =
RTEMS_API = ${__RTEMS_MAJOR__}
- CC = ${ARCH}-rtems${__RTEMS_MAJOR__}-gcc --pipe
- AS = ${ARCH}-rtems${__RTEMS_MAJOR__}-as
- AR = ${ARCH}-rtems${__RTEMS_MAJOR__}-ar
- NM = ${ARCH}-rtems${__RTEMS_MAJOR__}-nm
- LD = ${ARCH}-rtems${__RTEMS_MAJOR__}-ld
- SIZE = ${ARCH}-rtems${__RTEMS_MAJOR__}-size
- STRIP = ${ARCH}-rtems${__RTEMS_MAJOR__}-strip
- OBJCOPY = ${ARCH}-rtems${__RTEMS_MAJOR__}-objcopy
- RANLIB = ${ARCH}-rtems${__RTEMS_MAJOR__}-ranlib
-
- CXX = ${ARCH}-rtems${__RTEMS_MAJOR__}-g++
+ CC = ${PROGRAM_PREFIX}gcc --pipe
+ AS = ${PROGRAM_PREFIX}as
+ AR = ${PROGRAM_PREFIX}ar
+ NM = ${PROGRAM_PREFIX}nm
+ LD = ${PROGRAM_PREFIX}ld
+ SIZE = ${PROGRAM_PREFIX}size
+ STRIP = ${PROGRAM_PREFIX}strip
+ OBJCOPY = ${PROGRAM_PREFIX}objcopy
+ RANLIB = ${PROGRAM_PREFIX}ranlib
+
+ CXX = ${PROGRAM_PREFIX}g++
export CC
export AS
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml b/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml
index 9a3ca11b51..4f9b310ad3 100644
--- a/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml
+++ b/spec/build/bsps/microblaze/microblaze_fpga/linkcmds.yml
@@ -104,20 +104,20 @@ content: |
} > REGION_RODATA AT > REGION_RODATA_LOAD
_frodata = . ;
- .rodata : {
+ .rodata : ALIGN_WITH_INPUT {
*(.rodata)
*(.rodata.*)
*(.gnu.linkonce.r.*)
CONSTRUCTORS; /* Is this needed? */
} > REGION_RODATA AT > REGION_RODATA_LOAD
_erodata = .;
- .eh_frame : {
- *(.eh_frame)
+ .eh_frame : ALIGN_WITH_INPUT {
+ KEEP (*(.eh_frame))
} > REGION_RODATA AT > REGION_RODATA_LOAD
.jcr : {
*(.jcr)
} > REGION_RODATA AT > REGION_RODATA_LOAD
- .gcc_except_table : {
+ .gcc_except_table : ALIGN_WITH_INPUT {
*(.gcc_except_table)
} > REGION_RODATA AT > REGION_RODATA_LOAD
.tdata : ALIGN_WITH_INPUT {
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml b/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml
index 665d4d0d54..e906ec46bd 100644
--- a/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml
+++ b/spec/build/bsps/microblaze/microblaze_fpga/tstkcu105_qemu.yml
@@ -6,11 +6,19 @@ actions:
state: exclude
tests:
- minimum
+- set-test-state:
+ reason: |
+ Expected to fail due to GCC issues.
+ state: expected-fail
+ tests:
+ - dl05
build-type: option
copyrights:
- Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
default: []
description: ''
enabled-by: true
-links: []
+links:
+- role: build-dependency
+ uid: ../../tst-xfail-dl06
type: build
diff --git a/spec/build/bsps/obj.yml b/spec/build/bsps/obj.yml
index 8da4869583..6f76e9bb7c 100644
--- a/spec/build/bsps/obj.yml
+++ b/spec/build/bsps/obj.yml
@@ -42,6 +42,7 @@ install:
- bsps/include/libchip/ide_ctrl_cfg.h
- bsps/include/libchip/ide_ctrl_io.h
- bsps/include/libchip/m48t08.h
+ - bsps/include/libchip/mcp7940m-rtc.h
- bsps/include/libchip/ns16550.h
- bsps/include/libchip/ns16550_p.h
- bsps/include/libchip/rtc.h
@@ -93,6 +94,7 @@ source:
- bsps/shared/dev/rtc/m48t08_reg2.c
- bsps/shared/dev/rtc/m48t08_reg4.c
- bsps/shared/dev/rtc/m48t08_reg8.c
+- bsps/shared/dev/rtc/mcp7940m.c
- bsps/shared/dev/rtc/rtcprobe.c
- bsps/shared/dev/serial/arm-pl011.c
- bsps/shared/dev/serial/ns16550-context.c
diff --git a/spec/build/bsps/objdevserialzynq.yml b/spec/build/bsps/objdevserialzynq.yml
index deb3c83a33..a187ebfc10 100644
--- a/spec/build/bsps/objdevserialzynq.yml
+++ b/spec/build/bsps/objdevserialzynq.yml
@@ -12,8 +12,13 @@ install:
source:
- bsps/include/dev/serial/zynq-uart-regs.h
- bsps/include/dev/serial/zynq-uart.h
-links: []
+ - bsps/include/dev/serial/zynq-uart-zynq.h
+ - bsps/include/dev/serial/zynq-uart-zynqmp.h
+links:
+- role: build-dependency
+ uid: optzynquartkernbase
source:
+- bsps/shared/dev/serial/zynq-uart-kernel-io.c
- bsps/shared/dev/serial/zynq-uart-polled.c
- bsps/shared/dev/serial/zynq-uart.c
type: build
diff --git a/spec/build/bsps/objxilinxsupport.yml b/spec/build/bsps/objxilinxsupport.yml
index d686ae9cfd..f67316ebdb 100644
--- a/spec/build/bsps/objxilinxsupport.yml
+++ b/spec/build/bsps/objxilinxsupport.yml
@@ -38,7 +38,6 @@ links:
- role: build-dependency
uid: optxilsupportpath
source:
-- bsps/shared/xil/xil_cache.c
- bsps/shared/xil/xil_assert.c
- bsps/shared/xil/xil_mem.c
type: build
diff --git a/spec/build/bsps/objxilinxsupportilp32.yml b/spec/build/bsps/objxilinxsupportilp32.yml
index 2db5d12bef..0fc4fb0f35 100644
--- a/spec/build/bsps/objxilinxsupportilp32.yml
+++ b/spec/build/bsps/objxilinxsupportilp32.yml
@@ -17,5 +17,6 @@ install:
- bsps/include/xil/arm/ARMv8/32bit/xpseudo_asm.h
- bsps/include/xil/arm/ARMv8/32bit/xreg_cortexa53.h
links: []
-source: []
+source:
+- bsps/shared/xil/arm/ARMv8/xil_cache.c
type: build
diff --git a/spec/build/bsps/objxilinxsupportlp64.yml b/spec/build/bsps/objxilinxsupportlp64.yml
index efb2e8d58a..252851a5aa 100644
--- a/spec/build/bsps/objxilinxsupportlp64.yml
+++ b/spec/build/bsps/objxilinxsupportlp64.yml
@@ -7,6 +7,7 @@ cppflags: []
cxxflags: []
enabled-by:
- bsps/aarch64/xilinx_versal
+- aarch64/xilinx_zynqmp_lp64_a53
- aarch64/xilinx_zynqmp_lp64_cfc400x
- aarch64/xilinx_zynqmp_lp64_qemu
- aarch64/xilinx_zynqmp_lp64_zu3eg
@@ -19,5 +20,6 @@ install:
- bsps/include/xil/arm/ARMv8/64bit/xpseudo_asm.h
- bsps/include/xil/arm/ARMv8/64bit/xreg_cortexa53.h
links: []
-source: []
+source:
+- bsps/shared/xil/arm/ARMv8/xil_cache.c
type: build
diff --git a/spec/build/bsps/objxilinxsupportr5.yml b/spec/build/bsps/objxilinxsupportr5.yml
index 4f7fe33606..25221c5e0d 100644
--- a/spec/build/bsps/objxilinxsupportr5.yml
+++ b/spec/build/bsps/objxilinxsupportr5.yml
@@ -5,7 +5,7 @@ copyrights:
- Copyright (C) 2022 On-Line Applications Research (OAR)
cppflags: []
cxxflags: []
-enabled-by: false
+enabled-by: bsps/arm/xilinx-zynqmp-rpu
includes: []
install:
- destination: ${BSP_INCLUDEDIR}
@@ -14,6 +14,9 @@ install:
- bsps/include/xil/arm/cortexr5/xil_exception.h
- bsps/include/xil/arm/cortexr5/xpseudo_asm.h
- bsps/include/xil/arm/cortexr5/xreg_cortexr5.h
+ - bsps/include/xil/arm/cortexr5/xil_mpu.h
links: []
-source: []
+source:
+- bsps/shared/xil/arm/cortexr5/xil_cache.c
+- bsps/shared/xil/arm/cortexr5/xil_mpu.c
type: build
diff --git a/spec/build/bsps/optobjcopy.yml b/spec/build/bsps/optobjcopy.yml
index 3387e23794..63fab08ac6 100644
--- a/spec/build/bsps/optobjcopy.yml
+++ b/spec/build/bsps/optobjcopy.yml
@@ -1,6 +1,6 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
-- set-value: ${ARCH}-rtems${__RTEMS_MAJOR__}-objcopy
+- set-value: ${PROGRAM_PREFIX}objcopy
- substitute: null
- find-program: null
- env-assign: OBJCOPY
diff --git a/spec/build/bsps/optxilclockttcbaseaddr.yml b/spec/build/bsps/optxilclockttcbaseaddr.yml
new file mode 100644
index 0000000000..c6f4769428
--- /dev/null
+++ b/spec/build/bsps/optxilclockttcbaseaddr.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- format-and-define: null
+build-type: option
+copyrights:
+- Copyright (C) 2024 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 0xff110000
+description: |
+ This option defines the Xilinx Triple-Timer Counter (TTC) base address used by
+ the Clock Driver.
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: XIL_CLOCK_TTC_BASE_ADDR
+type: build
diff --git a/spec/build/bsps/optxilclockttcirq.yml b/spec/build/bsps/optxilclockttcirq.yml
new file mode 100644
index 0000000000..248e4e313b
--- /dev/null
+++ b/spec/build/bsps/optxilclockttcirq.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2024 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 68
+description: |
+ This option defines the Xilinx Triple-Timer Counter (TTC) interrupt vector
+ number used by the Clock Driver.
+enabled-by: true
+format: '{}'
+links: []
+name: XIL_CLOCK_TTC_IRQ
+type: build
diff --git a/spec/build/bsps/optxilclockttcrefclk.yml b/spec/build/bsps/optxilclockttcrefclk.yml
new file mode 100644
index 0000000000..0a9723828b
--- /dev/null
+++ b/spec/build/bsps/optxilclockttcrefclk.yml
@@ -0,0 +1,18 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- get-integer: null
+- define: null
+build-type: option
+copyrights:
+- Copyright (C) 2024 embedded brains GmbH & Co. KG
+default:
+- enabled-by: true
+ value: 100000000
+description: |
+ This option defines the Xilinx Triple-Timer Counter (TTC) reference clock in
+ Hz used by the Clock Driver.
+enabled-by: true
+format: '{}'
+links: []
+name: XIL_CLOCK_TTC_REFERENCE_CLOCK
+type: build
diff --git a/spec/build/bsps/optxilsupportpath.yml b/spec/build/bsps/optxilsupportpath.yml
index 7c6daa9043..a90e6d3418 100644
--- a/spec/build/bsps/optxilsupportpath.yml
+++ b/spec/build/bsps/optxilsupportpath.yml
@@ -6,7 +6,8 @@ build-type: option
copyrights:
- Copyright (C) 2022 On-Line Applications Research (OAR)
default:
-- enabled-by: []
+- enabled-by:
+ - bsps/arm/xilinx-zynqmp-rpu
value: arm/cortexr5
- enabled-by: bsps/microblaze/microblaze_fpga
value: microblaze
@@ -19,6 +20,7 @@ default:
- aarch64/xilinx_zynqmp_ilp32_zu3eg
value: arm/ARMv8/32bit
- enabled-by:
+ - aarch64/xilinx_zynqmp_lp64_a53
- aarch64/xilinx_zynqmp_lp64_cfc400x
- aarch64/xilinx_zynqmp_lp64_qemu
- aarch64/xilinx_zynqmp_lp64_zu3eg
diff --git a/spec/build/bsps/optzynquartkernbase.yml b/spec/build/bsps/optzynquartkernbase.yml
new file mode 100644
index 0000000000..8aba1c224f
--- /dev/null
+++ b/spec/build/bsps/optzynquartkernbase.yml
@@ -0,0 +1,22 @@
+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) 2024 embedded brains GmbH & Co. KG
+default:
+- enabled-by:
+ - bsps/aarch64/xilinx-zynqmp
+ - arm/xilinx_zynq_microzed
+ value: ZYNQ_UART_0_BASE_ADDR
+- enabled-by: true
+ value: ZYNQ_UART_1_BASE_ADDR
+description: |
+ This option defines the Xilinx Zynq UART base address used by the kernel I/O
+ device.
+enabled-by: true
+format: '{}'
+links: []
+name: ZYNQ_UART_KERNEL_IO_BASE_ADDR
+type: build
diff --git a/spec/build/bsps/pkgconfig.yml b/spec/build/bsps/pkgconfig.yml
index e08c83fe27..afaffbbf0f 100644
--- a/spec/build/bsps/pkgconfig.yml
+++ b/spec/build/bsps/pkgconfig.yml
@@ -15,6 +15,8 @@ content: |
ABI_FLAGS=${ABI_FLAGS}
RTEMS_ARCH=${ARCH}
RTEMS_BSP=${BSP_NAME}
+ RTEMS_BSP_BASE=${BSP_BASE}
+ RTEMS_BSP_FAMILY=${BSP_FAMILY}
RTEMS_MAJOR=${__RTEMS_MAJOR__}
RTEMS_MINOR=${__RTEMS_MINOR__}
RTEMS_REVISION=${__RTEMS_REVISION__}
diff --git a/spec/build/bsps/powerpc/motorola_powerpc/abi.yml b/spec/build/bsps/powerpc/motorola_powerpc/abi.yml
index 6734e9babf..2438c30f1d 100644
--- a/spec/build/bsps/powerpc/motorola_powerpc/abi.yml
+++ b/spec/build/bsps/powerpc/motorola_powerpc/abi.yml
@@ -17,6 +17,10 @@ default:
- -mcpu=powerpc
- -mmultiple
- -mstrict-align
+- enabled-by: [powerpc/mvme2100]
+ value:
+ - -mcpu=603e
+ - -mstrict-align
- enabled-by: [powerpc/mvme2307, powerpc/mvme2700]
value:
- -mcpu=604
diff --git a/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
index 1667c1617a..fbb85123f0 100644
--- a/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
+++ b/spec/build/bsps/powerpc/mvme3100/bspmvme3100.yml
@@ -86,6 +86,5 @@ source:
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/rtc/rtc-support.c
- bsps/shared/start/bspfatal-default.c
-- bsps/shared/start/bspreset-empty.c
- bsps/shared/start/gettargethash-default.c
type: build
diff --git a/spec/build/bsps/powerpc/qoriq/grp.yml b/spec/build/bsps/powerpc/qoriq/grp.yml
index 2acb506c89..65e623fdbd 100644
--- a/spec/build/bsps/powerpc/qoriq/grp.yml
+++ b/spec/build/bsps/powerpc/qoriq/grp.yml
@@ -29,6 +29,8 @@ links:
- role: build-dependency
uid: ../objexc
- role: build-dependency
+ uid: ../objvme
+- role: build-dependency
uid: abi
- role: build-dependency
uid: obj
diff --git a/spec/build/bsps/powerpc/qoriq/obj.yml b/spec/build/bsps/powerpc/qoriq/obj.yml
index 8926cc2135..046ad4166b 100644
--- a/spec/build/bsps/powerpc/qoriq/obj.yml
+++ b/spec/build/bsps/powerpc/qoriq/obj.yml
@@ -17,6 +17,7 @@ install:
- bsps/powerpc/qoriq/include/asm/fsl_hcalls.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
+ - bsps/powerpc/qoriq/include/bsp/VMEConfig.h
- bsps/powerpc/qoriq/include/bsp/intercom.h
- bsps/powerpc/qoriq/include/bsp/irq.h
- bsps/powerpc/qoriq/include/bsp/mmu.h
@@ -59,12 +60,9 @@ source:
- bsps/powerpc/qoriq/start/restart.S
- bsps/powerpc/shared/cache/cache.c
- bsps/powerpc/shared/exceptions/ppc-exc-handler-table.c
-- bsps/powerpc/shared/mmu/e500-mmu.c
- bsps/powerpc/shared/start/bsp-start-zero.S
- bsps/powerpc/shared/start/bspidle.c
- bsps/powerpc/shared/start/tictac.c
-- bsps/powerpc/shared/vme/bspVmeDmaList.c
-- bsps/powerpc/shared/vme/vmeTsi148.c
- bsps/shared/dev/getentropy/getentropy-cpucounter.c
- bsps/shared/dev/rtc/rtc-support.c
- bsps/shared/dev/serial/console-termios-init.c
diff --git a/spec/build/bsps/sparc/erc32/bsperc32.yml b/spec/build/bsps/sparc/erc32/bsperc32.yml
index d082feb5f7..4d57e5902d 100644
--- a/spec/build/bsps/sparc/erc32/bsperc32.yml
+++ b/spec/build/bsps/sparc/erc32/bsperc32.yml
@@ -17,6 +17,8 @@ install:
- destination: ${BSP_INCLUDEDIR}/bsp
source:
- bsps/sparc/erc32/include/bsp/irq.h
+ - bsps/sparc/erc32/include/bsp/irqimpl.h
+ - bsps/sparc/include/bsp/sparc-counter.h
- destination: ${BSP_LIBDIR}
source:
- bsps/sparc/erc32/start/linkcmds
@@ -37,8 +39,6 @@ links:
- role: build-dependency
uid: optconirq
- role: build-dependency
- uid: optpwrdwnhlt
-- role: build-dependency
uid: ../grp
- role: build-dependency
uid: ../start
@@ -70,5 +70,5 @@ source:
- bsps/sparc/shared/irq/bsp_isr_handler.c
- bsps/sparc/shared/irq/irq-shared.c
- bsps/sparc/shared/start/bsp_fatal_exit.c
-- bsps/sparc/shared/start/bsp_fatal_halt.c
+- bsps/sparc/shared/start/sparc-counter-asm.S
type: build
diff --git a/spec/build/bsps/sparc/leon2/grp.yml b/spec/build/bsps/sparc/leon2/grp.yml
index 3d357d816c..6a62cf00ae 100644
--- a/spec/build/bsps/sparc/leon2/grp.yml
+++ b/spec/build/bsps/sparc/leon2/grp.yml
@@ -31,8 +31,6 @@ links:
- role: build-dependency
uid: optconirq
- role: build-dependency
- uid: optpwrdwnhlt
-- role: build-dependency
uid: ../start
- role: build-dependency
uid: ../../bspopts
diff --git a/spec/build/bsps/sparc/leon2/obj.yml b/spec/build/bsps/sparc/leon2/obj.yml
index 50ee715af2..5a68f896ed 100644
--- a/spec/build/bsps/sparc/leon2/obj.yml
+++ b/spec/build/bsps/sparc/leon2/obj.yml
@@ -14,8 +14,10 @@ install:
- bsps/sparc/leon2/include/leon.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
+ - bsps/sparc/include/bsp/sparc-counter.h
- bsps/sparc/leon2/include/bsp/at697_pci.h
- bsps/sparc/leon2/include/bsp/irq.h
+ - bsps/sparc/leon2/include/bsp/irqimpl.h
- destination: ${BSP_LIBDIR}
source:
- bsps/sparc/leon2/start/linkcmds.at697f
@@ -46,5 +48,5 @@ source:
- bsps/sparc/shared/irq/bsp_isr_handler.c
- bsps/sparc/shared/irq/irq-shared.c
- bsps/sparc/shared/start/bsp_fatal_exit.c
-- bsps/sparc/shared/start/bsp_fatal_halt.c
+- bsps/sparc/shared/start/sparc-counter-asm.S
type: build
diff --git a/spec/build/bsps/sparc/leon3/grp.yml b/spec/build/bsps/sparc/leon3/grp.yml
index ab72d911c5..a995ccc60a 100644
--- a/spec/build/bsps/sparc/leon3/grp.yml
+++ b/spec/build/bsps/sparc/leon3/grp.yml
@@ -33,11 +33,29 @@ links:
- role: build-dependency
uid: objsmp
- role: build-dependency
+ uid: optapbuartbase
+- role: build-dependency
+ uid: optasrupcnt
+- role: build-dependency
+ uid: optasrupcntprobe
+- role: build-dependency
+ uid: optdsubase
+- role: build-dependency
+ uid: optgptimerbase
+- role: build-dependency
+ uid: optirqampbase
+- role: build-dependency
+ uid: optirqampextirq
+- role: build-dependency
+ uid: optirqampts
+- role: build-dependency
uid: optconirq
- role: build-dependency
+ uid: optl2cachebase
+- role: build-dependency
uid: optleon3smp
- role: build-dependency
- uid: optpwrdwnhlt
+ uid: optplbfreq
- role: build-dependency
uid: ../start
- role: build-dependency
diff --git a/spec/build/bsps/sparc/leon3/obj.yml b/spec/build/bsps/sparc/leon3/obj.yml
index 752ab9e149..f8feab3b3b 100644
--- a/spec/build/bsps/sparc/leon3/obj.yml
+++ b/spec/build/bsps/sparc/leon3/obj.yml
@@ -15,7 +15,12 @@ install:
- bsps/sparc/leon3/include/leon.h
- destination: ${BSP_INCLUDEDIR}/bsp
source:
+ - bsps/sparc/leon3/include/bsp/gr740-bootstrap-regs.h
+ - bsps/sparc/leon3/include/bsp/gr740-iopll-regs.h
+ - bsps/sparc/leon3/include/bsp/gr740-thsens-regs.h
- bsps/sparc/leon3/include/bsp/irq.h
+ - bsps/sparc/leon3/include/bsp/irqimpl.h
+ - bsps/sparc/leon3/include/bsp/leon3.h
- bsps/sparc/leon3/include/bsp/watchdog.h
- destination: ${BSP_LIBDIR}
source:
@@ -31,7 +36,6 @@ source:
- bsps/shared/dev/serial/console-termios.c
- bsps/shared/irq/irq-default-handler.c
- bsps/shared/start/bspreset-empty.c
-- bsps/shared/start/gettargethash-default.c
- bsps/shared/start/sbrk.c
- bsps/sparc/leon3/btimer/btimer.c
- bsps/sparc/leon3/btimer/watchdog.c
@@ -40,7 +44,6 @@ source:
- bsps/sparc/leon3/console/printk_support.c
- bsps/sparc/leon3/gnatsupp/gnatsupp.c
- bsps/sparc/leon3/start/amba.c
-- bsps/sparc/leon3/start/bsp_fatal_halt.c
- bsps/sparc/leon3/start/bspclean.c
- bsps/sparc/leon3/start/bspdelay.c
- bsps/sparc/leon3/start/bspidle.S
@@ -49,10 +52,10 @@ source:
- bsps/sparc/leon3/start/cpucounter.c
- bsps/sparc/leon3/start/drvmgr_def_drivers.c
- bsps/sparc/leon3/start/eirq.c
+- bsps/sparc/leon3/start/gettargethash.c
- bsps/sparc/leon3/start/setvec.c
- bsps/sparc/shared/gnatcommon.c
- bsps/sparc/shared/irq/bsp_isr_handler.c
-- bsps/sparc/shared/irq/irq-shared.c
- bsps/sparc/shared/pci/gr_cpci_gr740.c
- bsps/sparc/shared/pci/gr_leon4_n2x.c
- bsps/sparc/shared/pci/pci_memreg_sparc_be.c
diff --git a/spec/build/bsps/sparc/leon3/optapbuartbase.yml b/spec/build/bsps/sparc/leon3/optapbuartbase.yml
new file mode 100644
index 0000000000..2986fc6324
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optapbuartbase.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+actions:
+- get-integer: null
+- format-and-define: null
+build-type: option
+default:
+- enabled-by: sparc/gr712rc
+ value: 0x80000100
+- enabled-by: sparc/gr740
+ value: 0xff900000
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LEON3_APBUART_BASE
+description: |
+ This option defines the base address of the debug/console APBUART register
+ block.
+type: build
diff --git a/spec/build/bsps/sparc/leon2/optpwrdwnhlt.yml b/spec/build/bsps/sparc/leon3/optasrupcnt.yml
index d35c800e09..470944006e 100644
--- a/spec/build/bsps/sparc/leon2/optpwrdwnhlt.yml
+++ b/spec/build/bsps/sparc/leon3/optasrupcnt.yml
@@ -1,16 +1,19 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
actions:
- get-boolean: null
- define-condition: null
build-type: option
-copyrights:
-- Copyright (C) 2020 embedded brains GmbH & Co. KG
default:
+- enabled-by: sparc/gr740
+ value: true
- enabled-by: true
value: false
-description: |
- If defined, CPU is spinning on fatal exit. Otherwise generate system error which will hand over to debugger, simulator, etc.
enabled-by: true
links: []
-name: BSP_POWER_DOWN_AT_FATAL_HALT
+name: LEON3_HAS_ASR_22_23_UP_COUNTER
+description: |
+ If this option is set to true, then the processor has the %asr22 and %asr23
+ up-counter.
type: build
diff --git a/spec/build/bsps/sparc/leon3/optasrupcntprobe.yml b/spec/build/bsps/sparc/leon3/optasrupcntprobe.yml
new file mode 100644
index 0000000000..c32c909f3e
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optasrupcntprobe.yml
@@ -0,0 +1,21 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+default:
+- enabled-by:
+ - sparc/gr712rc
+ - sparc/gr740
+ value: false
+- enabled-by: true
+ value: true
+enabled-by: true
+links: []
+name: LEON3_PROBE_ASR_22_23_UP_COUNTER
+description: |
+ If this option is set to true, then it will be probed if the %asr22 and
+ %asr23 up-counter is available.
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optdsubase.yml b/spec/build/bsps/sparc/leon3/optdsubase.yml
new file mode 100644
index 0000000000..5fd0b9bfb7
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optdsubase.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2023 embedded brains GmbH & Co. KG
+actions:
+- get-integer: null
+- format-and-define: null
+build-type: option
+default:
+- enabled-by: sparc/gr712rc
+ value: 0x90000000
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LEON3_DSU_BASE
+description: |
+ This option defines the base address of the DSU register block used by
+ the clock driver and CPU counter implementation.
+
+ In general, using the Debug Support Unit (DSU) is not recommended for the
+ clock driver and CPU counter implementation. Before you use it, check that
+ it is available in flight models and that the time tag register is
+ implemented in radiation hardened flip-flops. For the GR712RC, this is the
+ case.
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optgptimerbase.yml b/spec/build/bsps/sparc/leon3/optgptimerbase.yml
new file mode 100644
index 0000000000..b2158208a0
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optgptimerbase.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+actions:
+- get-integer: null
+- format-and-define: null
+build-type: option
+default:
+- enabled-by: sparc/gr712rc
+ value: 0x80000300
+- enabled-by: sparc/gr740
+ value: 0xff908000
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LEON3_GPTIMER_BASE
+description: |
+ This option defines the base address of the GPTIMER register block used by
+ the clock driver.
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optirqampbase.yml b/spec/build/bsps/sparc/leon3/optirqampbase.yml
new file mode 100644
index 0000000000..aad978406b
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optirqampbase.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+actions:
+- get-integer: null
+- format-and-define: null
+build-type: option
+default:
+- enabled-by: sparc/gr712rc
+ value: 0x80000200
+- enabled-by: sparc/gr740
+ value: 0xff904000
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LEON3_IRQAMP_BASE
+description: |
+ This option defines the base address of the IRQ(A)MP register block.
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optirqampextirq.yml b/spec/build/bsps/sparc/leon3/optirqampextirq.yml
new file mode 100644
index 0000000000..61e077de5d
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optirqampextirq.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+actions:
+- get-integer: null
+- format-and-define: null
+build-type: option
+default:
+- enabled-by: sparc/gr712rc
+ value: 12
+- enabled-by: sparc/gr740
+ value: 10
+enabled-by: true
+format: '{}'
+links: []
+name: LEON3_IRQAMP_EXTENDED_INTERRUPT
+description: |
+ This option specifies the interrupt line of the IRQ(A)MP extended interrupt.
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optirqampts.yml b/spec/build/bsps/sparc/leon3/optirqampts.yml
new file mode 100644
index 0000000000..adcfeaf850
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optirqampts.yml
@@ -0,0 +1,24 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+default:
+- enabled-by:
+ - sparc/gr712rc
+ - sparc/gr740
+ - sparc/ut699
+ - sparc/ut700
+ value: false
+- enabled-by: true
+ value: true
+enabled-by: true
+links: []
+name: LEON3_IRQAMP_PROBE_TIMESTAMP
+description: |
+ If this option is set to true, then the interrupt timestamping feature of the
+ IRQ(A)MP is probed. If it is available, then it may be used for the CPU
+ counter and interrupt profiling.
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optl2cachebase.yml b/spec/build/bsps/sparc/leon3/optl2cachebase.yml
new file mode 100644
index 0000000000..759198f827
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optl2cachebase.yml
@@ -0,0 +1,19 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+actions:
+- get-integer: null
+- format-and-define: null
+build-type: option
+default:
+- enabled-by: sparc/gr712rc
+ value: 0x00000000
+- enabled-by: sparc/gr740
+ value: 0xf0000000
+enabled-by: true
+format: '{:#010x}'
+links: []
+name: LEON3_L2CACHE_BASE
+description: |
+ This option defines the base address of the L2CACHE register block.
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optplbfreq.yml b/spec/build/bsps/sparc/leon3/optplbfreq.yml
new file mode 100644
index 0000000000..9dbc39a789
--- /dev/null
+++ b/spec/build/bsps/sparc/leon3/optplbfreq.yml
@@ -0,0 +1,23 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2021 embedded brains GmbH & Co. KG
+actions:
+- get-boolean: null
+- define-condition: null
+build-type: option
+default:
+- enabled-by:
+ - sparc/gr712rc
+ - sparc/gr740
+ value: true
+- enabled-by: true
+ value: false
+enabled-by: true
+links: []
+name: LEON3_PLB_FREQUENCY_DEFINED_BY_GPTIMER
+description: |
+ If this option is set to true, then the processor local bus (PLB) frequency
+ is directly defined by the first GPTIMER frequency neglecting the actual bus
+ topology. It is assumed that the boot loader configured the first GPTIMER to
+ have a frequency of LEON3_GPTIMER_0_FREQUENCY_SET_BY_BOOT_LOADER.
+type: build
diff --git a/spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml b/spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml
deleted file mode 100644
index 4ef0aed429..0000000000
--- a/spec/build/bsps/sparc/leon3/optpwrdwnhlt.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-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 & Co. KG
-default:
-- enabled-by: true
- value: false
-description: |
- If defined, CPU is powered down on fatal exit. Otherwise generate system error which will hand over to debugger, simulator, etc.
-enabled-by: true
-links: []
-name: BSP_POWER_DOWN_AT_FATAL_HALT
-type: build
diff --git a/spec/build/bsps/tstnojffs2.yml b/spec/build/bsps/tstnojffs2.yml
index 527d254b89..375a74f144 100644
--- a/spec/build/bsps/tstnojffs2.yml
+++ b/spec/build/bsps/tstnojffs2.yml
@@ -4,6 +4,7 @@ actions:
reason: null
state: exclude
tests:
+ - fsjffs2empty01
- fsjffs2gc01
- jffs2fserror
- jffs2fslink
@@ -13,6 +14,14 @@ actions:
- jffs2fsscandir01
- jffs2fssymlink
- jffs2fstime
+ - jffs2nandfserror
+ - jffs2nandfslink
+ - jffs2nandfspatheval
+ - jffs2nandfspermission
+ - jffs2nandfsrdwr
+ - jffs2nandfsscandir01
+ - jffs2nandfssymlink
+ - jffs2nandfstime
build-type: option
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
diff --git a/spec/build/bsps/tstqemu.yml b/spec/build/bsps/tstqemu.yml
new file mode 100644
index 0000000000..3956cc4828
--- /dev/null
+++ b/spec/build/bsps/tstqemu.yml
@@ -0,0 +1,72 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+actions:
+- set-test-state:
+ reason: |
+ Tests that are passing intermittently due to #4922
+ state: indeterminate
+ tests:
+ - psx12
+ - psxclock
+ - psxtimes01
+ - psxualarm
+ - rtmonuse
+ - rtmonusxtimes01
+ - smpclock01
+ - smpfatal01
+ - smpfatal03
+ - smpmrsp01
+ - smpmutex01
+ - smppsxmutex01
+ - smpschedaffinity01
+ - smpschedaffinity02
+ - smpschededf01
+ - smpschededf03
+ - smpscheduler04
+ - smpthreadpin01
+ - sp04
+ - sp20
+ - sp68
+ - sp69
+ - sp71
+ - spcpucounter01
+ - spedfsched02
+ - spedfsched04
+ - spintrcritical01
+ - spintrcritical02
+ - spintrcritical03
+ - spintrcritical04
+ - spintrcritical05
+ - spintrcritical06
+ - spintrcritical07
+ - spintrcritical08
+ - spintrcritical09
+ - spintrcritical10
+ - spintrcritical11
+ - spintrcritical12
+ - spintrcritical13
+ - spintrcritical14
+ - spintrcritical15
+ - spintrcritical16
+ - spintrcritical17
+ - spintrcritical18
+ - spintrcritical19
+ - spintrcritical20
+ - spintrcritical21
+ - spintrcritical22
+ - spintrcritical23
+ - spintrcritical24
+ - sprmsched01
+ - sptimecounter01
+ - sptimecounter02
+ - sptimecounter04
+ - ttest02
+ - validation-0
+ - validation-smp-only-0
+build-type: option
+copyrights:
+- Copyright (C) 2023 On-Line Applications Research (OAR)
+default: []
+description: ''
+enabled-by: true
+links: []
+type: build