diff options
| author | Frédéric Desbiens <[email protected]> | 2026-05-27 11:33:28 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-05-27 11:33:28 -0400 |
| commit | 80cbaadfafc53b0888cf1fe3548fd4b4c093af7a (patch) | |
| tree | 08ec74500367a220975555f7b69d509832e632e6 /common_modules/module_lib/src/txm_timer_create.c | |
| parent | 7486de06c80aac7ce8b40a9fbbabd448707e1fa8 (diff) | |
cmake: rename rv32 toolchain file to riscv32-unknown-elf-rv32imc.cmake (#537)
Renamed cmake/riscv64-gcc-rv32imc.cmake to the accurate name
cmake/riscv32-unknown-elf-rv32imc.cmake and switch the compiler
from riscv64-unknown-elf-gcc to riscv32-unknown-elf-gcc.
The riscv-collab riscv64-elf toolchain has no rv32 multilib and
will fail to link soft-float and integer helpers (__clzsi2, __muldf3,
etc.) when building for -march=rv32imc_zicsr -mabi=ilp32. The
dedicated riscv32-unknown-elf-gcc (riscv-collab riscv32-elf release,
installed to /opt/riscv by scripts/install_riscv.sh) ships the correct
native rv32/ilp32 libgcc — analogous to arm-none-eabi-gcc for Cortex-M.
The old filename is kept as a two-line compatibility alias that includes
the new file, so any out-of-tree users who hardcode the old path still work.
Also update:
- core_v_mcu/build.sh: reference new cmake filename
- core_v_mcu/README.md: update prerequisites table and toolchain docs
Co-authored-by: Copilot <[email protected]>
Diffstat (limited to 'common_modules/module_lib/src/txm_timer_create.c')
0 files changed, 0 insertions, 0 deletions
