Commit Graph
942 Commits
Author SHA1 Message Date
Santosh Bala a1c2d988c6 stm32f4: Added family define for f446ze
Fixes issue #5509
2026-03-06 11:00:54 -06:00
Karthikey Kadati 69ecb4abf5 build: Reformat sptests/grp.yml to use 2-space YAML array indentation
Apply mandatory 2-space indentation for YAML arrays in
spec/build/testsuites/sptests/grp.yml to satisfy the RTEMS CI
formatting checks.

No functional change.

Signed-off-by: Karthikey Kadati <karthikey3608@gmail.com>
2026-03-06 22:00:46 +05:30
Gedare Bloom 8166a413c9 spec/build: remove BSP_MINIMUM_TASK_STACK_SIZE
Fixes #5493.
2026-03-03 17:19:53 +00:00
Aaron Nyholm d62d6b659c bsps/zynqmp: Add option to map PCIe address space
Added ability to map PCIe address space on ZynqMP.
2026-03-03 00:32:00 +00:00
82a4e3dfc2 cpukit: Support dates later than 2100
These changes eliminate the year 2100 as a limit for TOD. The new
limit is the year 4096. This limit is not due to any RTEMS limitation
but just before the year 4183 when the rounding error in the length
of the year adds up to an entire day. See
https://de.wikipedia.org/wiki/Schaltjahr for details.

There are still limits on Classic APIs which use the 32-bit rtems_interval
type. This corresponds to the Score Watchdog_Interval type. This impacts
delays, timeouts, and Classic API "after" timers.

Closes #5143

Co-authored-by: Joel Sherrill <joel@rtems.org>
Co-authored-by: Gedare Bloom <gedare@rtems.org>
2026-03-02 10:04:32 -06:00
Joel Sherrill 42df15b27d aarch64/xilinx-zynqmp/optramlen.yml: Correct sentence
Correcting spelling of size by moving an "a" where it should be.
2026-02-27 15:08:09 -06:00
Preetam Das e4a02bc216 bsps/raspberrypi5: ADD SMP support for Pi5 BSP
This updates the PI5 BSP to have SMP Support using PSCI.
2026-02-24 22:14:38 +05:30
Preetam Das 09343c8ff9 bsps/shared: Extract PSCI target_cpu calculation
This adds a BSP-level function that returns the calculated PSCI
target_cpu parameter for a given cpu_index. BSPs can override this
function to use the correct affinity level for the calculation.

Also updates _CPU_SMP_Start_processor() to make use of this
function and remove code duplication.
2026-02-24 22:14:32 +05:30
Gedare Bloom 88f556d987 spec/build: fix sort in librtemscpu.yml
Updates #5437
2026-02-13 21:12:52 +00:00
Preetam Das e5eaa82420 bsps/aarch64/raspberrypi5: Add initial Raspberry Pi 5 BSP
This is initial mvp implementation for the Pi5 BSP. The
initial support has the following features:

- PL011 debug uart (full termios console driver)
- Arm Generic Timer (virtual interface)
- GIC-V2 interrupts

This will be extended in follow-up work.

Should Close rtems/programs/gsoc#85
2026-02-11 18:44:47 -05:00
Santosh Bala c014ab9b2d stm32f4: add stm32f446ze variant and variant specific linker selection
Adds an STM32F4 BSP variant with a variant linker script.
2026-02-10 18:43:51 +00:00
Kinsey Moore fa81397286 spec/optwarn: Drop global warning avoidance flags
Now that all warnings should be resolved, drop the flags disabling the
remaining warnings.
2026-02-09 17:23:00 +00:00
Kinsey Moore be2cd3b761 spec/jffs2: Remove sign comparison checks
Resolving warnings on 3rd-party code can be invasive and will make it
harder to bring in updates from upstream. For issues outside -Wall,
disable the warning for this piece of code instead.
2026-02-09 17:23:00 +00:00
Kinsey Moore f99e154586 spec/jffs2: Update warning flags for summary support
This flag was missed due to out of date GCC and is necessary for GCC 15
to avoid errors in third-party code.
2026-02-06 13:29:20 -06:00
Gedare Bloom 6418ac5e10 cpukit/include/rtems: move fatfs.h to cpukit/contrib
updates #5456
2026-02-04 17:39:57 -06:00
Gedare Bloom 16b11a4342 cpukit: move third-party include files to cpukit/contrib
Fixes #5456
2026-02-03 12:42:57 -07:00
Gedare Bloom cbd392efb2 cpukit/score: move src/kern_* to src/contrib/
Updates #5374
2026-02-02 19:16:07 +00:00
Gedare Bloom 2436216d68 cpukit/mouse: relocate mouse_parser.c
Updates #5374
2026-02-02 19:16:07 +00:00
Gedare Bloom fbc96a878b cpukit/dev: relocate iovprintf.c
Updates #5374
2026-02-02 19:16:07 +00:00
Gedare Bloom 6505a6baa8 cpukit/libcsupport: consolidate third party code
Updates #5437
2026-02-02 19:16:07 +00:00
Joel Sherrill 9deb5b8323 spec/build/cpukit/optwarn.yml: Update warning CFLAGS
Warnings enabled by -Wextra have now been addressed except for
-Wcast-function-type and -Wsign-compare.
2026-01-30 09:04:58 -06:00
Ning Yang 33950b4418 aarch64: add rk3399_rockpro64 BSP
This adds a basic BSP for RockPro64, which includes a UART,
an ARM timer, and GICv3 support, and utilizes all available
memory as defined by the upstream U-Boot configuration.

Closes #5414
2026-01-29 18:51:40 -06:00
Kinsey Moore 76614d5200 jffs2: Resolve signed comparison warnings
JFFS2 uses the high values of the unsigned flash offset in a raw node
reference as special identifiers and specifies them using negative
integer literals. This disables those errors for non-RTEMS source and
constrains such comparisons in RTEMS code to avoid larger reworks of the
JFFS2 upstream source.
2026-01-29 18:08:05 -06:00
Shaunak Datar cbba19c44a bsp/aarch64/raspberrypi: Add Mailbox Support
Adds mailbox and property tags support to the aarch64/raspberrypi BSP
2026-01-28 07:36:50 -06:00
Kinsey Moore f2b6a2383b bsps/aarch64/xilinx-zynqmp: Obsolete direct JFFS2 adapters
This removes the adapters that provide glue code directly from JFFS2 to
backend storage drivers since JFFS2, the NAND driver, and the QSPI NOR
driver all support the flashdev interface.
2026-01-27 12:44:03 -06:00
Kinsey Moore 1eac734295 cpukit/libfs: Move JFFS2 sources to contrib
This moves the JFFS2 sources imported from Linux into the contrib/
subdirectory since that is where 3rd party sources belong. The import
revision is currently "v6.1" with some alterations.
2026-01-27 12:34:56 -06:00
Joel Sherrill 0975fe5f6c optstdcc.yml: Add C standard version for Microblaze GCC 12
Add --std= argument to RTEMS compilation. Microblaze uses GCC 12
and the argument is gnu2x rather than gnu23 which is used after
C23 was released.
2026-01-23 14:11:24 -06:00
Jeremy Lorelli 297dc2367b bsps/m68k: Add -D_LDBL_EQ_DBL=1 workaround to ABI_FLAGS
This is to workaround a difficult bug in newlib related to
configure-time generation of this flag in newlib.h. Since there is no
multi-lib mechanism for headers, _LDBL_EQ_DBL ends up in newlib.h, which
is installed architecture wide. The default -mcpu= setting for the 68k
toolchain does support long double, so this flag is not defined in
newlib.h.

However, Coldfire targets lack support for long double, leading to some
undesirable behavior in the C/C++ standard headers. ieeefp.h has
numerous sanity checks that will #error and <cmath> from C++ will fail
to compile.

It doesn't look like this issue will ever be fixed in newlib, so we'll
just define this manually as a workaround.
2026-01-23 13:39:43 +11:00
Joel Sherrill 3166b39f36 optstdcc.yml, cpuopts.yml: Use C23 to compile RTEMS
Prior to this change, the RTEMS build system did not specify the
version of C to compile with.

Closes #5327
2026-01-16 09:08:11 -06:00
Remi Debord 0b2455f6f8 bsps/arm: Add BSP for Versal RPU 2026-01-15 11:43:59 +01:00
Remi Debord 126e19aa60 bsps/shared/dev/serial: Move Versal UART sources 2026-01-15 11:42:45 +01:00
Allan Hessenflow 9c1340a309 bsps: add new BSP for Silicon Labs EFM32GG11
includes support for UART/USART, I2C, SPI, TRNG
2026-01-13 18:28:43 -05:00
Joel Sherrill 5384a26b48 spec/build/cpukit/optwarn.yml: Reduce ignored warnings
The set of remaining warnings is shrinking. Reduce the set of
ignored warnings.
2026-01-09 17:16:19 -06:00
cibi.p ab2f0c0cb9 spec: move timespecget to librtemscpu from objpsxsgnl
The timespecget() API originates from C11 and should not be
guarded by RTEMS_POSIX_API.

Updates #5412
2026-01-08 08:52:40 -06:00
Jeremy Lorelli 0b5d311673 bsps/m68k: Implement new IRQ system
Implements the required bsp directives for the 'new' style rtems
interrupt system. Previously, uC5282 only supported interrupts through
the BSP_installVME_isr directive.

BSP_installVME_isr still behaves the same, but is instead implemented
using the new IRQ directives. To ensure compatibility with existing
EPICS related code without causing subtle bugs, BSP_installVME_isr will
also poke at the EPORT interrupt settings to enable IRQ1 when installing
a "fake VME" interrupt (vector >= 192).

This also fixes a regression from e9cb088995 that broke clock interrupt
handlers, leading to the BSP crashing shortly after boot.
2025-12-28 12:46:58 -08:00
Mazen Adel Elmessady 1477839d2a testsuites/psxtests: Added API header OK tests for Posix 8
Added API header OK test in psxtests/psxhdrs
as a part of my work to GSoC 25
note that functions ppoll(), sem_clockwait() and timespec_get()
don't have a prototype yet so the tests will fail. I won't
add them to the libpsxhdrs.yml file until my PR is approved in newlib.
2025-12-12 09:30:28 -06:00
Sam Price 0cbfcf9817 bsp/microblaze-fpga: parameterize linker layout
Add build options for start address, vector base, and BRAM length,
wire them into the microblaze_fpga linker script and BSP group,
and add the dependencies to the kcu105_qemu BSP spec.
2025-12-11 19:13:48 -05:00
Bhavya Shah 1b440d2807 imfs/large_block_size: Modified imfs for large block size
- Added testcase psximfs04 to test the block size
- Modified confdefs/libio.h for block size 1024
2025-12-11 17:51:35 -06:00
Bhavya Shah 6367099ec0 imfs/user_allocator: Add user-configurable allocator support
- Extend IMFS and libio headers to define default allocator/deallocator ops
  and logic for configuring memfile_ops.
- Update imfs_memfile to use custom allocators for memory blocks.
- Fix imfs_statvfs.f_bfree calculation to respect user-defined ops.
- Add psximfs03 test case to validate custom allocator behavior.
- Refactor psximfs01 to share helper functions with psximfs03.
2025-12-11 17:45:13 -06:00
Sam PriceandAlex White f7116eee20 microblaze: add AXI timer benchmark support
Add AXI timer definitions and a BSP btimer implementation and
install them in the microblaze_fpga BSP.

Co-authored-by: Alex White <alex.white@oarcorp.com>
2025-12-08 08:57:24 -06:00
Mazen Adel Elmessady ff63275812 cpukit/posix: Add timespec_get() support to RTEMS
Added the implementation of timespec_get() with tests.
The implementation used clock_gettime() as a reference.
The tests used psxtimes01 as a reference.

Updates
rtems/programs/gsoc#69
2025-12-05 17:00:55 -05:00
Martin Erik Werner a72c0e0583 spec: Ensure -msoft-float is in make linking flags
In order for the linker to pick the correct soft-float libraries when
building for a target without an FPU the -msoft-float flag needs to be
present.

This is already the case in the pkg-config file where ABI_FLAGS are
included in Ldflags:

  Ldflags: ${ABI_FLAGS} -B${libdir} -qrtems -Wl,--gc-sections

But this is not present in the custom make includes:

  LDFLAGS = -B$(exec_prefix)/$(RTEMS_BSP)/lib -qrtems -Wl,--gc-sections

The RTEMS template make rule for linking includes all of CFLAGS:

  define bsp-link-c
  	$(LINK.c) $(CPU_CFLAGS) $(AM_CFLAGS) $(AM_LDFLAGS) \
  	    -o $(basename $@)$(EXEEXT) $(LINK_OBJS) $(LINK_LIBS)
  endef

The standard (GNU) built-in make rule for linking does not include
CFLAGS when linking:

  $(CC) $(LDFLAGS) $* $(LOADLIBES) $(LDLIBS) -o $@

Add ABI_FLAGS to LDFLAGS in the custom make includes such that building
soft-float applications works with the default built-in make rules as
well.
2025-12-04 19:02:42 -06:00
Kinsey Moore d82efbd7d1 bsps/shared/dev/nor: Add SFDP and CFI parsers
Fixed flashdev doxygen group
2025-12-04 18:52:00 -06:00
Joel Sherrill cc9aa4b748 ino_t printf() cases: Add PRIdinod_t for ino_t format specifier
The sizeof(ino_t) can potentially vary based on the target. This
resulted in -Wformat warnings. Add PRIdino_t in <rtems/inttypes.h>
to have a portable format specifier.

Closes #5393.
2025-12-04 18:41:19 -06:00
Joel Sherrill f794dc4267 spec/../*yml: Add fatfs tests to multiple BSP test excludes
Multiple BSPs do not have the memory required to link the
FATFS tests. Added these tests to tstsmallmem.yml and multiple
individual BSP tst excludes.
2025-12-04 19:06:12 -05:00
Joel Sherrill 2ba90abb80 spec/.../microblaze_fpga/grp.yml: Delete duplicate optuartirq.yml
For some reason, optuartirq.yml was included twice and this
breaks configuration.

Updates #5376,
2025-12-04 17:42:02 -06:00
Kinsey Moore 20faa90860 bsps/shared/dev/flash: Add a flashdev simulation backend
This adds a backend for flashdev that simulates a flash device with
adjustable delays to simulate real flash devices and offers
configurable flash parameters. This also migrates the JFFS2
filesystem tests to the flashdev framework and eliminates the
purpose-built simulated flash in the testsuite in favor of a more
generic and widely usable solution.
2025-12-04 14:12:55 -06:00
Kinsey Moore 710a6e124e cpukit/jffs2,spec: Add summary support to the build
This adds summary support to the build with a global option to enable
this support and necessary changes to the imported summary support
source to integrate it into the build system and resolve errors.
2025-12-03 15:48:56 -06:00
Kinsey Moore 1a99eb52dc bsps/shared/xnandpsu: Parameterize number of active chipselects
This makes the number of active chipselects a BSP configuration
parameter. The name of the macro in upstream source is misleading and
suggests that the driver can support up to the selected value when in
actuality it requires that number of chips to be present. If this number
of chips is not present, the driver will hang on initialization waiting
for a chip to respond that does not exist.
2025-12-03 08:25:50 -06:00
Kinsey Moore ff52b009b5 bsps/shared: Add XNandPsu flashdev backend
Add a flashdev backend supporting the XNandPsu peripheral on ZynqMP
systems.
2025-12-03 08:25:50 -06:00