diff options
Diffstat (limited to 'spec')
269 files changed, 2368 insertions, 455 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/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/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 diff --git a/spec/build/cpukit/cpuaarch64.yml b/spec/build/cpukit/cpuaarch64.yml index 2be2923a30..a4ed464fa1 100644 --- a/spec/build/cpukit/cpuaarch64.yml +++ b/spec/build/cpukit/cpuaarch64.yml @@ -23,7 +23,6 @@ install: source: - cpukit/score/cpu/aarch64/include/rtems/score/aarch64-system-registers.h - cpukit/score/cpu/aarch64/include/rtems/score/cpu.h - - cpukit/score/cpu/aarch64/include/rtems/score/cpuatomic.h - cpukit/score/cpu/aarch64/include/rtems/score/cpuimpl.h - cpukit/score/cpu/aarch64/include/rtems/score/aarch64.h - cpukit/score/cpu/aarch64/include/rtems/score/cpu_irq.h diff --git a/spec/build/cpukit/cpuarm.yml b/spec/build/cpukit/cpuarm.yml index 06c1f0d8eb..88f84fd361 100644 --- a/spec/build/cpukit/cpuarm.yml +++ b/spec/build/cpukit/cpuarm.yml @@ -25,7 +25,6 @@ install: - cpukit/score/cpu/arm/include/rtems/score/armv7m.h - cpukit/score/cpu/arm/include/rtems/score/cpu.h - cpukit/score/cpu/arm/include/rtems/score/cpu_asm.h - - cpukit/score/cpu/arm/include/rtems/score/cpuatomic.h - cpukit/score/cpu/arm/include/rtems/score/cpuimpl.h - cpukit/score/cpu/arm/include/rtems/score/paravirt.h links: [] @@ -42,6 +41,7 @@ source: - cpukit/score/cpu/arm/arm_exc_interrupt.S - cpukit/score/cpu/arm/armv4-exception-default.S - cpukit/score/cpu/arm/armv4-sync-synchronize.c +- cpukit/score/cpu/arm/armv4-isr-install-vector.c - cpukit/score/cpu/arm/armv7-thread-idle.c - cpukit/score/cpu/arm/armv7m-context-initialize.c - cpukit/score/cpu/arm/armv7m-context-restore.c diff --git a/spec/build/cpukit/cpubfin.yml b/spec/build/cpukit/cpubfin.yml index a382c64c8c..b80135092f 100644 --- a/spec/build/cpukit/cpubfin.yml +++ b/spec/build/cpukit/cpubfin.yml @@ -25,7 +25,6 @@ install: - cpukit/score/cpu/bfin/include/rtems/score/bfin.h - cpukit/score/cpu/bfin/include/rtems/score/cpu.h - cpukit/score/cpu/bfin/include/rtems/score/cpu_asm.h - - cpukit/score/cpu/bfin/include/rtems/score/cpuatomic.h - cpukit/score/cpu/bfin/include/rtems/score/cpuimpl.h links: [] source: diff --git a/spec/build/cpukit/cpui386.yml b/spec/build/cpukit/cpui386.yml index bfd4ec743b..c06a008ffa 100644 --- a/spec/build/cpukit/cpui386.yml +++ b/spec/build/cpukit/cpui386.yml @@ -18,7 +18,6 @@ install: - destination: ${BSP_INCLUDEDIR}/rtems/score source: - cpukit/score/cpu/i386/include/rtems/score/cpu.h - - cpukit/score/cpu/i386/include/rtems/score/cpuatomic.h - cpukit/score/cpu/i386/include/rtems/score/cpuimpl.h - cpukit/score/cpu/i386/include/rtems/score/i386.h - cpukit/score/cpu/i386/include/rtems/score/idtr.h diff --git a/spec/build/cpukit/cpulm32.yml b/spec/build/cpukit/cpulm32.yml index 9d67221386..2ff7110ff5 100644 --- a/spec/build/cpukit/cpulm32.yml +++ b/spec/build/cpukit/cpulm32.yml @@ -19,7 +19,6 @@ install: source: - cpukit/score/cpu/lm32/include/rtems/score/cpu.h - cpukit/score/cpu/lm32/include/rtems/score/cpu_asm.h - - cpukit/score/cpu/lm32/include/rtems/score/cpuatomic.h - cpukit/score/cpu/lm32/include/rtems/score/cpuimpl.h - cpukit/score/cpu/lm32/include/rtems/score/lm32.h links: [] diff --git a/spec/build/cpukit/cpum68k.yml b/spec/build/cpukit/cpum68k.yml index e857baea77..4010473525 100644 --- a/spec/build/cpukit/cpum68k.yml +++ b/spec/build/cpukit/cpum68k.yml @@ -24,7 +24,6 @@ install: - destination: ${BSP_INCLUDEDIR}/rtems/score source: - cpukit/score/cpu/m68k/include/rtems/score/cpu.h - - cpukit/score/cpu/m68k/include/rtems/score/cpuatomic.h - cpukit/score/cpu/m68k/include/rtems/score/cpuimpl.h - cpukit/score/cpu/m68k/include/rtems/score/m68k.h links: [] diff --git a/spec/build/cpukit/cpumicroblaze.yml b/spec/build/cpukit/cpumicroblaze.yml index 3b1bc696a4..4a4b2e75cc 100644 --- a/spec/build/cpukit/cpumicroblaze.yml +++ b/spec/build/cpukit/cpumicroblaze.yml @@ -9,13 +9,15 @@ enabled-by: - microblaze includes: [] install: +- destination: ${BSP_INCLUDEDIR}/machine + source: + - cpukit/score/cpu/microblaze/include/machine/elf_machdep.h - destination: ${BSP_INCLUDEDIR}/rtems source: - cpukit/score/cpu/microblaze/include/rtems/asm.h - destination: ${BSP_INCLUDEDIR}/rtems/score source: - cpukit/score/cpu/microblaze/include/rtems/score/cpu.h - - cpukit/score/cpu/microblaze/include/rtems/score/cpuatomic.h - cpukit/score/cpu/microblaze/include/rtems/score/cpuimpl.h - cpukit/score/cpu/microblaze/include/rtems/score/microblaze.h links: [] diff --git a/spec/build/cpukit/cpumips.yml b/spec/build/cpukit/cpumips.yml index 6dc3761039..43a202cc59 100644 --- a/spec/build/cpukit/cpumips.yml +++ b/spec/build/cpukit/cpumips.yml @@ -22,7 +22,6 @@ install: - destination: ${BSP_INCLUDEDIR}/rtems/score source: - cpukit/score/cpu/mips/include/rtems/score/cpu.h - - cpukit/score/cpu/mips/include/rtems/score/cpuatomic.h - cpukit/score/cpu/mips/include/rtems/score/cpuimpl.h - cpukit/score/cpu/mips/include/rtems/score/mips.h links: [] diff --git a/spec/build/cpukit/cpumoxie.yml b/spec/build/cpukit/cpumoxie.yml index eb788acc1a..28629665c9 100644 --- a/spec/build/cpukit/cpumoxie.yml +++ b/spec/build/cpukit/cpumoxie.yml @@ -18,7 +18,6 @@ install: - destination: ${BSP_INCLUDEDIR}/rtems/score source: - cpukit/score/cpu/moxie/include/rtems/score/cpu.h - - cpukit/score/cpu/moxie/include/rtems/score/cpuatomic.h - cpukit/score/cpu/moxie/include/rtems/score/cpuimpl.h - cpukit/score/cpu/moxie/include/rtems/score/moxie.h links: [] diff --git a/spec/build/cpukit/cpunios2.yml b/spec/build/cpukit/cpunios2.yml index e8d3bc8681..3f424f2808 100644 --- a/spec/build/cpukit/cpunios2.yml +++ b/spec/build/cpukit/cpunios2.yml @@ -19,7 +19,6 @@ install: source: - cpukit/score/cpu/nios2/include/rtems/score/cpu.h - cpukit/score/cpu/nios2/include/rtems/score/cpu_asm.h - - cpukit/score/cpu/nios2/include/rtems/score/cpuatomic.h - cpukit/score/cpu/nios2/include/rtems/score/cpuimpl.h - cpukit/score/cpu/nios2/include/rtems/score/nios2-count-zeros.h - cpukit/score/cpu/nios2/include/rtems/score/nios2-utility.h diff --git a/spec/build/cpukit/cpuopts.yml b/spec/build/cpukit/cpuopts.yml index 49dfc26e4b..1d28ace552 100644 --- a/spec/build/cpukit/cpuopts.yml +++ b/spec/build/cpukit/cpuopts.yml @@ -8,11 +8,7 @@ include-headers: [] install-path: ${BSP_INCLUDEDIR}/rtems/score links: - role: build-dependency - uid: optvermaj -- role: build-dependency - uid: optvermin -- role: build-dependency - uid: optverrev + uid: optprogramprefix - role: build-dependency uid: optgcc - role: build-dependency diff --git a/spec/build/cpukit/cpuor1k.yml b/spec/build/cpukit/cpuor1k.yml index 45b98c4db2..28c06073cb 100644 --- a/spec/build/cpukit/cpuor1k.yml +++ b/spec/build/cpukit/cpuor1k.yml @@ -16,7 +16,6 @@ install: source: - cpukit/score/cpu/or1k/include/rtems/score/cpu.h - cpukit/score/cpu/or1k/include/rtems/score/cpu_asm.h - - cpukit/score/cpu/or1k/include/rtems/score/cpuatomic.h - cpukit/score/cpu/or1k/include/rtems/score/cpuimpl.h - cpukit/score/cpu/or1k/include/rtems/score/or1k-utility.h - cpukit/score/cpu/or1k/include/rtems/score/or1k.h diff --git a/spec/build/cpukit/cpupowerpc.yml b/spec/build/cpukit/cpupowerpc.yml index 549e24f4f8..f52e856a1f 100644 --- a/spec/build/cpukit/cpupowerpc.yml +++ b/spec/build/cpukit/cpupowerpc.yml @@ -21,7 +21,6 @@ install: - destination: ${BSP_INCLUDEDIR}/rtems/score source: - cpukit/score/cpu/powerpc/include/rtems/score/cpu.h - - cpukit/score/cpu/powerpc/include/rtems/score/cpuatomic.h - cpukit/score/cpu/powerpc/include/rtems/score/cpuimpl.h - cpukit/score/cpu/powerpc/include/rtems/score/paravirt.h - cpukit/score/cpu/powerpc/include/rtems/score/powerpc.h diff --git a/spec/build/cpukit/cpuriscv.yml b/spec/build/cpukit/cpuriscv.yml index a74057af19..39f908a697 100644 --- a/spec/build/cpukit/cpuriscv.yml +++ b/spec/build/cpukit/cpuriscv.yml @@ -20,7 +20,6 @@ install: source: - cpukit/score/cpu/riscv/include/rtems/score/cpu.h - cpukit/score/cpu/riscv/include/rtems/score/cpu_asm.h - - cpukit/score/cpu/riscv/include/rtems/score/cpuatomic.h - cpukit/score/cpu/riscv/include/rtems/score/cpuimpl.h - cpukit/score/cpu/riscv/include/rtems/score/riscv-utility.h - cpukit/score/cpu/riscv/include/rtems/score/riscv.h diff --git a/spec/build/cpukit/cpush.yml b/spec/build/cpukit/cpush.yml index ed48990bdb..61e178d442 100644 --- a/spec/build/cpukit/cpush.yml +++ b/spec/build/cpukit/cpush.yml @@ -15,7 +15,6 @@ install: - destination: ${BSP_INCLUDEDIR}/rtems/score source: - cpukit/score/cpu/sh/include/rtems/score/cpu.h - - cpukit/score/cpu/sh/include/rtems/score/cpuatomic.h - cpukit/score/cpu/sh/include/rtems/score/cpuimpl.h - cpukit/score/cpu/sh/include/rtems/score/sh.h - cpukit/score/cpu/sh/include/rtems/score/sh_io.h diff --git a/spec/build/cpukit/cpusparc.yml b/spec/build/cpukit/cpusparc.yml index 4f74abbdea..42406bcd95 100644 --- a/spec/build/cpukit/cpusparc.yml +++ b/spec/build/cpukit/cpusparc.yml @@ -23,10 +23,8 @@ install: - destination: ${BSP_INCLUDEDIR}/rtems/score source: - cpukit/score/cpu/sparc/include/rtems/score/cpu.h - - cpukit/score/cpu/sparc/include/rtems/score/cpuatomic.h - cpukit/score/cpu/sparc/include/rtems/score/cpuimpl.h - cpukit/score/cpu/sparc/include/rtems/score/sparc.h - - cpukit/score/cpu/sparc/include/rtems/score/sparcimpl.h links: [] source: - cpukit/score/cpu/no_cpu/cpuidle.c @@ -37,7 +35,6 @@ source: - cpukit/score/cpu/sparc/sparc-bad-trap.S - cpukit/score/cpu/sparc/sparc-context-validate.S - cpukit/score/cpu/sparc/sparc-context-volatile-clobber.S -- cpukit/score/cpu/sparc/sparc-counter-asm.S - cpukit/score/cpu/sparc/sparc-exception-frame-print.c - cpukit/score/cpu/sparc/sparc-isr-handler.S - cpukit/score/cpu/sparc/sparc-isr-install.c diff --git a/spec/build/cpukit/cpusparc64.yml b/spec/build/cpukit/cpusparc64.yml index 6d642676dc..dd35439e4f 100644 --- a/spec/build/cpukit/cpusparc64.yml +++ b/spec/build/cpukit/cpusparc64.yml @@ -15,7 +15,6 @@ install: - destination: ${BSP_INCLUDEDIR}/rtems/score source: - cpukit/score/cpu/sparc64/include/rtems/score/cpu.h - - cpukit/score/cpu/sparc64/include/rtems/score/cpuatomic.h - cpukit/score/cpu/sparc64/include/rtems/score/cpuimpl.h - cpukit/score/cpu/sparc64/include/rtems/score/sparc64.h links: [] diff --git a/spec/build/cpukit/cpuv850.yml b/spec/build/cpukit/cpuv850.yml index 54d7c9ff72..b9475a2b98 100644 --- a/spec/build/cpukit/cpuv850.yml +++ b/spec/build/cpukit/cpuv850.yml @@ -19,7 +19,6 @@ install: source: - cpukit/score/cpu/v850/include/rtems/score/cpu.h - cpukit/score/cpu/v850/include/rtems/score/cpu_asm.h - - cpukit/score/cpu/v850/include/rtems/score/cpuatomic.h - cpukit/score/cpu/v850/include/rtems/score/cpuimpl.h - cpukit/score/cpu/v850/include/rtems/score/v850.h links: [] diff --git a/spec/build/cpukit/cpux8664.yml b/spec/build/cpukit/cpux8664.yml index 87efe88ef0..0a1c2b8aaf 100644 --- a/spec/build/cpukit/cpux8664.yml +++ b/spec/build/cpukit/cpux8664.yml @@ -19,7 +19,6 @@ install: source: - cpukit/score/cpu/x86_64/include/rtems/score/cpu.h - cpukit/score/cpu/x86_64/include/rtems/score/cpu_asm.h - - cpukit/score/cpu/x86_64/include/rtems/score/cpuatomic.h - cpukit/score/cpu/x86_64/include/rtems/score/cpuimpl.h - cpukit/score/cpu/x86_64/include/rtems/score/idt.h - cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h diff --git a/spec/build/cpukit/grp.yml b/spec/build/cpukit/grp.yml index e07e975d7d..7cd1f80ee7 100644 --- a/spec/build/cpukit/grp.yml +++ b/spec/build/cpukit/grp.yml @@ -2,13 +2,11 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: group cflags: - ${CPUKIT_OPTIMIZATION_FLAGS} -- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: - ${CPUKIT_OPTIMIZATION_FLAGS} -- ${COVERAGE_COMPILER_FLAGS} enabled-by: true includes: [] install: [] diff --git a/spec/build/cpukit/libdebugger.yml b/spec/build/cpukit/libdebugger.yml index 3075ca1f9a..bc9db7b8d6 100644 --- a/spec/build/cpukit/libdebugger.yml +++ b/spec/build/cpukit/libdebugger.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library -cflags: [] +cflags: +- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] -cxxflags: [] +cxxflags: +- ${COVERAGE_COMPILER_FLAGS} enabled-by: BUILD_LIBDEBUGGER includes: [] install: [] diff --git a/spec/build/cpukit/libftpfs.yml b/spec/build/cpukit/libftpfs.yml index 4dc6b8c651..cc9b9f7980 100644 --- a/spec/build/cpukit/libftpfs.yml +++ b/spec/build/cpukit/libftpfs.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library -cflags: [] +cflags: +- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] -cxxflags: [] +cxxflags: +- ${COVERAGE_COMPILER_FLAGS} enabled-by: true includes: [] install: diff --git a/spec/build/cpukit/libjffs2.yml b/spec/build/cpukit/libjffs2.yml index 4fec670f92..f7c74d8f21 100644 --- a/spec/build/cpukit/libjffs2.yml +++ b/spec/build/cpukit/libjffs2.yml @@ -1,11 +1,13 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library cflags: +- ${COVERAGE_COMPILER_FLAGS} - -Wno-pointer-sign copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] -cxxflags: [] +cxxflags: +- ${COVERAGE_COMPILER_FLAGS} enabled-by: true includes: - cpukit/libfs/src/jffs2/include diff --git a/spec/build/cpukit/libmghttpd.yml b/spec/build/cpukit/libmghttpd.yml index 71dbbab974..c6cbe0a8be 100644 --- a/spec/build/cpukit/libmghttpd.yml +++ b/spec/build/cpukit/libmghttpd.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library -cflags: [] +cflags: +- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] -cxxflags: [] +cxxflags: +- ${COVERAGE_COMPILER_FLAGS} enabled-by: true includes: [] install: diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml index 0a7d849c18..196a8acd4e 100644 --- a/spec/build/cpukit/librtemscpu.yml +++ b/spec/build/cpukit/librtemscpu.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library -cflags: [] +cflags: +- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] -cxxflags: [] +cxxflags: +- ${COVERAGE_COMPILER_FLAGS} enabled-by: true includes: [] install: @@ -55,11 +57,6 @@ install: - destination: ${BSP_INCLUDEDIR}/dev/flash source: - cpukit/include/dev/flash/flashdev.h -- destination: ${BSP_INCLUDEDIR}/dev/can - source: - - cpukit/include/dev/can/can.h - - cpukit/include/dev/can/can-msg.h - - cpukit/include/dev/can/canqueueimpl.h - destination: ${BSP_INCLUDEDIR}/linux source: - cpukit/include/linux/i2c-dev.h @@ -82,6 +79,7 @@ install: - destination: ${BSP_INCLUDEDIR}/rtems source: - cpukit/include/rtems/assoc.h + - cpukit/include/rtems/base64.h - cpukit/include/rtems/bdbuf.h - cpukit/include/rtems/bdpart.h - cpukit/include/rtems/blkdev.h @@ -101,6 +99,7 @@ install: - cpukit/include/rtems/console.h - cpukit/include/rtems/counter.h - cpukit/include/rtems/cpuuse.h + - cpukit/include/rtems/crc.h - cpukit/include/rtems/deviceio.h - cpukit/include/rtems/devnull.h - cpukit/include/rtems/devzero.h @@ -157,6 +156,8 @@ install: - cpukit/include/rtems/recorddata.h - cpukit/include/rtems/recorddump.h - cpukit/include/rtems/recordserver.h + - cpukit/include/rtems/regulator.h + - cpukit/include/rtems/regulatorimpl.h - cpukit/include/rtems/ringbuf.h - cpukit/include/rtems/rtc.h - cpukit/include/rtems/rtems-debugger-remote-tcp.h @@ -221,6 +222,9 @@ install: - cpukit/include/rtems/debugger/rtems-debugger-bsp.h - cpukit/include/rtems/debugger/rtems-debugger-remote.h - cpukit/include/rtems/debugger/rtems-debugger-server.h +- destination: ${BSP_INCLUDEDIR}/rtems/dev + source: + - cpukit/include/rtems/dev/io.h - destination: ${BSP_INCLUDEDIR}/rtems/posix source: - cpukit/include/rtems/posix/aio_misc.h @@ -286,7 +290,6 @@ install: - cpukit/include/rtems/rtems/eventimpl.h - cpukit/include/rtems/rtems/eventmp.h - cpukit/include/rtems/rtems/intr.h - - cpukit/include/rtems/rtems/mainpage.h - cpukit/include/rtems/rtems/message.h - cpukit/include/rtems/rtems/messagedata.h - cpukit/include/rtems/rtems/messageimpl.h @@ -348,16 +351,13 @@ install: - cpukit/include/rtems/score/corerwlockimpl.h - cpukit/include/rtems/score/coresem.h - cpukit/include/rtems/score/coresemimpl.h - - cpukit/include/rtems/score/cpustdatomic.h - cpukit/include/rtems/score/exception.h - cpukit/include/rtems/score/freechain.h - - cpukit/include/rtems/score/gcov.h - cpukit/include/rtems/score/hash.h - cpukit/include/rtems/score/heap.h - cpukit/include/rtems/score/heapimpl.h - cpukit/include/rtems/score/heapinfo.h - cpukit/include/rtems/score/interr.h - - cpukit/include/rtems/score/io.h - cpukit/include/rtems/score/isr.h - cpukit/include/rtems/score/isrlevel.h - cpukit/include/rtems/score/isrlock.h @@ -380,6 +380,7 @@ install: - cpukit/include/rtems/score/prioritybitmapimpl.h - cpukit/include/rtems/score/priorityimpl.h - cpukit/include/rtems/score/processormask.h + - cpukit/include/rtems/score/processormaskimpl.h - cpukit/include/rtems/score/profiling.h - cpukit/include/rtems/score/protectedheap.h - cpukit/include/rtems/score/rbtree.h @@ -529,6 +530,9 @@ source: - cpukit/compression/xz/xz_crc32.c - cpukit/compression/xz/xz_dec_lzma2.c - cpukit/compression/xz/xz_dec_stream.c +- cpukit/crc/crc24q.c +- cpukit/base64/base64-encode.c +- cpukit/base64/base64-decode.c - cpukit/dev/flash/flashdev.c - cpukit/dev/i2c/eeprom.c - cpukit/dev/i2c/fpga-i2c-slave.c @@ -541,10 +545,12 @@ source: - cpukit/dev/i2c/ti-lm25066a.c - cpukit/dev/i2c/ti-tmp112.c - cpukit/dev/i2c/xilinx-axi-i2c.c +- cpukit/dev/ioprintf.c +- cpukit/dev/iorelax.c +- cpukit/dev/iovprintf.c - cpukit/dev/serial/sc16is752-spi.c - cpukit/dev/serial/sc16is752.c - cpukit/dev/spi/spi-bus.c -- cpukit/dev/can/can.c - cpukit/dtc/libfdt/fdt.c - cpukit/dtc/libfdt/fdt_addresses.c - cpukit/dtc/libfdt/fdt_empty_tree.c @@ -950,6 +956,7 @@ source: - cpukit/libmisc/mouse/mouse_parser.c - cpukit/libmisc/mouse/serial_mouse.c - cpukit/libmisc/redirector/stdio-redirect.c +- cpukit/libmisc/regulator/regulator.c - cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c - cpukit/libmisc/rtems-fdt/rtems-fdt.c - cpukit/libmisc/stackchk/check.c @@ -1416,9 +1423,6 @@ source: - cpukit/score/src/debugunreachable.c - cpukit/score/src/freechain.c - cpukit/score/src/futex.c -- cpukit/score/src/gcovdumpinfobase64.c -- cpukit/score/src/gcovdumpinfo.c -- cpukit/score/src/gcovinfoset.c - cpukit/score/src/hash.c - cpukit/score/src/heap.c - cpukit/score/src/heapallocate.c @@ -1433,10 +1437,6 @@ source: - cpukit/score/src/heapsizeofuserarea.c - cpukit/score/src/heapwalk.c - cpukit/score/src/interr.c -- cpukit/score/src/iobase64.c -- cpukit/score/src/ioprintf.c -- cpukit/score/src/iorelax.c -- cpukit/score/src/iovprintf.c - cpukit/score/src/isr.c - cpukit/score/src/isrisinprogress.c - cpukit/score/src/isrvectortable.c diff --git a/spec/build/cpukit/librtemscxx.yml b/spec/build/cpukit/librtemscxx.yml index 3803963470..97d65a1599 100644 --- a/spec/build/cpukit/librtemscxx.yml +++ b/spec/build/cpukit/librtemscxx.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library -cflags: [] +cflags: +- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020 Chris Johns (http://contemporary.software) cppflags: [] cxxflags: +- ${COVERAGE_COMPILER_FLAGS} - -std=c++17 enabled-by: true includes: [] diff --git a/spec/build/cpukit/librtemsdfltcfg.yml b/spec/build/cpukit/librtemsdfltcfg.yml index 3a77aa145d..2d5722fa2c 100644 --- a/spec/build/cpukit/librtemsdfltcfg.yml +++ b/spec/build/cpukit/librtemsdfltcfg.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library -cflags: [] +cflags: +- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] -cxxflags: [] +cxxflags: +- ${COVERAGE_COMPILER_FLAGS} enabled-by: true includes: [] install: [] diff --git a/spec/build/cpukit/librtemstest.yml b/spec/build/cpukit/librtemstest.yml index 4794312fa4..fc268f8971 100644 --- a/spec/build/cpukit/librtemstest.yml +++ b/spec/build/cpukit/librtemstest.yml @@ -12,10 +12,15 @@ install: source: - cpukit/include/rtems/test.h - cpukit/include/rtems/test-info.h + - cpukit/include/rtems/test-gcov.h + - cpukit/include/rtems/test-printer.h - cpukit/include/rtems/test-scheduler.h install-path: ${BSP_LIBDIR} links: [] source: +- cpukit/libtest/gcovdumpinfobase64.c +- cpukit/libtest/gcovdumpinfo.c +- cpukit/libtest/gcovinfoset.c - cpukit/libtest/t-test-busy-tick.c - cpukit/libtest/t-test-busy.c - cpukit/libtest/t-test-checks-eno.c diff --git a/spec/build/cpukit/libtelnetd.yml b/spec/build/cpukit/libtelnetd.yml index 8106b67499..adfda2ba30 100644 --- a/spec/build/cpukit/libtelnetd.yml +++ b/spec/build/cpukit/libtelnetd.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library -cflags: [] +cflags: +- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] -cxxflags: [] +cxxflags: +- ${COVERAGE_COMPILER_FLAGS} enabled-by: true includes: - cpukit/libnetworking diff --git a/spec/build/cpukit/libtftpfs.yml b/spec/build/cpukit/libtftpfs.yml index 31979963f7..c20ce2c7b7 100644 --- a/spec/build/cpukit/libtftpfs.yml +++ b/spec/build/cpukit/libtftpfs.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library -cflags: [] +cflags: +- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020, 2022 embedded brains GmbH & Co. KG cppflags: [] -cxxflags: [] +cxxflags: +- ${COVERAGE_COMPILER_FLAGS} enabled-by: true includes: - cpukit/libnetworking diff --git a/spec/build/cpukit/libz.yml b/spec/build/cpukit/libz.yml index 5f1ea57a17..86b261957d 100644 --- a/spec/build/cpukit/libz.yml +++ b/spec/build/cpukit/libz.yml @@ -1,10 +1,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: library -cflags: [] +cflags: +- ${COVERAGE_COMPILER_FLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] -cxxflags: [] +cxxflags: +- ${COVERAGE_COMPILER_FLAGS} enabled-by: true includes: [] install: diff --git a/spec/build/cpukit/objdl.yml b/spec/build/cpukit/objdl.yml index 133485a93d..1620080008 100644 --- a/spec/build/cpukit/objdl.yml +++ b/spec/build/cpukit/objdl.yml @@ -37,6 +37,8 @@ links: - role: build-dependency uid: objdlm68k - role: build-dependency + uid: objdlmicroblaze +- role: build-dependency uid: objdlmips - role: build-dependency uid: objdlmoxie @@ -66,6 +68,7 @@ source: - cpukit/libdl/rtl-shell.c - cpukit/libdl/rtl-string.c - cpukit/libdl/rtl-sym.c +- cpukit/libdl/rtl-tls.c - cpukit/libdl/rtl-trace.c - cpukit/libdl/rtl-unresolved.c - cpukit/libdl/rtl-unwind-dw2.c diff --git a/spec/build/cpukit/objdlaarch64.yml b/spec/build/cpukit/objdlaarch64.yml index 1715eefd3a..2909a902f2 100644 --- a/spec/build/cpukit/objdlaarch64.yml +++ b/spec/build/cpukit/objdlaarch64.yml @@ -12,5 +12,4 @@ install: [] links: [] source: - cpukit/libdl/rtl-mdreloc-aarch64.c -- cpukit/libdl/rtl-unwind-arm.c type: build diff --git a/spec/build/cpukit/objdlmicroblaze.yml b/spec/build/cpukit/objdlmicroblaze.yml new file mode 100644 index 0000000000..6740d75cf1 --- /dev/null +++ b/spec/build/cpukit/objdlmicroblaze.yml @@ -0,0 +1,15 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: +- microblaze +includes: [] +install: [] +links: [] +source: +- cpukit/libdl/rtl-mdreloc-microblaze.c +type: build diff --git a/spec/build/cpukit/optgcc.yml b/spec/build/cpukit/optgcc.yml index 3afb909444..94af494af4 100644 --- a/spec/build/cpukit/optgcc.yml +++ b/spec/build/cpukit/optgcc.yml @@ -1,21 +1,21 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: -- set-value: ${ARCH}-rtems${__RTEMS_MAJOR__}-gcc +- set-value: ${PROGRAM_PREFIX}gcc - substitute: null - find-program: null - env-assign: AS - env-assign: CC - env-assign: LINK_CC -- set-value: ${ARCH}-rtems${__RTEMS_MAJOR__}-g++ +- set-value: ${PROGRAM_PREFIX}g++ - substitute: null - find-program: null - env-assign: CXX - env-assign: LINK_CXX -- set-value: ${ARCH}-rtems${__RTEMS_MAJOR__}-ar +- set-value: ${PROGRAM_PREFIX}ar - substitute: null - find-program: null - env-assign: AR -- set-value: ${ARCH}-rtems${__RTEMS_MAJOR__}-ld +- set-value: ${PROGRAM_PREFIX}ld - substitute: null - find-program: null - env-assign: LD diff --git a/spec/build/cpukit/optlibdebugger.yml b/spec/build/cpukit/optlibdebugger.yml index 4cee9809f6..5ff67d6bd8 100644 --- a/spec/build/cpukit/optlibdebugger.yml +++ b/spec/build/cpukit/optlibdebugger.yml @@ -9,7 +9,15 @@ default: [] description: '' enabled-by: - aarch64 -- arm +- and: + - arm + - not: bsps/arm/atsam + - not: bsps/arm/imxrt + - not: bsps/arm/lm3s69xx + - not: bsps/arm/lpc176x + - not: bsps/arm/lpc24xx + - not: bsps/arm/stm32h7 + - not: bsps/arm/stm32f4 - i386 - microblaze links: [] diff --git a/spec/build/cpukit/optlibdl.yml b/spec/build/cpukit/optlibdl.yml index 74458daba1..cb45d0e70c 100644 --- a/spec/build/cpukit/optlibdl.yml +++ b/spec/build/cpukit/optlibdl.yml @@ -12,6 +12,7 @@ enabled-by: - arm - i386 - m68k +- microblaze - mips - moxie - powerpc diff --git a/spec/build/cpukit/optprogramprefix.yml b/spec/build/cpukit/optprogramprefix.yml new file mode 100644 index 0000000000..26d093a39a --- /dev/null +++ b/spec/build/cpukit/optprogramprefix.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- substitute: null +- env-assign: null +build-type: option +copyrights: +- Copyright (C) 2023 embedded brains GmbH & Co. KG +default: +- enabled-by: true + value: ${ARCH}-rtems${__RTEMS_MAJOR__}- +description: | + Defines the program prefix of tools (compiler, assembler, linker) used to + build RTEMS. This option may be used to build RTEMS with a vendor tool suite. + Please note, support issues related to using this option with vendor tool + suites should be directed to the vendor of the tools. +enabled-by: true +format: '{}' +links: [] +name: PROGRAM_PREFIX +type: build diff --git a/spec/build/cpukit/optsmp.yml b/spec/build/cpukit/optsmp.yml index 28b9bd4cd8..f78558d6eb 100644 --- a/spec/build/cpukit/optsmp.yml +++ b/spec/build/cpukit/optsmp.yml @@ -5,6 +5,7 @@ actions: - define-condition: null build-type: option copyrights: +- Copyright (C) 2023 B. Moessner - Copyright (C) 2020 embedded brains GmbH & Co. KG default: - enabled-by: true @@ -12,11 +13,6 @@ default: description: | Enable the Symmetric Multiprocessing (SMP) support enabled-by: -- 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 - arm/altcycv_devkit - arm/fvp_cortex_r52 - arm/imx7 @@ -27,6 +23,16 @@ enabled-by: - arm/xilinx_zynq_zc702 - arm/xilinx_zynq_zc706 - arm/xilinx_zynq_zedboard +- arm/xilinx_zynq_zybo +- arm/xilinx_zynq_zybo_z7 +- arm/xilinx_zynq_picozed +- arm/xilinx_zynq_pynq +- arm/xilinx_zynq_microzed +- bsps/aarch64/xilinx-zynqmp +- i386/pc386 +- i386/pc486 +- i386/pc586 +- i386/pc686 - powerpc/qoriq_e500 - powerpc/qoriq_e6500_32 - powerpc/qoriq_e6500_64 diff --git a/spec/build/cpukit/optvermin.yml b/spec/build/cpukit/optvermin.yml deleted file mode 100644 index 8a58959394..0000000000 --- a/spec/build/cpukit/optvermin.yml +++ /dev/null @@ -1,13 +0,0 @@ -SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause -actions: -- set-value: '0' -- env-assign: null -build-type: option -copyrights: -- Copyright (C) 2020 embedded brains GmbH & Co. KG -default: [] -description: '' -enabled-by: true -links: [] -name: __RTEMS_MINOR__ -type: build diff --git a/spec/build/cpukit/optverrev.yml b/spec/build/cpukit/optverrev.yml deleted file mode 100644 index 618c936e86..0000000000 --- a/spec/build/cpukit/optverrev.yml +++ /dev/null @@ -1,13 +0,0 @@ -SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause -actions: -- set-value: '0' -- env-assign: null -build-type: option -copyrights: -- Copyright (C) 2020 embedded brains GmbH & Co. KG -default: [] -description: '' -enabled-by: true -links: [] -name: __RTEMS_REVISION__ -type: build diff --git a/spec/build/testsuites/ada/grp.yml b/spec/build/testsuites/ada/grp.yml index e4867c15db..fce42dfd9e 100644 --- a/spec/build/testsuites/ada/grp.yml +++ b/spec/build/testsuites/ada/grp.yml @@ -8,9 +8,7 @@ cxxflags: [] enabled-by: - and: - __RTEMS_ADA__ - - or: - - BUILD_TESTS - - BUILD_ADATESTS + - BUILD_ADATESTS includes: [] install: [] ldflags: diff --git a/spec/build/testsuites/ada/optgnat.yml b/spec/build/testsuites/ada/optgnat.yml index 6d84f64845..449859bde0 100644 --- a/spec/build/testsuites/ada/optgnat.yml +++ b/spec/build/testsuites/ada/optgnat.yml @@ -1,6 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause actions: -- set-value: ${ARCH}-rtems${__RTEMS_MAJOR__}-gnatmake +- set-value: ${PROGRAM_PREFIX}gnatmake - substitute: null - find-program: null - env-assign: GNATMAKE diff --git a/spec/build/testsuites/benchmarks/grp.yml b/spec/build/testsuites/benchmarks/grp.yml index 33961bbec9..94705fa063 100644 --- a/spec/build/testsuites/benchmarks/grp.yml +++ b/spec/build/testsuites/benchmarks/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_BENCHMARKS +enabled-by: BUILD_BENCHMARKS includes: - testsuites/support/include install: [] diff --git a/spec/build/testsuites/fstests/fsjffs2empty01.yml b/spec/build/testsuites/fstests/fsjffs2empty01.yml new file mode 100644 index 0000000000..44d3f5fa23 --- /dev/null +++ b/spec/build/testsuites/fstests/fsjffs2empty01.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2020 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: +- testsuites/fstests/jffs2_support +ldflags: [] +links: [] +source: +- testsuites/fstests/fsjffs2empty01/init.c +stlib: [] +target: testsuites/fstests/fsjffs2empty01.exe +type: build +use-after: [] +use-before: +- jffs2 diff --git a/spec/build/testsuites/fstests/grp.yml b/spec/build/testsuites/fstests/grp.yml index 16006bd09a..a550ccbf9a 100644 --- a/spec/build/testsuites/fstests/grp.yml +++ b/spec/build/testsuites/fstests/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_FSTESTS +enabled-by: BUILD_FSTESTS includes: - testsuites/support/include - testsuites/fstests/support @@ -24,6 +22,8 @@ links: - role: build-dependency uid: libjffs2 - role: build-dependency + uid: libjffs2nand +- role: build-dependency uid: libmimfs - role: build-dependency uid: librfs @@ -52,6 +52,8 @@ links: - role: build-dependency uid: fsimfsgeneric01 - role: build-dependency + uid: fsjffs2empty01 +- role: build-dependency uid: fsjffs2gc01 - role: build-dependency uid: fsnofs01 @@ -92,6 +94,22 @@ links: - role: build-dependency uid: jffs2fstime - role: build-dependency + uid: jffs2nandfserror +- role: build-dependency + uid: jffs2nandfslink +- role: build-dependency + uid: jffs2nandfspatheval +- role: build-dependency + uid: jffs2nandfspermission +- role: build-dependency + uid: jffs2nandfsrdwr +- role: build-dependency + uid: jffs2nandfsscandir01 +- role: build-dependency + uid: jffs2nandfssymlink +- role: build-dependency + uid: jffs2nandfstime +- role: build-dependency uid: mdosfsfserror - role: build-dependency uid: mdosfsfspatheval diff --git a/spec/build/testsuites/fstests/jffs2nandfserror.yml b/spec/build/testsuites/fstests/jffs2nandfserror.yml new file mode 100644 index 0000000000..cf7844fb23 --- /dev/null +++ b/spec/build/testsuites/fstests/jffs2nandfserror.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: +- testsuites/fstests/jffs2_nand_support +ldflags: [] +links: [] +source: +- testsuites/fstests/fserror/test.c +stlib: [] +target: testsuites/fstests/jffs2nand_fserror.exe +type: build +use-after: [] +use-before: +- testjffs2nand +- jffs2 diff --git a/spec/build/testsuites/fstests/jffs2nandfslink.yml b/spec/build/testsuites/fstests/jffs2nandfslink.yml new file mode 100644 index 0000000000..10cbfbfd86 --- /dev/null +++ b/spec/build/testsuites/fstests/jffs2nandfslink.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: +- testsuites/fstests/jffs2_nand_support +ldflags: [] +links: [] +source: +- testsuites/fstests/fslink/test.c +stlib: [] +target: testsuites/fstests/jffs2nand_fslink.exe +type: build +use-after: [] +use-before: +- testjffs2nand +- jffs2 diff --git a/spec/build/testsuites/fstests/jffs2nandfspatheval.yml b/spec/build/testsuites/fstests/jffs2nandfspatheval.yml new file mode 100644 index 0000000000..07aaa737bb --- /dev/null +++ b/spec/build/testsuites/fstests/jffs2nandfspatheval.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: +- testsuites/fstests/jffs2_nand_support +ldflags: [] +links: [] +source: +- testsuites/fstests/fspatheval/test.c +stlib: [] +target: testsuites/fstests/jffs2nand_fspatheval.exe +type: build +use-after: [] +use-before: +- testjffs2nand +- jffs2 diff --git a/spec/build/testsuites/fstests/jffs2nandfspermission.yml b/spec/build/testsuites/fstests/jffs2nandfspermission.yml new file mode 100644 index 0000000000..4ecdab9385 --- /dev/null +++ b/spec/build/testsuites/fstests/jffs2nandfspermission.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: +- testsuites/fstests/jffs2_nand_support +ldflags: [] +links: [] +source: +- testsuites/fstests/fspermission/test.c +stlib: [] +target: testsuites/fstests/jffs2nand_fspermission.exe +type: build +use-after: [] +use-before: +- testjffs2nand +- jffs2 diff --git a/spec/build/testsuites/fstests/jffs2nandfsrdwr.yml b/spec/build/testsuites/fstests/jffs2nandfsrdwr.yml new file mode 100644 index 0000000000..605c168a1a --- /dev/null +++ b/spec/build/testsuites/fstests/jffs2nandfsrdwr.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: +- testsuites/fstests/jffs2_nand_support +ldflags: [] +links: [] +source: +- testsuites/fstests/fsrdwr/init.c +stlib: [] +target: testsuites/fstests/jffs2nand_fsrdwr.exe +type: build +use-after: [] +use-before: +- testjffs2nand +- jffs2 diff --git a/spec/build/testsuites/fstests/jffs2nandfsscandir01.yml b/spec/build/testsuites/fstests/jffs2nandfsscandir01.yml new file mode 100644 index 0000000000..56f693ce0f --- /dev/null +++ b/spec/build/testsuites/fstests/jffs2nandfsscandir01.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: +- testsuites/fstests/jffs2_nand_support +ldflags: [] +links: [] +source: +- testsuites/fstests/fsscandir01/init.c +stlib: [] +target: testsuites/fstests/jffs2nand_fsscandir01.exe +type: build +use-after: [] +use-before: +- testjffs2nand +- jffs2 diff --git a/spec/build/testsuites/fstests/jffs2nandfssymlink.yml b/spec/build/testsuites/fstests/jffs2nandfssymlink.yml new file mode 100644 index 0000000000..e522d49330 --- /dev/null +++ b/spec/build/testsuites/fstests/jffs2nandfssymlink.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: +- testsuites/fstests/jffs2_nand_support +ldflags: [] +links: [] +source: +- testsuites/fstests/fssymlink/test.c +stlib: [] +target: testsuites/fstests/jffs2nand_fssymlink.exe +type: build +use-after: [] +use-before: +- testjffs2nand +- jffs2 diff --git a/spec/build/testsuites/fstests/jffs2nandfstime.yml b/spec/build/testsuites/fstests/jffs2nandfstime.yml new file mode 100644 index 0000000000..799757fdbe --- /dev/null +++ b/spec/build/testsuites/fstests/jffs2nandfstime.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +features: c cprogram +includes: +- testsuites/fstests/jffs2_nand_support +ldflags: [] +links: [] +source: +- testsuites/fstests/fstime/test.c +stlib: [] +target: testsuites/fstests/jffs2nand_fstime.exe +type: build +use-after: [] +use-before: +- testjffs2nand +- jffs2 diff --git a/spec/build/testsuites/fstests/libjffs2nand.yml b/spec/build/testsuites/fstests/libjffs2nand.yml new file mode 100644 index 0000000000..03750653d3 --- /dev/null +++ b/spec/build/testsuites/fstests/libjffs2nand.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: library +cflags: [] +copyrights: +- Copyright (C) 2023 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +includes: +- testsuites/fstests/jffs2_nand_support +install: [] +install-path: null +links: [] +source: +- testsuites/fstests/jffs2_nand_support/fs_support.c +- testsuites/fstests/support/fstest_support.c +target: testjffs2nand +type: build diff --git a/spec/build/testsuites/fstests/tftpfs.yml b/spec/build/testsuites/fstests/tftpfs.yml index a925d22186..fe25ba1d78 100644 --- a/spec/build/testsuites/fstests/tftpfs.yml +++ b/spec/build/testsuites/fstests/tftpfs.yml @@ -17,9 +17,9 @@ source: - testsuites/fstests/tftpfs/init.c - testsuites/fstests/tftpfs/tftpfs_udp_network_fake.c - testsuites/fstests/tftpfs/tftpfs_interactions.c -stlib: -- tftpfs +stlib: [] target: testsuites/fstests/tftpfs.exe type: build use-after: [] -use-before: [] +use-before: +- tftpfs diff --git a/spec/build/testsuites/grp.yml b/spec/build/testsuites/grp.yml index c50693420c..2c69cdd312 100644 --- a/spec/build/testsuites/grp.yml +++ b/spec/build/testsuites/grp.yml @@ -15,10 +15,10 @@ ldflags: - ${COVERAGE_LINKER_FLAGS} links: - role: build-dependency - uid: optada -- role: build-dependency uid: optall - role: build-dependency + uid: optada +- role: build-dependency uid: optbenchmarks - role: build-dependency uid: optfs diff --git a/spec/build/testsuites/libtests/dl01.yml b/spec/build/testsuites/libtests/dl01.yml index 3cc04a6611..c1126ca8e2 100644 --- a/spec/build/testsuites/libtests/dl01.yml +++ b/spec/build/testsuites/libtests/dl01.yml @@ -33,6 +33,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl01.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/dl02.yml b/spec/build/testsuites/libtests/dl02.yml index 9fd81dc7c8..34df43c762 100644 --- a/spec/build/testsuites/libtests/dl02.yml +++ b/spec/build/testsuites/libtests/dl02.yml @@ -34,6 +34,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl02.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/dl04.yml b/spec/build/testsuites/libtests/dl04.yml index 7dd41e3338..55ff91e6fe 100644 --- a/spec/build/testsuites/libtests/dl04.yml +++ b/spec/build/testsuites/libtests/dl04.yml @@ -34,6 +34,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl04.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/dl05.yml b/spec/build/testsuites/libtests/dl05.yml index 80f72131d0..f654218eba 100644 --- a/spec/build/testsuites/libtests/dl05.yml +++ b/spec/build/testsuites/libtests/dl05.yml @@ -35,6 +35,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl05.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/dl06.yml b/spec/build/testsuites/libtests/dl06.yml index 0fc5af1478..601147f3c4 100644 --- a/spec/build/testsuites/libtests/dl06.yml +++ b/spec/build/testsuites/libtests/dl06.yml @@ -44,6 +44,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl06.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/dl07.yml b/spec/build/testsuites/libtests/dl07.yml index 82dd3ccdde..5760f68b87 100644 --- a/spec/build/testsuites/libtests/dl07.yml +++ b/spec/build/testsuites/libtests/dl07.yml @@ -32,11 +32,13 @@ enabled-by: - BUILD_LIBDL includes: - testsuites/libtests/dl07 -ldflags: [] +ldflags: +- ${LIBDL_TESTS_LDFLAGS} links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl07.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/dl08.yml b/spec/build/testsuites/libtests/dl08.yml index d3982f2357..ada6caf698 100644 --- a/spec/build/testsuites/libtests/dl08.yml +++ b/spec/build/testsuites/libtests/dl08.yml @@ -37,11 +37,13 @@ enabled-by: - BUILD_LIBDL includes: - testsuites/libtests/dl08 -ldflags: [] +ldflags: +- ${LIBDL_TESTS_LDFLAGS} links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl08.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/dl09.yml b/spec/build/testsuites/libtests/dl09.yml index 11066d2c0d..ee0be57fb2 100644 --- a/spec/build/testsuites/libtests/dl09.yml +++ b/spec/build/testsuites/libtests/dl09.yml @@ -32,11 +32,13 @@ enabled-by: - BUILD_LIBDL includes: - testsuites/libtests/dl09 -ldflags: [] +ldflags: +- ${LIBDL_TESTS_LDFLAGS} links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl09.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/dl10.yml b/spec/build/testsuites/libtests/dl10.yml index 880abeff9b..fd13dfc790 100644 --- a/spec/build/testsuites/libtests/dl10.yml +++ b/spec/build/testsuites/libtests/dl10.yml @@ -42,6 +42,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl10.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/dl11.yml b/spec/build/testsuites/libtests/dl11.yml index 6eaaeaeecc..29021a3fb5 100644 --- a/spec/build/testsuites/libtests/dl11.yml +++ b/spec/build/testsuites/libtests/dl11.yml @@ -33,6 +33,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/dl11.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/grp.yml b/spec/build/testsuites/libtests/grp.yml index be340c8ab6..fae2396a2f 100644 --- a/spec/build/testsuites/libtests/grp.yml +++ b/spec/build/testsuites/libtests/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_LIBTESTS +enabled-by: BUILD_LIBTESTS includes: - testsuites/support/include install: [] @@ -23,6 +21,8 @@ links: - role: build-dependency uid: ../optxz - role: build-dependency + uid: optdlldflags +- role: build-dependency uid: optrtemsld - role: build-dependency uid: optrtemssyms @@ -77,8 +77,6 @@ links: - role: build-dependency uid: crypt01 - role: build-dependency - uid: can01 -- role: build-dependency uid: debugger01 - role: build-dependency uid: defaultconfig01 @@ -231,6 +229,8 @@ links: - role: build-dependency uid: record02 - role: build-dependency + uid: regulator01 +- role: build-dependency uid: rtmonuse - role: build-dependency uid: setjmp diff --git a/spec/build/testsuites/libtests/optdlldflags.yml b/spec/build/testsuites/libtests/optdlldflags.yml new file mode 100644 index 0000000000..0d754c5270 --- /dev/null +++ b/spec/build/testsuites/libtests/optdlldflags.yml @@ -0,0 +1,22 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-string: null +- split: null +- env-assign: null +build-type: option +copyrights: +- Copyright (C) 2023 embedded brains GmbH & Co. KG +default: +- enabled-by: microblaze + value: + - -u__extendsfdf2 +- enabled-by: true + value: [] +description: | + Linker flags used to link libdl tests with a base image. For example, it may + be used to add undefined symbols which the linker has to resolve to pull in + services required by loaded parts. +enabled-by: true +links: [] +name: LIBDL_TESTS_LDFLAGS +type: build diff --git a/spec/build/testsuites/libtests/can01.yml b/spec/build/testsuites/libtests/regulator01.yml index 7597b1fffd..776d0ae34b 100644 --- a/spec/build/testsuites/libtests/can01.yml +++ b/spec/build/testsuites/libtests/regulator01.yml @@ -2,19 +2,20 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: test-program cflags: [] copyrights: -- Copyright (C) 2022 Prashanth S (fishesprashanth@gmail.com). +- Copyright (C) 2023 OAR Corporation cppflags: [] cxxflags: [] enabled-by: true features: c cprogram includes: [] -ldflags: [] +ldflags: +- -Wl,--wrap=malloc links: [] source: -- testsuites/libtests/can01/init.c -- testsuites/libtests/can01/can-loopback.c +- testsuites/libtests/regulator01/regulator01.c +- testsuites/libtests/regulator01/rtems_config.c stlib: [] -target: testsuites/libtests/can01.exe +target: testsuites/libtests/regulator01.exe type: build use-after: [] use-before: [] diff --git a/spec/build/testsuites/libtests/tar01.yml b/spec/build/testsuites/libtests/tar01.yml index c2fb7767e2..5afd851155 100644 --- a/spec/build/testsuites/libtests/tar01.yml +++ b/spec/build/testsuites/libtests/tar01.yml @@ -29,6 +29,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/tar01.exe type: build use-after: - z diff --git a/spec/build/testsuites/libtests/tar02.yml b/spec/build/testsuites/libtests/tar02.yml index 382920342b..5594299e53 100644 --- a/spec/build/testsuites/libtests/tar02.yml +++ b/spec/build/testsuites/libtests/tar02.yml @@ -23,6 +23,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/libtests/tar02.exe type: build use-after: - z diff --git a/spec/build/testsuites/mptests/grp.yml b/spec/build/testsuites/mptests/grp.yml index 3a5351bf33..699de87970 100644 --- a/spec/build/testsuites/mptests/grp.yml +++ b/spec/build/testsuites/mptests/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_MPTESTS +enabled-by: BUILD_MPTESTS includes: - testsuites/support/include install: [] diff --git a/spec/build/testsuites/optada.yml b/spec/build/testsuites/optada.yml index fcf4effac1..a2b2b791c5 100644 --- a/spec/build/testsuites/optada.yml +++ b/spec/build/testsuites/optada.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optbenchmarks.yml b/spec/build/testsuites/optbenchmarks.yml index 0ea75df53f..0d6bce5a85 100644 --- a/spec/build/testsuites/optbenchmarks.yml +++ b/spec/build/testsuites/optbenchmarks.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optfs.yml b/spec/build/testsuites/optfs.yml index 7012f71805..6a2e657b03 100644 --- a/spec/build/testsuites/optfs.yml +++ b/spec/build/testsuites/optfs.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optlib.yml b/spec/build/testsuites/optlib.yml index 278fc6018d..556f43cda4 100644 --- a/spec/build/testsuites/optlib.yml +++ b/spec/build/testsuites/optlib.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optmp.yml b/spec/build/testsuites/optmp.yml index f85143ee32..4a2d83287f 100644 --- a/spec/build/testsuites/optmp.yml +++ b/spec/build/testsuites/optmp.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optpsx.yml b/spec/build/testsuites/optpsx.yml index 2af87f3229..6bd1460000 100644 --- a/spec/build/testsuites/optpsx.yml +++ b/spec/build/testsuites/optpsx.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optpsxtm.yml b/spec/build/testsuites/optpsxtm.yml index dcecb0839f..78d8e97dd9 100644 --- a/spec/build/testsuites/optpsxtm.yml +++ b/spec/build/testsuites/optpsxtm.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optrhs.yml b/spec/build/testsuites/optrhs.yml index c2855cb9da..da7ccda793 100644 --- a/spec/build/testsuites/optrhs.yml +++ b/spec/build/testsuites/optrhs.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optsmp.yml b/spec/build/testsuites/optsmp.yml index de65460b1c..ec4288c197 100644 --- a/spec/build/testsuites/optsmp.yml +++ b/spec/build/testsuites/optsmp.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optsp.yml b/spec/build/testsuites/optsp.yml index 7065fe9965..eec479b132 100644 --- a/spec/build/testsuites/optsp.yml +++ b/spec/build/testsuites/optsp.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/opttm.yml b/spec/build/testsuites/opttm.yml index 2207162684..99ea70a96b 100644 --- a/spec/build/testsuites/opttm.yml +++ b/spec/build/testsuites/opttm.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optunit.yml b/spec/build/testsuites/optunit.yml index 727aa92e71..adf0b868e4 100644 --- a/spec/build/testsuites/optunit.yml +++ b/spec/build/testsuites/optunit.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/optvalidation.yml b/spec/build/testsuites/optvalidation.yml index ce741c4dd1..e90d7e4647 100644 --- a/spec/build/testsuites/optvalidation.yml +++ b/spec/build/testsuites/optvalidation.yml @@ -6,6 +6,8 @@ build-type: option copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG default: +- enabled-by: BUILD_TESTS + value: true - enabled-by: true value: false description: | diff --git a/spec/build/testsuites/psxtests/grp.yml b/spec/build/testsuites/psxtests/grp.yml index 07e98f5481..fe6a707b99 100644 --- a/spec/build/testsuites/psxtests/grp.yml +++ b/spec/build/testsuites/psxtests/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_PSXTESTS +enabled-by: BUILD_PSXTESTS includes: - testsuites/support/include - testsuites/psxtests/include diff --git a/spec/build/testsuites/psxtests/psxftw01.yml b/spec/build/testsuites/psxtests/psxftw01.yml index c8b2a4fb59..39b4194bc4 100644 --- a/spec/build/testsuites/psxtests/psxftw01.yml +++ b/spec/build/testsuites/psxtests/psxftw01.yml @@ -28,6 +28,7 @@ links: [] prepare-build: null prepare-configure: null stlib: [] +target: testsuites/psxtests/psxftw01.exe type: build use-after: - z diff --git a/spec/build/testsuites/psxtmtests/grp.yml b/spec/build/testsuites/psxtmtests/grp.yml index d7636b3beb..27fd02a29e 100644 --- a/spec/build/testsuites/psxtmtests/grp.yml +++ b/spec/build/testsuites/psxtmtests/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_PSXTMTESTS +enabled-by: BUILD_PSXTMTESTS includes: - testsuites/support/include - testsuites/tmtests/include diff --git a/spec/build/testsuites/rhealstone/grp.yml b/spec/build/testsuites/rhealstone/grp.yml index 0e39eff921..471fb4e3f7 100644 --- a/spec/build/testsuites/rhealstone/grp.yml +++ b/spec/build/testsuites/rhealstone/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_RHEALSTONE +enabled-by: BUILD_RHEALSTONE includes: - testsuites/support/include - testsuites/tmtests/include diff --git a/spec/build/testsuites/samples/grp.yml b/spec/build/testsuites/samples/grp.yml index 36421fd029..1e1a858cf6 100644 --- a/spec/build/testsuites/samples/grp.yml +++ b/spec/build/testsuites/samples/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_SAMPLES +enabled-by: BUILD_SAMPLES includes: - testsuites/support/include install: [] diff --git a/spec/build/testsuites/smptests/grp.yml b/spec/build/testsuites/smptests/grp.yml index affe8769c6..3a1e5ead4d 100644 --- a/spec/build/testsuites/smptests/grp.yml +++ b/spec/build/testsuites/smptests/grp.yml @@ -6,11 +6,9 @@ copyrights: cppflags: [] cxxflags: [] enabled-by: -- and: + and: - RTEMS_SMP - - or: - - BUILD_TESTS - - BUILD_SMPTESTS + - BUILD_SMPTESTS includes: - testsuites/support/include install: [] diff --git a/spec/build/testsuites/sptests/grp.yml b/spec/build/testsuites/sptests/grp.yml index 7676f2cb36..dc926872c7 100644 --- a/spec/build/testsuites/sptests/grp.yml +++ b/spec/build/testsuites/sptests/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_SPTESTS +enabled-by: BUILD_SPTESTS includes: - testsuites/support/include install: [] diff --git a/spec/build/testsuites/tmtests/grp.yml b/spec/build/testsuites/tmtests/grp.yml index 18afe14e5a..d7e7920601 100644 --- a/spec/build/testsuites/tmtests/grp.yml +++ b/spec/build/testsuites/tmtests/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_TMTESTS +enabled-by: BUILD_TMTESTS includes: - testsuites/support/include - testsuites/tmtests/include diff --git a/spec/build/testsuites/unit/grp.yml b/spec/build/testsuites/unit/grp.yml index 11ef280200..0ccaabb708 100644 --- a/spec/build/testsuites/unit/grp.yml +++ b/spec/build/testsuites/unit/grp.yml @@ -5,9 +5,7 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_UNITTESTS +enabled-by: BUILD_UNITTESTS includes: - testsuites/support/include install: [] diff --git a/spec/build/testsuites/unit/unit-no-clock-0.yml b/spec/build/testsuites/unit/unit-no-clock-0.yml index 57cd279a7a..825e7619cd 100644 --- a/spec/build/testsuites/unit/unit-no-clock-0.yml +++ b/spec/build/testsuites/unit/unit-no-clock-0.yml @@ -11,7 +11,12 @@ includes: [] ldflags: [] links: [] source: +- testsuites/unit/tc-base64-decode.c +- testsuites/unit/tc-compiler-builtins.c +- testsuites/unit/tc-config.c +- testsuites/unit/tc-crc.c - testsuites/unit/tc-misaligned-builtin-memcpy.c +- testsuites/unit/tc-score-msgq.c - testsuites/unit/tc-score-rbtree.c - testsuites/unit/ts-unit-no-clock-0.c stlib: [] @@ -19,4 +24,5 @@ target: testsuites/unit/ts-unit-no-clock-0.exe type: build use-after: - validation +- z use-before: [] diff --git a/spec/build/testsuites/validation/bsps/fatal-clock-xil-ttc-irq-install.yml b/spec/build/testsuites/validation/bsps/fatal-clock-xil-ttc-irq-install.yml new file mode 100644 index 0000000000..253131551d --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-clock-xil-ttc-irq-install.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2024 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/arm/xilinx-zynqmp-rpu +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/validation/bsps/tr-fatal-clock-xil-ttc-irq-install.c +- testsuites/validation/bsps/ts-fatal-clock-xil-ttc-irq-install.c +stlib: [] +target: testsuites/validation/bsps/ts-fatal-clock-xil-ttc-irq-install.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-boot.yml b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-boot.yml new file mode 100644 index 0000000000..93afdb2c32 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-boot.yml @@ -0,0 +1,24 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: + and: + - RTEMS_SMP + - bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/validation/bsps/tr-fatal-sparc-leon3-cache-snooping-disabled-boot.c +- testsuites/validation/bsps/ts-fatal-sparc-leon3-cache-snooping-disabled-boot.c +stlib: [] +target: testsuites/validation/bsps/ts-fatal-sparc-leon3-cache-snooping-disabled-boot.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-secondary.yml b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-secondary.yml new file mode 100644 index 0000000000..20c4b43989 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-cache-snooping-disabled-secondary.yml @@ -0,0 +1,25 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: + and: + - RTEMS_SMP + - bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: +- -Wl,--wrap=bsp_start_on_secondary_processor +links: [] +source: +- testsuites/validation/bsps/tr-fatal-sparc-leon3-cache-snooping-disabled-secondary.c +- testsuites/validation/bsps/ts-fatal-sparc-leon3-cache-snooping-disabled-secondary.c +stlib: [] +target: testsuites/validation/bsps/ts-fatal-sparc-leon3-cache-snooping-disabled-secondary.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-clock-initialization.yml b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-clock-initialization.yml new file mode 100644 index 0000000000..f8a24d9ccb --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-clock-initialization.yml @@ -0,0 +1,21 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: [] +links: [] +source: +- testsuites/validation/bsps/tr-fatal-sparc-leon3-clock-initialization.c +- testsuites/validation/bsps/ts-fatal-sparc-leon3-clock-initialization.c +stlib: [] +target: testsuites/validation/bsps/ts-fatal-sparc-leon3-clock-initialization.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml new file mode 100644 index 0000000000..a23409a4b5 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/fatal-sparc-leon3-shutdown.yml @@ -0,0 +1,24 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2022 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: +- -Wl,--wrap=_CPU_Fatal_halt +links: +- role: build-dependency + uid: objsparcleon3shutdown +source: +- testsuites/validation/bsps/tc-fatal-sparc-leon3-shutdown-halt.c +- testsuites/validation/bsps/ts-fatal-sparc-leon3-shutdown.c +stlib: [] +target: testsuites/validation/bsps/ts-fatal-sparc-leon3-shutdown.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/bsps/objclockxilttc.yml b/spec/build/testsuites/validation/bsps/objclockxilttc.yml new file mode 100644 index 0000000000..b080bcdbfb --- /dev/null +++ b/spec/build/testsuites/validation/bsps/objclockxilttc.yml @@ -0,0 +1,14 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2024 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/arm/xilinx-zynqmp-rpu +includes: [] +install: [] +links: [] +source: +- testsuites/validation/tc-dev-clock-xil-ttc.c +type: build diff --git a/spec/build/testsuites/validation/bsps/objgrlib.yml b/spec/build/testsuites/validation/bsps/objgrlib.yml new file mode 100644 index 0000000000..9a5df84195 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/objgrlib.yml @@ -0,0 +1,16 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: bsps/sparc/leon3 +includes: [] +install: [] +links: [] +source: +- testsuites/validation/tc-dev-grlib-apbuart-inbyte-nonblocking.c +- testsuites/validation/tc-dev-grlib-io.c +- testsuites/validation/tc-dev-grlib-irqamp-get-timestamp.c +type: build diff --git a/spec/build/testsuites/validation/bsps/objsparcgr712rc.yml b/spec/build/testsuites/validation/bsps/objsparcgr712rc.yml new file mode 100644 index 0000000000..d3dd60d4a0 --- /dev/null +++ b/spec/build/testsuites/validation/bsps/objsparcgr712rc.yml @@ -0,0 +1,14 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2021 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: sparc/gr712rc +includes: [] +install: [] +links: [] +source: +- testsuites/validation/bsps/tc-sparc-gr712rc.c +type: build diff --git a/spec/build/testsuites/validation/bsps/objsparcleon3shutdown.yml b/spec/build/testsuites/validation/bsps/objsparcleon3shutdown.yml new file mode 100644 index 0000000000..d6da0eafdc --- /dev/null +++ b/spec/build/testsuites/validation/bsps/objsparcleon3shutdown.yml @@ -0,0 +1,17 @@ +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: + and: + - RTEMS_SMP + - bsps/sparc/leon3 +includes: [] +install: [] +links: [] +source: +- testsuites/validation/bsps/tc-fatal-sparc-leon3-shutdown-request.c +type: build diff --git a/spec/build/testsuites/validation/bsps/validation-bsp-0.yml b/spec/build/testsuites/validation/bsps/validation-bsp-0.yml new file mode 100644 index 0000000000..790e05e0bc --- /dev/null +++ b/spec/build/testsuites/validation/bsps/validation-bsp-0.yml @@ -0,0 +1,29 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: test-program +cflags: [] +copyrights: +- Copyright (C) 2023 embedded brains GmbH & Co. KG +cppflags: [] +cxxflags: [] +enabled-by: +- bsps/arm/xilinx-zynqmp-rpu +- bsps/sparc/leon3 +features: c cprogram +includes: [] +ldflags: +- -Wl,--wrap=_IO_Relax +links: +- role: build-dependency + uid: objclockxilttc +- role: build-dependency + uid: objgrlib +- role: build-dependency + uid: objsparcgr712rc +source: +- testsuites/validation/bsps/ts-validation-bsp-0.c +stlib: [] +target: testsuites/validation/bsps/ts-validation-bsp-0.exe +type: build +use-after: +- validation +use-before: [] diff --git a/spec/build/testsuites/validation/grp.yml b/spec/build/testsuites/validation/grp.yml index 9aa9daff44..f10c6a9823 100644 --- a/spec/build/testsuites/validation/grp.yml +++ b/spec/build/testsuites/validation/grp.yml @@ -5,11 +5,10 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: -- BUILD_TESTS -- BUILD_VALIDATIONTESTS +enabled-by: BUILD_VALIDATIONTESTS includes: - ${BSP_INCLUDES} +- testsuites/validation install: [] ldflags: [] links: @@ -79,6 +78,18 @@ links: uid: validation-tls-0 - role: build-dependency uid: validation-tls-1 +- role: build-dependency + uid: bsps/fatal-clock-xil-ttc-irq-install +- role: build-dependency + uid: bsps/fatal-sparc-leon3-cache-snooping-disabled-boot +- role: build-dependency + uid: bsps/fatal-sparc-leon3-cache-snooping-disabled-secondary +- role: build-dependency + uid: bsps/fatal-sparc-leon3-clock-initialization +- role: build-dependency + uid: bsps/fatal-sparc-leon3-shutdown +- role: build-dependency + uid: bsps/validation-bsp-0 type: build use-after: - validation diff --git a/spec/build/testsuites/validation/objmrsp.yml b/spec/build/testsuites/validation/objmrsp.yml new file mode 100644 index 0000000000..6d2c283b72 --- /dev/null +++ b/spec/build/testsuites/validation/objmrsp.yml @@ -0,0 +1,16 @@ +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: RTEMS_SMP +includes: [] +install: [] +links: [] +source: +- testsuites/validation/tr-tq-enqueue-mrsp.c +- testsuites/validation/tr-tq-surrender-mrsp.c +- testsuites/validation/tr-tq-timeout-mrsp.c +type: build diff --git a/spec/build/testsuites/validation/objpreinitarray.yml b/spec/build/testsuites/validation/objpreinitarray.yml index d4542485b2..c38460ebfe 100644 --- a/spec/build/testsuites/validation/objpreinitarray.yml +++ b/spec/build/testsuites/validation/objpreinitarray.yml @@ -6,6 +6,7 @@ copyrights: cppflags: [] cxxflags: [] enabled-by: +- aarch64 - arm - riscv includes: [] diff --git a/spec/build/testsuites/validation/performance-no-clock-0.yml b/spec/build/testsuites/validation/performance-no-clock-0.yml index 5e21f2fcdb..af47b308fa 100644 --- a/spec/build/testsuites/validation/performance-no-clock-0.yml +++ b/spec/build/testsuites/validation/performance-no-clock-0.yml @@ -5,13 +5,15 @@ copyrights: - Copyright (C) 2020 embedded brains GmbH & Co. KG cppflags: [] cxxflags: [] -enabled-by: true +enabled-by: + not: RTEMS_GCOV_COVERAGE features: c cprogram includes: [] ldflags: [] links: [] source: - testsuites/validation/tc-barrier-performance.c +- testsuites/validation/tc-cpu-performance.c - testsuites/validation/tc-event-performance.c - testsuites/validation/tc-message-performance.c - testsuites/validation/tc-part-performance.c diff --git a/spec/build/testsuites/validation/validation-intr.yml b/spec/build/testsuites/validation/validation-intr.yml index 1383aba2b3..bd3e888fce 100644 --- a/spec/build/testsuites/validation/validation-intr.yml +++ b/spec/build/testsuites/validation/validation-intr.yml @@ -9,8 +9,11 @@ enabled-by: true features: c cprogram includes: [] ldflags: +- -Wl,--wrap=bsp_interrupt_dispatch - -Wl,--wrap=bsp_interrupt_handler_default - -Wl,--wrap=bsp_interrupt_spurious +- -Wl,--wrap=_RISCV_Interrupt_dispatch +- -Wl,--wrap=_SPARC_Interrupt_dispatch links: [] source: - testsuites/validation/tc-bsp-interrupt-handler-dispatch-unchecked.c @@ -27,6 +30,7 @@ source: - testsuites/validation/tc-intr-vector-disable.c - testsuites/validation/tc-intr-vector-enable.c - testsuites/validation/tc-intr-vector-is-enabled.c +- testsuites/validation/tc-score-isr.c - testsuites/validation/ts-validation-intr.c stlib: [] target: testsuites/validation/ts-validation-intr.exe diff --git a/spec/build/testsuites/validation/validation-no-clock-0.yml b/spec/build/testsuites/validation/validation-no-clock-0.yml index d2341cd171..2a7a48a3b3 100644 --- a/spec/build/testsuites/validation/validation-no-clock-0.yml +++ b/spec/build/testsuites/validation/validation-no-clock-0.yml @@ -14,6 +14,8 @@ links: uid: objnodebug - role: build-dependency uid: objpreinitarray +- role: build-dependency + uid: objmrsp source: - testsuites/validation/tc-acfg.c - testsuites/validation/tc-attr.c @@ -140,17 +142,14 @@ source: - testsuites/validation/tr-tq-enqueue-ceiling.c - testsuites/validation/tr-tq-enqueue-deadlock.c - testsuites/validation/tr-tq-enqueue-fifo.c -- testsuites/validation/tr-tq-enqueue-mrsp.c - testsuites/validation/tr-tq-enqueue-priority.c - testsuites/validation/tr-tq-enqueue-priority-inherit.c - testsuites/validation/tr-tq-flush-fifo.c - testsuites/validation/tr-tq-flush-priority.c - testsuites/validation/tr-tq-flush-priority-inherit.c - testsuites/validation/tr-tq-surrender.c -- testsuites/validation/tr-tq-surrender-mrsp.c - testsuites/validation/tr-tq-surrender-priority-inherit.c - testsuites/validation/tr-tq-timeout.c -- testsuites/validation/tr-tq-timeout-mrsp.c - testsuites/validation/tr-tq-timeout-priority-inherit.c - testsuites/validation/ts-validation-no-clock-0.c stlib: [] |