The default for the bl602-pac is currently targeting the tier 2 riscv32imac-unknown-none-elf which uses soft float. The bl602 hardware itself supports the f extension as well through an FPU.
We can allow custom targets (e.g. riscv32imafc-unknown-none-elf) to use the hard float abi by updating the dependencies for riscv and (optional) riscv-rt to the latest versions.
The default for the bl602-pac is currently targeting the tier 2
riscv32imac-unknown-none-elf
which uses soft float. The bl602 hardware itself supports the f extension as well through an FPU.We can allow custom targets (e.g.
riscv32imafc-unknown-none-elf
) to use the hard float abi by updating the dependencies forriscv
and (optional)riscv-rt
to the latest versions.Working example here: parkero / bl602-hardfloat