Skip to content

[CI] riscv32-unknown-elf-gcc toolchain with more rv extensions. #16630

@cederom

Description

@cederom

Is your feature request related to a problem? Please describe.

When building #16424 on my FreeBSD I noticed that default system compiler does not have required components to build the RaspberryPi-2-RV (RP23XX RV cores inside MCU). This problem also happens for our CI.

Describe the solution you'd like

  • We would want to have riscv-gnu-toolchain [1] with all extensions enabled to cover all possible MCU families and cores (this is called multilib [2]?).
  • Check if adding compiler options in the PR/code so CI knows what specific compiler to use.

Describe alternatives you've considered

I had to build riscv-collab riscv-gnu-toolchain [1] by hand, add to path before system compiler.

Verification

  • I have verified before submitting the report.

[1] https://github.com/riscv-collab/riscv-gnu-toolchain
[2] https://github.com/riscv-collab/riscv-gnu-toolchain?tab=readme-ov-file#installation-newliblinux-multilib

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions