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
Joel Sherrill
4773863245
bsps/x86_64/amd64/clock/clock.c: Correct printf() format specifiers
...
The DBG_PRINTF() is disabled by default which meant the warning
was normally hidden.
2025-07-24 20:37:11 -05:00
Joel Sherrill
cef5542bc0
x86_64/include/rtems/score/x86_64.h: Use standard variadic macro
...
The DBG_PRINTF() macro was using the GNU extension variadic macro
style. Switched to standard C style variadic macro, printk() so
safer for debug than printf(), and included needed files.
2025-07-24 20:37:11 -05:00
Joel Sherrill
ccc5651c99
altera-cyclone-v/contrib/.../hwmgr/*.c: Fix warnings
...
Some of these were missing prototypes. Usually this could be addressed
by adding static or conditionally compiling unused functions out.
2025-07-24 20:36:11 -05:00
Joel Sherrill
2f04281682
bsps/mips/malta/pci/pci.c: Correct printf() format specifiers
...
Switched to PRIu32.
2025-07-24 20:26:15 -05:00
Joel Sherrill
a1c30b7f71
mghttpd: Remove Mongoose httpd
...
Users should migrate to Civitweb.
Closes #5304 .
2025-07-24 20:09:59 -05:00
Joel Sherrill
b934583853
bsps/mips/include/libcpu/au1x00.h: Correct au_sync() prototype
...
GCC warns that ‘static’ is not at beginning of the function
declaration.
2025-07-24 19:48:22 -05:00
Joel Sherrill
b8408fe39b
score/cpu/mips/include/rtems/score/cpu.h: Add single field to structure
...
GCC warned that the Context_Control_fp structure had no fields.
Added an unused field when there is no FP support.
2025-07-24 19:29:48 -05:00
Joel Sherrill
95a90047df
bsps/arm/lpc176x/include/bsp/lpc176x.h: Correct ADC_DR_VALUE() macro
...
ADC_DR_VALUE() should used starting bit 4 not 6. See the issue
for a link to the LPC17xx manual for reference.
Closes #5293 .
2025-07-24 19:29:11 -05:00
Christian Mauderer
c16bb34650
bsps/imxrt: Fix warning
...
The implementation of the BUILD_ASSURE in mcux-sdk causes a warning. Use
a C11 _Static_assert instead.
Updates #5300
2025-07-24 19:26:24 -05:00
Joel Sherrill
66f60eb050
psx08: Correct signature of a_thread_func()
...
This signature was not correct for a pthread.
2025-07-24 19:21:51 -05:00
Kinsey Moore
ddf50dc868
cpukit/libdebugger: Add support for TLS variables
...
This adds support for the "vGetTLSAddr" GDB query which retrieves the
address of a TLS variable by offset from the beginning of the TLS memory
space for the given thread. This offset does not include the size of the
thread control block which is at the beginning of every TLS area as used
by RTEMS. Notably, the returned address is big-endian rather than the
little-endian typical with other responses.
This functionality does not include retrieval of addresses for TLS
variables hosted in loadable modules, only TLS variables in the host
binary.
2025-07-24 19:20:05 -05:00
yang.zhang
08c005764d
posix: pthread_sigmask should return error number when fail
...
According to the Posix specification:
Upon successful completion pthread_sigmask() shall return 0;
otherwise, it shall return the corresponding error number.
2025-07-24 19:06:30 -05:00
Joel Sherrill
58795be2cb
bsps/m68k/genmcf548x/console/console.c: Fix misleading indentation
...
Added braces and corrected indentation to reflect intent.
2025-07-24 18:36:27 -05:00
Joel Sherrill
e856c4b985
bsps/m68k/genmcf548x/start/bspstart.c: Fix negative array subsscript
...
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 18:31:11 -05:00
Joel Sherrill
f95385da23
m68k/genmcf548x/start/init548x.c: Fix warning for comparing two arrays
...
GCC warnings when comparing the starting addresses of two arrays when
using just the name of the array. Changes to use the address of
element 0 which resolved the warning.
2025-07-24 18:29:51 -05:00
Joel Sherrill
262cbd69f3
bsps/m68k/mcf5329/start/init5329.c: Address comparison of arrays
...
GCC warned about comparing arrays by name. Changed to casting all
array names to (uintptr_t).
2025-07-24 18:28:56 -05:00
Joel Sherrill
1a394709eb
bsps/or1k/generic_or1k/btimer/btimer.c: Address misleading indentation
...
GCC warned that the indentation was misleading.
2025-07-24 18:28:16 -05:00
Joel Sherrill
0a5890c623
bsps/riscv/niosv/flash/altera_epcq_driver.c: Variable unused after read
...
The driver was reading from memory and GCC warning that the value
read was ignored. Added annotation to indicate this was intentional.
2025-07-24 18:23:01 -05:00
Joel Sherrill
5e2ac1584e
cpukit/libblock/src/bdbuf.c: Uninitialized variable warning
...
On some BSP builds, the variable q was reported as used before
it was initialized. This is a false positive. The variable is now
initialized to NULL to prevent this.
2025-07-24 18:21:59 -05:00