Commit Graph
37259 Commits
Author SHA1 Message Date
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
Amar Takhar a0ab18ed0d rtems-bsps: Run through yapf
I disabled yapf for the long list that was easier to read in its current form
the rest are trivial changes.

We want this as eventually we'll be doing yapf for CI.
2025-07-31 18:24:04 -05:00
Kinsey Moore f18fc04657 bsps/shared/gpio: Fix array bounds warning
GCC currently has issues with false positive warnings about array bounds
violations when the value used as the index is a pointer. This slightly
reworks the code to make it cleaner and to avoid this warning.
2025-07-31 18:13:12 -05:00
Joel Sherrill 75312c1b9b bsps/include/grlib/ambapp.h: Fix warning for zero length array use
The use of an array of zero length at the end of a structure needs to
be careful to use RTEMS_ZERO_LENGTH_ARRAY since the accepted syntax
varies across C language versions.
2025-08-01 09:12:23 +10:00
Amar Takhar 5fa8c7b52d readme: Add source locations for RTEMS Shell
If you have any ideas about the missing ones let us know.

This also reformats other areas using mdformat since it was used for the tables.
2025-08-01 09:10:55 +10:00
Amar Takhar eedfe4e47b contrib: Add utf8proc to README
This is the current source there is no repository so a release file was used the
next update will be from the repository which starts at 1.1.6
2025-07-31 18:07:34 -05:00
Amar Takhar 3fcf78156d cpukit: Remove utf8proc and add to build
This also moves the header from <utf8proc/utf8proc.h> to <utf8proc.h>  This
follows what the upstream project uses and keeps us from having to modify
upstream source to put it in a subdirectory.
2025-07-31 18:07:34 -05:00
Amar Takhar 52bee922c3 contrib: Remove modification to header location
Remove changing utf8proc.h to its own subdirectory.  Other operating systems
have it in include there is no sense in us carrying this change.

Unlike the situation with uuid which projects do have in a subdirectory this is
not.
2025-07-31 18:07:34 -05:00
Amar Takhar b2499de3de contrib: Apply RTEMS changes to utf8proc
No modifications to this it is what we have been carrying.
2025-07-31 18:07:34 -05:00
Amar Takhar d37b554bc5 contrib: Import utf8proc 1.1.5
URL
https://juliastrings.github.io/utf8proc/releases/

Hash
There is no repo until 1.1.6 the file archive used was utf8proc-v1.1.5.tar.gz
released on 2009-10-16 the sha512 is:

cd75a0aabdf7b331ce6cc210fe343e15804e5a097607e387ec0ab9c994ceecc\
f80aecbe25b06efb756d2989fd623b7a4d6de2c4d3416add20ac8692cf37912c6
2025-07-31 18:07:34 -05:00
Amar Takhar 4374d0ef8b contrib: Add uuid to README
We'll change to the newer upstream eventually.
2025-07-31 18:01:42 -05:00
Amar Takhar e9870fa74f cpukit: Remove uuid and add to build
Did the best I could handling the location of uuid.h
2025-07-31 18:01:42 -05:00
Amar Takhar 88b7cd7660 contrib: Move uuid.h to uuid/uuid.h
I will eventually fix this to keep it in the upstream location.
2025-07-31 18:01:42 -05:00
Amar Takhar e913a0cca0 contrib: Re-apply uuid changes
This all appear to be RTEMS-local changes I looked at some other revisions and
didn't see some of the ones that may have not been local.
2025-07-31 18:01:42 -05:00
Amar Takhar 5db1c64dd4 contrib: Import uuid from e2fsprogs 1.45.5
URL
https://github.com/tytso/e2fsprogs/tree/master/lib/uuid

Hash
1207e36d0a8674d6c627bb9b2759faf1e290e13e
contrib/cpukit/uuid/1.45.5
2025-07-31 18:01:42 -05:00
Amar Takhar 6030917dc6 readme: Add note about source with no version
If we don't have a version with the source use <commit date>-<hash>
2025-07-31 17:51:28 -05:00
Amar Takhar 3d8ad5c50c cpukit: Delete xz and add to build
No special instructions.
2025-07-31 17:51:28 -05:00
Amar Takhar 2ee51f3176 contrib: Re-apply changes
This is from:

71943dd4d2

xz: Suppress attribute warnings
2025-07-31 17:51:28 -05:00
Amar Takhar 1bd3c6fbdf readme: Add xz-embedded
Add xz-embedded
2025-07-31 17:51:28 -05:00
Amar Takhar 8115af2deb contrib: Import xz-embedded 2015-11-03-e75f4eb
There is no version for this so we'll take the commit date the source was taken
from + hash

URL
https://github.com/tukaani-project/xz-embedded

Hash
e75f4eb79165213a02d567940d344f5c2ff1be03
contrib/cpukit/xz-embedded/2015-11-03-e75f4eb
2025-07-31 17:51:28 -05:00
Amar Takhar 05988a9261 readme: Add zlib
No special instructions required.
2025-07-31 17:51:28 -05:00