Skip to content

Implement and validate RISC-V32 GNU Port #484

@fdesbiens

Description

@fdesbiens

Objective

Create a complete GCC toolchain-compatible ThreadX port targeting 32-bit RISC-V (RV32) based on the existing 64-bit port and the existing 32-bit IAR port.

Deliverables

  • Create RISC-V32/GNU port directory and source set (consistent with RISC-V64/GNU structure.)
  • Update all assembly source files (*.S) to correctly reflect 32-bit architecture:
  • Adjust register widths
  • Fix load/store instructions (lw, sw, etc.)
  • Fix stack frame layout, offsets, and register save/restore logic
  • Add proper compiler flags and config variables specific to RISC-V32 in the CMake / Ninja build system.
  • Validate correct execution, context switching, and interrupt handling on target simulation (e.g., QEMU).

Tags

Addition, Medium Complexity

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancement requesthardwareNew hardware or architecture support request

    Type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions