Skip to content

Merge changes ahead of the v6.5.0.202601 release#510

Merged
fdesbiens merged 30 commits intomasterfrom
dev
Mar 6, 2026
Merged

Merge changes ahead of the v6.5.0.202601 release#510
fdesbiens merged 30 commits intomasterfrom
dev

Conversation

@fdesbiens
Copy link
Contributor

No description provided.

akifejaz and others added 30 commits January 1, 2026 14:22
This commit introduces the complete example build environment for the
RISC-V32/GNU port targeting the QEMU virt machine. It includes basic BSP
components, startup code, drivers, linker script, and a minimal ThreadX
demo application.

Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
When TX_ENABLE_VFP_SUPPORT is defined, the build fails due to missing
IRQ_MASK and FIQ_MASK symbols in the restore logic.

This adds the local definitions (0x80 and 0x40) to tx_thread_schedule.S
to match tx_thread_interrupt_restore.S, enabling successful compilation
on GNU and AC6 Cortex-A ports.
- removed tx_port.h dependency from .S files
- replaced tx_timer_interrupt.c with tx_timer_interrupt.S
-  made some cleanups, formatting to better readability
- removed macros (LOAD/STORE/REGBYTES)
  changed register nomenclature to use RISC-V ABI
  names (ra, sp, t0, etc.)
- added readme_threadx.txt

Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
- removed the trailing whitespaces

Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
Improved RV64/GNU port robustness, portability, and CSR handling
Added missing ULONG64 definition for RX ports needed by USBX and NetX Duo
 - add ThreadX porting codes for XuanTie E906.
 - add example for XuanTie E906 running on QEMU smartl.
Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
This update adapts the ThreadX low-level kernel routines
for RV32, including:
  - startup and initialization logic
  - context save/restore implementations
  - interrupt control and scheduler entry
  - thread stack build and system return paths
  - timer interrupt handling
  - made it complient as per new risc-v64/gnu
      & threadx style
  - added reademe for risc-v32/gnu port

These changes provide full low-level support needed to run
ThreadX on RISC-V32 targets.

Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
Added a RISC-V32 architecture port layer for GCC.
This update adapts the ThreadX low-level kernel routines
for RV32, including:
  - startup and initialization logic
  - context save/restore implementations
  - interrupt control and scheduler entry
  - thread stack build and system return paths
  - timer interrupt handling
  - made it complient as per new risc-v64/gnu
      & threadx style
  - added reademe for risc-v32/gnu port

These changes provide full low-level support needed to run
ThreadX on RISC-V32 targets.

Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
 - Place the E906 implementation in the ports/risc-v32/gnu directory;
 - Remove code unrelated to the xuantie_smartl_fpga demo;
Removed dead code from riscv64/gnu port
Added a RISC-V32 QEMU-virt example
Added a missing symbol to tx_api.h for TX SMP.
Added ax attribute to ThreadX module example build preamble.S files
- removed the REGBYTES, STORE/LOAD macros

Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
Signed-off-by: Akif Ejaz <akif.ejaz@10xengineers.ai>
Updated the QEMU examples to match the new RV port format
Fixed VFP build failure in Cortex-A tx_thread_schedule.S
* Updated version number constants

* Removed revision history from all files

* Added Eclipse ThreadX contributors' copyright header
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

Test Results SMP

545 tests  ±0   545 ✔️ +1   4m 51s ⏱️ +6s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0  - 1 

Results for commit c3259a2. ± Comparison against base commit 4b6e810.

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

Code Coverage

Package Line Rate Branch Rate Health
.home.runner.work.threadx.threadx.common_smp.src 100% 100%
Summary 100% (4776 / 4791) 100% (2423 / 2430)

@fdesbiens fdesbiens merged commit 3726d79 into master Mar 6, 2026
7 of 13 checks passed
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

Test Results ThreadX

480 tests  ±0   480 ✔️ ±0   3m 25s ⏱️ +54s
    5 suites ±0       0 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit c3259a2. ± Comparison against base commit 4b6e810.

@github-actions
Copy link

github-actions bot commented Mar 6, 2026

Code Coverage

Package Line Rate Branch Rate Health
.home.runner.work.threadx.threadx.common.src 100% 100%
Summary 100% (3827 / 3827) 100% (1993 / 1994)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants