-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add RISC-V toolchain package #1
Comments
The packages have been submitted to the PIO Registry for review under the |
A temporary work-around has been implemented in ce56da0 |
any update on this? how to use latest toolchain? c++23 is needed. |
Attempted in ab4dafc, 83666d5 and 9b032a1. The update to GCC12 was a massive failure. The Windows toolchain works fine. The Linux toolchain misses the libprintf.a file that the OpenWCH Arduino core requires and thus fails building. The Mac toolchain fails catastrophically and can't even compile core_riscv.c. I've disabled the usage of GCC12 again in c4d8867 after the failed upgrade attempt. I've emailed support about these issues already and am awaiting another toolchain update, in, maybe a month, optimistically. This needs to work properly on all OSes, not only Windows. Until then, it's not done. |
Okay, that sounds.. soon? |
does that means, if i use nonos-sdk, then gcc-12 is fine? |
riscv-windows privode riscv-none-embed while risc-linux-bin provide riscv-none-elf. |
copy |
I'll let MounRiver sort this one out so that we can do a clean update. |
Currently, Linux and macos toolchains have been updated. I successfully compiled the firmware and ran it under macos using the toolchain of cmake and mousriver studio |
mainly because platform-build.py problem, force to add -lprintf flag。 and the result binary is way bigger than usual. |
The latest MacOS GCC12 toolchain is still broken. An Email has been sent to support. |
PIO only has the SiFive variant but we want https://github.com/xpack-dev-tools/riscv-none-embed-gcc-xpack/releases to be same as the the MounRiverStudio at least.
Toolchain can still be upgraded from that.
Currently uses Windows-only packaging of toolchain fromr MounRiverStudio.
The text was updated successfully, but these errors were encountered: