37279 Commits

Author SHA1 Message Date
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
Amar Takhar
9ff0fd6f5b cpukit: Delete zlib and add to build
Includes had to be added to jffs2 and cpukit.
2025-07-31 17:51:28 -05:00
Amar Takhar
76ce2debba contrib: Apply changes to zlib
This is from:

0ab6c7bc58
2025-07-31 17:51:28 -05:00
Amar Takhar
2ce70b29c7 contrib: Import zlib 1.3.1
URL
https://github.com/madler/zlib

Hash
51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf
contrib/cpukit/zlib/1.3.1
2025-07-31 17:51:28 -05:00
Amar Takhar
e244a7b031 readme: Add FastLZ 2025-07-31 17:51:28 -05:00
Amar Takhar
fb1ef66175 cpukit: Remove FastLZ and add to build.
This moves the files to contrib/cpukit/fastlz
2025-07-31 17:51:28 -05:00
Amar Takhar
b761142fd9 contrib: Apply FastLZ changes
This appears to be the warning fix from:

09d811b8a5
2025-07-31 17:51:28 -05:00
Amar Takhar
f00a819274 contrib: Import FastLZ 0.1.0
URL
https://github.com/ariya/FastLZ/

Hash
f1217348a868bdb9ee0730244475aee05ab329c5
2025-07-31 17:51:28 -05:00
Amar Takhar
d509bbd57e contrib: Add a README file with instructions.
The instructions are pretty straight forward.
2025-08-01 08:43:29 +10:00
Amar Takhar
d75cfcb52f bsps: Delete stm32u5xx HAL
Also add new build locations and include directories.

This renames 4 files to their original names that had no changes:

stm32u5xx_hal_msp.c ->
  stm32u5xx_hal_msp_template.c

stm32u5xx_hal_timebase_rtc_wakeup.c ->
  stm32u5xx_hal_timebase_rtc_wakeup_template.c

stm32u5xx_hal_timebase_tim.c ->
  stm32u5xx_hal_timebase_tim_template.c

stm32u5xx_hal_timebase_rtc_alarm.c ->
  stm32u5xx_hal_timebase_rtc_alarm_template.c

There is one file left behind that will be sorted out in the future:

stm32u5/hal/system_stm32u5xx.c

It comes from

07b6fedf4b/Projects/NUCLEO-U575ZI-Q/Applications/ThreadX/Tx_LowPower/Src/system_stm32u5xx.c

As per Christian on Discord.
2025-08-01 08:43:29 +10:00
Amar Takhar
3d5454fdb2 contrib: Add changes to stm32u5 HAL
This includes the changes from:

03aedc0539
317cfa50d0
2025-08-01 08:43:29 +10:00
Amar Takhar
8272f231c0 contrib: Import stm32u5xx-hal-driver 1.5.0
URL
https://github.com/STMicroelectronics/stm32u5xx-hal-driver

Hash
55765b13c9425e79c5bbc1dda00973858e1fb437
2025-08-01 08:43:29 +10:00
Amar Takhar
1110ef4303 bsps: Remove stm32h7xx_hal
These have now moved to:

contrib/bsps/arm/stm32h7/cmsis-device-h7
contrib/bsps/arm/stm32h7/stm32h7xx_hal_driver

Also add include directories to the build.
2025-08-01 08:43:29 +10:00
Amar Takhar
7f87cbfe8e contrib: Re-apply changes
This includes changes from commits:

b714e4a809
ae5655b88b
b3be636863
6dee307542
2025-08-01 08:43:29 +10:00
Amar Takhar
4b43113eec contrib: Re-apply changes from initial import
These changes are from:

cb78150d86

A comment was removed from the top of the file noting its modification no need
for this as the changes are in a separate commit now.
2025-08-01 08:43:29 +10:00
Amar Takhar
001b368a50 contrib: Re-apply changes from initial import
These changes are from:

cb78150d86

The Doxygen comments have been removed to allow for easier importing in the
future.
2025-08-01 08:43:29 +10:00
Amar Takhar
3556b422f8 contrib: Import cmsis-device-h7 1.10.4
URL
https://github.com/STMicroelectronics/cmsis_device_h7.git

Hash
faccfec37f82f7a1319c21638111b0f7335de7fe
2025-08-01 08:43:29 +10:00
Amar Takhar
1731074a75 contrib: Import stm32h7xx_hal_driver 1.11.3
URL
https://github.com/STMicroelectronics/stm32h7xx_hal_driver.git

Hash
fec141ce999da655a48e1a15db83a72d564a1312
2025-08-01 08:43:29 +10:00
Kinsey Moore
d19852f3f7 cpukit/libdebugger/server: Use generic TLS accessor
This updates the libdebugger server to use a generic TLS area access
mechanism so that it works across all supported architectures.
2025-07-30 13:41:29 +10:00
Jeremy Lorelli
d8c5b7fa85 bsps/uC5282: Convert tabs to spaces
Most of these files were mixed spaces/tabs, this normalizes it
2025-07-28 17:01:56 -05:00
Jeremy Lorelli
272d355c42 malloctest: Add tests for malloc_usable_size
A few tests for malloc_usable_size.
2025-07-26 21:44:11 -04:00
Jeremy Lorelli
20baae458d cpukit/libcsupport: Implement malloc_usable_size
Implement malloc_usable_size to get the underlying heap block size of a
memory address on the heap.

Closes #4503
2025-07-26 21:44:11 -04:00
Joel Sherrill
b7f35f9db9 bsps/m68k/mcf5235/console/console.c: Fix misleading indentation
GCC warned that the indentation was misleading. Corrected the
format and added braces on the while.
2025-07-27 01:26:48 +00:00
Joel Sherrill
1a2f6e248b psxcancel01/init.c: Correct pthread and cleanup prototypes
c20dc9c7aa added test code which included a cancellation cleanup
handler and a pthread body which were of the wrong prototype. With
GCC 15, this is now an error.
2025-07-25 10:06:56 -05:00
tangkun
c20dc9c7aa cpukit/posix/src/clocknanosleep.c: fix cancellation points
According to the POSIX standard, sleep/nanosleep/clock_nanosleep
should be treated as cancellation points.

Updates #4675
2025-07-25 09:19:41 -05:00
Joel Sherrill
a350345e29 arm/.../stm32h757i-eval/system_stm32h7xx.c: Fix misleading indentation
GCC warned that the incorrectly indented line could be misinterpreted
as needing to belong to the previous for loop which does not have
braces.
2025-07-24 21:20:17 -05:00
Joel Sherrill
9f5913e132 cpukit/libdl/rtl-mdreloc-powerpc.c: Fix multiple warnings
Incorrect format specifier: printf() adjusted to be clean on both 32
and 64 bit PowerPCs.

Defined but not used: Adjusted _ARCH_PPC64 ifdef's to properly
eliminate code not used on 64 bit PowerPCs.
2025-07-24 22:02:30 -04:00
Joel Sherrill
86253b9e05 bsps/powerpc/gen5200/mscan/mscan.c: Fix format specifier warning
Calling rtems_panic() and should have used %ul.
2025-07-24 22:01:38 -04:00
Joel Sherrill
54f8249915 bsps/mvme5500: Remove the BSP
MVME5500 was deprecated in 6 and will not be present in 7.
The Beatnik is recommended.

Updates rtems/rtos/rtems#4160
2025-07-24 22:00:04 -04:00
Joel Sherrill
41f6f28c6d bsps/powerpc/ss555/start/bspstart.c: Fix array bounds warning
GCC warned that the pointer magic was resulting in an array bounds
violation. The solution is to use uintptr_t when doing abusive
pointer math.
2025-07-24 21:59:20 -04:00
Mazen Adel Elmessady
d1f34a45cc testsuites/libtests: Added quick_exit tests
Added the tests for quick_exit() and
at_quick_exit() in textsuits/libtests/exit04
2025-07-24 20:50:43 -05:00