Skip to content
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

Support for new CH32V006 / CH32V005 boards? #315

Open
brian-smith-github opened this issue May 14, 2024 · 2 comments
Open

Support for new CH32V006 / CH32V005 boards? #315

brian-smith-github opened this issue May 14, 2024 · 2 comments

Comments

@brian-smith-github
Copy link

Hi again.
Do you know if support will be added for the upcoming new versions of the chip - e.g. CH32V006 and CH32V005. Both have more ram/flash, and a new version of the RISC-V core that now includes hardware-multiply (zmmul extension).
Thanks.

@cnlohr
Copy link
Owner

cnlohr commented May 15, 2024

We intend to add support as soon as we can get them in-hand. Making use of the zmmul instruction will require at least GCC 12, which we don't yet have a recommended Windows GCC build yet, but for Linux we hope to support the platforms shortly after we get chips!

@TommyMurphyTM1234
Copy link
Contributor

TommyMurphyTM1234 commented Jun 4, 2024

We intend to add support as soon as we can get them in-hand. Making use of the zmmul instruction will require at least GCC 12, which we don't yet have a recommended Windows GCC build yet

Hi @cnlohr - could you use the Embecosm or xPack binary builds perhaps?

Note that the xPack toolchain uses a different prefix to the "usual" one - riscv-none-elf-* rather than riscvXX-unknown-elf-* - in case that's an issue (e.g. for your Makefiles):

If those binary builds are not adequate and you need a specific build then, in my experience, using crosstool-NG to do a Canadian Cross build (build host = Linux, run host = Windows, target ISA = RISC-V) of the toolchain for Windows works well - e.g.:

If I can be of any assistance let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants