37279 Commits

Author SHA1 Message Date
Shaunak Datar
fb08c8cb8d bsp/aarch64/raspberrypi: Add support for DMA
Adds the support for DMA on the Raspberry Pi 4b
2025-08-20 12:40:01 +05:30
Sebastian Huber
8baae3ee09 bsps/arm: Fix discarded qualifiers warning
Move volatile qualifier to the register block structure.

Close #5320.
2025-08-18 03:03:16 +02:00
Sebastian Huber
8fd021bbb3 m68k: Do not assign to a linker symbol
The _VBR is a symbol defined by linker scripts.  You cannot change this
value at runtime.  The BSP initialization has to ensure that
m68k_set_vbr() is only set to _VBR.

Close #5210.
2025-08-14 07:02:01 +02:00
Shaunak Datar
c8e5f206b4 bsp/aarch64/raspberrypi: Add C++ header guards
Adds header guards to the installed headers in raspberrypi/include/bsp
2025-08-13 12:04:14 -05:00
Sunil Hegde
fee83ad4fb bsps/no_cpu/no_bsp/clock/ckinit.c: Fixed formatting
Fixed formatting as suggested by the format diff, no
functional changes were made.
2025-08-13 15:28:45 +00:00
Sunil Hegde
6f51e669ad bsps/no_cpu: removed set_vector uses and prototype in the bsp template
removed set_vector uses and protoptypes from the bsp template.
Replaced it with rtems_interrupt_entry_install()

Updates #5215
2025-08-13 15:28:45 +00:00
Sebastian Huber
00bef3226d bsps/irq: Fix array bounds warning
Use a one element array to prevent array subscript index is outside
array bounds warnings.

Close #5298.
2025-08-13 01:53:05 +02:00
Lucian Silistru
45b1495a8a record: Avoid dependency on object link order
For the application configuration option
CONFIGURE_RECORD_INTERRUPTS_ENABLED, define
bsp_interrupt_get_dispatch_table_slot() in the application configuration
to avoid issues with the object link order within the RTEMS libraries.

Enable this option in an associated test.

Close #5244.
2025-08-12 13:18:30 -05:00
Joel Sherrill
b68e31a200 psxsignal0[78]: Re-add copyright and end of comment block
These four files had a copyright block with no license text.
The script to move the SPDX line to the top of the file ended
up deleting a line which was the end of the comment block.
2025-08-12 12:34:59 -05:00
Sebastian Huber
16faa870a5 bsps/powerpc: Fix assembler warnings
Avoid arithmetic involving v0..v31 register names.
2025-08-12 16:51:45 +02:00
Sebastian Huber
e74e5e1644 bsps/powerpc: Fix assembler warnings
Use numeric value of cr0 to fix the following warnings:

ppc_exc_asm_macros.h: Assembler messages:
ppc_exc_asm_macros.h:242: Warning: invalid register expression
ppc_exc_asm_macros.h:730:  Info: macro invoked from here
ppc_exc.S:134:   Info: macro invoked from here
ppc_exc_asm_macros.h:242: Warning: invalid register expression
ppc_exc_asm_macros.h:730:  Info: macro invoked from here
ppc_exc.S:137:   Info: macro invoked from here
2025-08-12 16:51:34 +02:00
yang.zhang
a9e131706c bsp/zynqmp_qemu: dl06 fails expectedly 2025-08-11 19:07:34 +00:00
Joel Sherrill
24314434a8 testsuites/*: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
91e475687e psxhdrs: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
fdba64f306 bsps/aarch64: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
be6e30dff3 bsps/arm: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
b162f65fb1 bsps/include: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
a265d69094 bsps/riscv: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
4549be01e3 bsps/shared: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
3a51fd9e6f bsps/sparc: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
548cb8e07c bsps/x86_64: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
3470ea15f1 cpukit/include: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
c87131e192 cpukit/libcsupport: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
f33e7c9a0c cpukit/libdl: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
1d23476eb1 cpukit/libfs: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
ea86780bdf cpukit/libmisc: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
be89bf6be0 cpukit/libtrace: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
9d81cacf25 cpukit/sapi: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
7df3c45159 cpukit/posix: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
26aa9106af cpukit/rtems: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Joel Sherrill
e2d61770d9 cpukit/score: Move SPDX line to top of file
The RTEMS Software Engineering Guide specifies that the SPDX license
annotation shouldbe the first line of the file and not part of the
copyright/license comment block.
2025-08-11 19:06:32 +00:00
Sebastian Huber
eeaef74d07 bsps/arm/*: Relicense to 2-BSD
All files were written by Sebastian Huber who has previously given
permission to relicense.

Update #3053.
Close #5318.
2025-08-11 03:53:04 +02:00
Kinsey Moore
046ea144a9 cpukit/aarch64: Use correct stack for nested interrupts
When AArch64 exception support was first written, nested exceptions were
configured using the wrong stack. This happened to work since any
changes were unwound from the stack before dispatch occurred. This
implements correct behavior for all SP0 interrupt vectors.

Closes #5140
2025-08-06 10:41:10 -05:00
Kinsey Moore
f664b84280 cpukit/aarch64: Use correct exception targets
The sp0 IRQ and lel32 SError exception targets were left in a bad state
following the exception rework to avoid use of mutable code pages. The
lel32 SError exception is entirely unused by RTEMS. This points the two
erroneous exception vectors at the correct targets.
2025-08-06 10:41:10 -05:00
Joel Sherrill
4c9e41b060 cpukit/sapi/src/exinit.c: Address warning on all ARM builds
The block of embedded assembly language which creates a section
to add auto-loading of the Python pretty printing scripts was
getting this warning on all ARM BSPs.

/tmp/ccMGaqij.s: Assembler messages:
/tmp/ccMGaqij.s:19: missing merge / string entity size, 1 assumed

This was because the @ symbol is a comment on ARM. Changing to
a % as suggested on the binutils mailing list resolved the problem.
2025-08-06 15:33:15 +00:00
Kinsey Moore
e8c5bba5bf arm/imxrt: Resolve missing prototype
This resolves a missing prototype by making a file used in the arm/imx
BSP family shared so that it can be used by the arm/imxrt BSP family to
provide the missing prototypes.
2025-08-06 14:58:49 +00:00
Joel Sherrill
b9b572335e bsps/powerpc/include/mpc8xx.h: Disable zero length array
A padding array ends up with a size of 0 which is illegal in newer
versions of C -- at least C17 and later.
2025-08-05 13:53:38 -05:00
Joel Sherrill
47e4832f9a atsam/contrib/.../source/board_lowlevel.c: Fix comparison of two arrays
Casted both as uintptr_t to resolve this.
2025-08-05 09:01:33 -05:00
Kinsey Moore
2cc6af6188 bsps/aarch64: Fix warning on ILP32
ILP32 can't represent 4GB in uintptr_t. Avoid the warning that this
assignment generates and update MMU config processing to avoid overflow
when ILP32 is in use.
2025-08-05 13:43:53 +00:00
Joel Sherrill
b40fba2686 spec/build/*.yml: Add contrib/.../uuid and contrib/.../utf8proc
This addition is needed to account for utf8proc and uuid moving
from cpukit/include to contrib. Both include directories need
to stay globally available.
2025-08-05 13:42:49 +00:00
Joel Sherrill
6b89dc82e9 stm32h7/.../stm32h743i-eval/ext-mem-ctl.c: Add prototype
Fixed missing prototype for SystemInit_ExtMemCtl().  This file is
STM code and SystemInit_ExtMemCtl() is protyped for BSP use in
bsp.h. We do not want to include that in this file to avoid
potential conflicts.
2025-08-05 13:33:57 +00:00
Joel Sherrill
414181bf2c powerpc/beatnik/include/bsp.h: Disable inport_ and outport_
The inport_[byte|word|long] and outport_[byte|word|long] methods
assume that the port is an address. The Beatnick definitions just
pass through the offset into IO Space. These are broken until they
do that. They do not appear to be used in anything this BSP actually
uses so disabling them works. Code is disabled with a lengthy comment
added if someone needs them to work in the future.
2025-08-05 13:31:47 +00:00
Joel Sherrill
0e81a0653a arm/stm32h7/.../stm32h750b-dk/system_stm32h7xx.c: Fix indentation
Address GCC warning for misleading indentation.
2025-08-05 13:30:53 +00:00
Joel Sherrill
2f0abe10e3 arm/stm32f4/.../stm32f4xxxx_rcc.h: RCC_CFGR_PPRE2 multiply defined
RCC_CFGR_PPRE2 was defined three times. Deleted the second and
third definitions. The second appeared to be wrong and the third
looked to be an alternate way to express the first.
2025-08-05 13:26:57 +00:00
Joel Sherrill
347fe98fe4 arm/stm32f4/.../stm32f4.h: Duplicate definition of STM32F4_FLASH
STM32F4_FLASH was defined in two places. The first used a hard
coded full address while the second used a more appropriate
base address and offset. Kept the second.
2025-08-05 13:26:20 +00:00
Joel Sherrill
5fe179df8f arm/stm32h7/.../stm32h757i-eval/system_stm32h7xx.c: Fix indentation
Address GCC warning for misleading indentation.
2025-08-05 13:21:23 +00:00
Joel Sherrill
56c5c935b3 spec/build/bsps/arm/lm3s69xx/tstlm4f120.yml: Add psxaio0[4-6]
These tests were too large for this BSP.
2025-08-05 13:20:19 +00:00
Joel Sherrill
0183fa1766 bsps/arm/atsam/contrib/.../source/pmc.c: Fix misleading indentation
Added braces to help gcc interpret the code.
2025-08-05 13:19:36 +00:00
Joel Sherrill
2c24c8cb0c imxrt/mcux-sdk/.../fsl_mipi_dsi.c: Fix used before initialized warning
These were outputs from a called function. Initialized to 0 to
make GCC happy.
2025-08-05 13:18:45 +00:00
Amar Takhar
d709f8aac3 rtems-bsps: Add JSON output
Add a -j / --json flag to output BSP list in JSON.
2025-07-31 18:24:04 -05:00