summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/arm
diff options
context:
space:
mode:
Diffstat (limited to '')
-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/optoscrtc.yml)13
-rw-r--r--spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0ori.yml (renamed from spec/build/cpukit/optvermaj.yml)11
-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/optcclk.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
102 files changed, 1088 insertions, 116 deletions
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/optoscrtc.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0len.yml
index 7fa70ae45d..0799dd6205 100644
--- a/spec/build/bsps/arm/tms570/optoscrtc.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: 32768
-description: |
- RTC oscillator frequency in Hz
+ value: 0x00010000
+description: ''
enabled-by: true
-format: '{}'
+format: '{:#010x}'
links: []
-name: TMS570_OSCILLATOR_RTC
+name: ZYNQMP_RPU_RAM_INT_0_LENGTH
type: build
diff --git a/spec/build/cpukit/optvermaj.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0ori.yml
index e194930b47..34c42efe17 100644
--- a/spec/build/cpukit/optvermaj.yml
+++ b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optint0ori.yml
@@ -1,13 +1,18 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
-- get-string-command-line: '6'
+- 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: []
+default:
+- enabled-by: true
+ value: 0x00000000
description: ''
enabled-by: true
+format: '{:#010x}'
links: []
-name: __RTEMS_MAJOR__
+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/optcclk.yml b/spec/build/bsps/arm/xilinx-zynqmp-rpu/optramori.yml
index 498693457f..d5b163781a 100644
--- a/spec/build/bsps/arm/tms570/optcclk.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: 96000000
-description: |
- CPU clock in Hz
+ value: 0x00100000
+description: ''
enabled-by: true
-format: '{}'
+format: '{:#010x}'
links: []
-name: TMS570_CCLK
+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