You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The board manager already downloads gcc-7, but the compiler settings in platform.txt seem to be outdated. Right now it is not possible to compile for RISC-V.
I tried with -march=rv32i -mabi=ilp32 but i get still errors. If gcc-7 is unstable maybe it is better to revert to the previous toolchain?
Hi!
Try the following options: -march=rv32i -mabi=ilp32 -mno-fdiv -mno-div instead of -m32 -msoft-float -mno-muldiv in both c flags and ccp flags.
it works for me
Hi!
The board manager already downloads gcc-7, but the compiler settings in platform.txt seem to be outdated. Right now it is not possible to compile for RISC-V.
I tried with
-march=rv32i -mabi=ilp32
but i get still errors. If gcc-7 is unstable maybe it is better to revert to the previous toolchain?Here are the compiler options for risc-v
https://gcc.gnu.org/onlinedocs/gcc/RISC-V-Options.html
The text was updated successfully, but these errors were encountered: