Commit Graph
37993 Commits
Author SHA1 Message Date
Joel Sherrill 94aefc01e1 fstests/mrfs_support/fs_support.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.
2026-04-21 16:28:02 -05:00
Joel Sherrill eda848d521 testsuites/samples/fileio/init.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.
2026-04-21 16:28:02 -05:00
Joel Sherrill c3c97d8ab0 bsps/powerpc/tqm8xx/spi/spi.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.
2026-04-21 16:28:02 -05:00
Joel Sherrill 31a70f3853 bsps/powerpc/shared/vme/vme_universe.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.
2026-04-21 16:28:02 -05:00
Joel Sherrill 69f0e336ba bsps/powerpc/shared/vme/vmeUniverse.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.
2026-04-21 16:28:02 -05:00
Joel Sherrill 5782ffd72f bsps/powerpc/shared/vme/vmeTsi148.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.
2026-04-21 16:28:02 -05:00
Joel Sherrill 5b6451729c bsps/powerpc/shared/start/vpd.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.
2026-04-21 16:28:02 -05:00
Joel Sherrill 8a92174bd6 bsps/powerpc/shared/.../spansionFlash.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.
2026-04-21 16:28:02 -05:00
Joel Sherrill a3074aa6f7 bsps/powerpc/shared/flash/intelFlash.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.
2026-04-21 16:28:02 -05:00
Joel Sherrill 38031ade23 bsps/arm/beagle/spi/spi.c: Eliminate obsolete syntax
Structure Designated initializers must use ".field = value" instead
of obsolete "field : value" syntax.

The format of "field : value" is obsolete. The proper syntax is
".field = value"
2026-04-21 16:28:02 -05:00
Joel Sherrill fd9ed0a7da spec/build/cpukit/optstdcc.yml: Fix spelling error.
Address spelling error in description.
2026-04-21 16:06:40 -05:00
Sebastian Huber de8ef0424c dev/ns16550: Fix race condition in transmit path
In SMP systems, the interrupt handler may run concurrently with tasks
trying to transmit.  Properly protect the transmit state through the
device lock.  Simplify the transmit process.

Close #5552.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-04-17 01:16:09 +02:00
Joel Sherrill f22c306945 sp19, tm26: Address set but unused warnings
GCC 16 flagged this while GCC 15 did not. On some targets, the
macros used to ensure the floating point context was fully in
use with task specific values would result in set but unused
warnings. Tweaked the tests and macros as needed to eliminate
the warnings.
2026-04-13 20:34:29 +00:00
Joel Sherrill 64d49f6585 mcf5235/start/init5235.c: Address set but unused warnings
GCC 16 flagged this while GCC 15 did not. Because the code was
using the "temp" variable in what appeared to be delay loops,
added the "(void) temp" hint to avoid the warning.
2026-04-13 20:32:13 +00:00
Joel Sherrill aeb72aa8e1 av5282/start/init5282.c: Address set but unused warnings
GCC 16 flagged this while GCC 15 did not. Because the code was
using the "temp" variable in what appeared to be delay loops,
added the "(void) temp" hint to avoid the warning.
2026-04-13 20:32:13 +00:00
Michal Lenc 8ac4b4c412 can/ctucanfd: add can prefix to rtems_ctucanfd_initialize
This commit renames function rtems_ctucanfd_initialize to
rtems_can_ctucanfd_initialize. It standardizes the naming for CAN
controllers to always begin with rtems_can_ (similar to virtual
controller or sja1000 at the moment under review).

This is an API breaking change.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2026-04-12 07:33:41 -05:00
Joel Sherrill bd6ac89b69 contrib/.../stm32u5xx_hal_nand.c: Address set but unused warnings
GCC 16 flagged this while GCC 15 did not. Rather then ifdef out
all references, added the "(void) variable" hints to minimize
RTEMS specific changes.
2026-04-12 07:32:31 -05:00
Joel Sherrill 57e61f16b6 contrib/.../stm32h7xx_hal_nand.c: Address set but unused warnings
GCC 16 flagged this while GCC 15 did not. Rather then ifdef out
all references, added the "(void) variable" hints to minimize
RTEMS specific changes.
2026-04-12 07:32:31 -05:00
Joel Sherrill b346eedc1f acpica/namespace/nsaccess.c: Address set but unused warnings
GCC 16 flagged this while GCC 15 did not. Because the variable was
used only when ACPI_DEBUG_PRINT() was defined to print, there was
no way to conditionalize the presence of the variable.
Added the "(void) NumCarats" hint to avoid the warning.
2026-04-12 07:31:46 -05:00
Joel Sherrill 7c139b1b01 libdebugger/rtems-debugger-powerpc.c: Address set but unused warning
GCC 16 flagged this while GCC 15 did not. Because the code was in
an area which was only enabled for debug, the modification disabled
the entire debug code block and added the "(void) gpr" hint.
2026-04-10 12:21:27 -05:00
Sepehr Ganji 468bcbcd74 license: Add SPDX license to FatFS
Add the missing license indentifier
and text to the FatFS support files.
2026-04-10 08:57:15 -05:00
Sebastian Huber c66a0efb45 bsps/leon3: Fix LEON3 timer register store
Fix the this compiler error introduced by commit
d9de3dac5d:

bsps/sparc/leon3/start/amba.c: In function 'amba_initialize':
bsps/sparc/leon3/start/amba.c:221:32: error: passing argument 1 of
'grlib_store_32' makes pointer from integer without a cast
[-Wint-conversion]
  221 |       grlib_store_32(timer_regs->sreload, leon3_timer_prescaler);

Tested with the following config.ini:

[sparc/gr740]
LEON3_GPTIMER_BASE =

Update #5541.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-04-10 00:39:23 +02:00
Sebastian Huber d9de3dac5d bsps/leon3: Fix LEON3 timer initialization
Commit 810b2d50c9 introduced a potential
NULL pointer access in the LEON3 timer initialization.  Fix the
initialization order.

Update #5541.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-04-08 11:24:17 +02:00
Kinsey Moore b5ebe6bf32 riscv: Add basic ESP32-C3 BSP
This adds a BSP for the ESP32-C3 with external flash. This BSP can use
the USB serial interface or UART0 as the debug console and supports
interrups along with the SYSTIMER clock source.
2026-04-07 14:52:50 -05:00
Kinsey Moore 3ff994ce83 cpukit/riscv: Make use of MDT conditional on Zicsr
The MDT bit is defined by the Smdbltrp extension which is dependent on
the Zicsr extension, so if zicsr is not present then neither is
Smdbltrp. Smdbltrp also introduces mstatush on rv32, so this entire
block must be skipped if Zicsr is not present.
2026-04-07 14:52:50 -05:00
Kinsey Moore ae1dd8dec2 riscv: Add support for vectored interrupt controllers 2026-04-07 14:52:50 -05:00
Kinsey Moore 9520d1501b spec/riscv: Allow BSS to be specified independent of DATA 2026-04-07 14:52:50 -05:00
Kinsey Moore 1d98a00710 spec/bsps/riscv: Allow start section load address
This adds a new memory section load address for the start region.
2026-04-07 14:52:50 -05:00
Kinsey Moore 9a4f2904c0 riscv: Add optional section copy callback
This adds a callback early in the RISC-V startup process that allows a
BSP to copy linker sections in situations where they may not be
automatically mapped.
2026-04-07 14:52:50 -05:00
Kinsey Moore db85fedbaf riscv: Add support for Espressif Direct Boot
This adds the ability to generate a binary image with an Espressif
Direct Boot header.
2026-04-07 14:52:50 -05:00
Rongjie Lee 215b3c9f71 aarch64: Add imx93 BSP
This adds a BSP for the i.MX93 chip.
2026-04-06 10:12:07 -05:00
Sebastian Huber e20a42b84d build: Add CC-BY-SA-4.0 to two items
The content may end up in documentation sources, for this CC-BY-SA-4.0
is required.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-04-03 20:33:13 +00:00
Gedare Bloom 77c41a08d1 riscv: use configured RAM region if defined
Use the configuration values for RISCV_RAM_REGION_BEGIN and
RISCV_RAM_REGION_SIZE to determine the workspace instead of
using the FDT or linker variables.

Fixes #5545.
2026-04-02 18:23:33 -05:00
Sebastian Huber 810b2d50c9 bsps/leon3: Fix AMBA frequency initialization
Where LEON3_GPTIMER_BASE was defined, the finding and initialization of
the timer devices was disabled.  However, this code block has an
important side-effect.  It initializes all frequencies of the device
tree.  Make sure this part is done even if a dynamic initialization of
LEON3_Timer_Adev and LEON3_Timer_Regs is not required.

Close #5541.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-04-02 18:11:19 -05:00
Gedare Bloom 1fc01a4393 bsps/riscv/start: relocate Lstart_on_secondary_processor
Fixes #5542
2026-04-02 18:06:57 -05:00
Pavel Pisa 9685c72e29 bsps/arm/tms570: prevent self clear when running from SRAM with HWINIT
The original internal SRAM build variant (tms570ls3137_hdk_intram)
has been used heavily during our initial TMS570 BSP development.
It is much faster then Flash application erase and update
and it prolongs kit usability as the guaranteed erase/write
cycles count is low (1000) for TMS570 used Flash technology.

The problem manifested when I have prepared tms570lc4357_hdk_intram
variant to help in #5537 with start of TMS570 development project
and environment.

HWINIT for internal SRAM build is enabled by

--- a/spec/build/bsps/arm/tms570/objhwinitlc4357hdk.yml
+++ b/spec/build/bsps/arm/tms570/objhwinitlc4357hdk.yml
@@ -5,7 +5,9 @@ copyrights:
 - Copyright (C) 2023 embedded brains GmbH & Co. KG
 cppflags: []
 cxxflags: []
-enabled-by: arm/tms570lc4357_hdk
+enabled-by:
+  - arm/tms570lc4357_hdk
+  - arm/tms570lc4357_hdk_intram
 includes: []
 install: []
 links: []
--- a/spec/build/bsps/arm/tms570/optlowinit.yml
+++ b/spec/build/bsps/arm/tms570/optlowinit.yml
@@ -10,6 +10,7 @@ default:
 - enabled-by:
   - arm/tms570ls3137_hdk
   - arm/tms570lc4357_hdk
+  - arm/tms570lc4357_hdk_intram
   value: true
 - enabled-by: true
   value: false

Closes #5539

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2026-04-01 14:02:51 -05:00
Pavel Pisa 2e9e44a073 bsps/arm/tms570: add support for tms570lc4357_hdk_intram build
This build places all code and data into the on-chip
internal SRAM. Even though this limits the application
size and has not much use for final applications
deployment, this configuration is important during
development because the guaranteed Flash write/erase
cycle count is limited to 1000 if a 15-year data retention
guarantee is required.

The load to SRAM is much faster as well.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2026-04-01 14:02:51 -05:00
Sebastian Huber 56ae0855be libtests/record02: Increase stack size
The fetch() function requires a considerable amount of stack space.
Increase the stack size accordingly.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-04-01 14:02:07 -05:00
Karthikey Kadati 1ef634d984 testsuites/validation: Fix event send-receive sign mismatch
Resolves a -Wsign-compare compiler warning by typing the event
state tracking variable as States_Control.
2026-04-01 14:00:52 -05:00
Gedare Bloom 29db5340ca riscv/start: clear bss before copying fdt
fixes #5543
2026-04-01 12:28:10 -06:00
Sebastian Huber d664a1c844 build: Add missing copyright statements
Each build item shall have copyright statements.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-04-01 13:50:08 +02:00
Sebastian Huber de108eddde build: Fix typos
Fix typos in copyright statements.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-04-01 13:50:08 +02:00
Sebastian Huber 6998a0bba6 build: Remove unused attributes
The removed attributes are not used by the build system.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-04-01 13:50:08 +02:00
Gedare Bloom b09bc60067 spec/build/microblaze: remove duplicate key in optmaxuarts.yml
The actions key was replicated.
2026-03-31 16:53:25 +00:00
Joel Sherrill d75b74c66d spec/build/cpukit/optgcc.yml: Correct GCC build key
The RSB had the build date/key of 2026.03.04 but RTEMS had it as
a day later. Correcting it here avoids everyone rebuilding all the
tools.
2026-03-30 11:46:28 -05:00
Mohamed Ayman 8b8fc19119 stm32f4: fix spelling, grammar, and register names in include folder
Fixed various typos and grammatical errors in the documentation
throughout the stm32f4 include folder. Additionally, updated
several incorrect register names to ensure technical accuracy.
2026-03-30 09:18:46 -05:00
Joel Sherrill 993c1a1d9b arm/lpc32xx/rtc/rtc-config.c: Fix compilation error
There was an argument and parameter with the same name.
2026-03-29 12:48:02 -05:00
Sebastian Huber 63fa5b5c55 build: Get rid of multiple links to the one option
Close #5532.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2026-03-26 08:57:02 +01:00
Sebastian Huber 9bdb83ab72 bsps/aarch64: Localize PSCI support
Install <bsp/bspsmp-arm-psci.h> only for BSPs using it.

Use common build item for shared SMP support.
2026-03-25 20:34:42 -05:00
Sebastian Huber f76b04e133 build: Move FatFS build support
Use a separate build objects item for the FatFS to localize the use of command
line defines.
2026-03-24 02:54:23 +01:00