-
Notifications
You must be signed in to change notification settings - Fork 951
HiFive1 rev B support #392
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
Conversation
Things that are needed for this to be mergeable:
There are more things (like |
Regarding the SVD file, I think we should run off our own fork of the cmsis-svd repo anyhow. We should also continue to submit upstream PRs as both you and I have been doing, but this allows us to not have to wait for the other maintainer, who seems somewhat busy. Regarding the interrupts, and changes to the generator, we need to work on that part. #184 you know I really want that anyhow. But we can incorporate that later, and continue to use the clang toolchain for now, right? |
Unfortunately, no. RISC-V is not included in most LLVM builds so people wouldn't be able to use an external clang, unless they compile LLVM manually. |
The upstream SVD file hangs on the fact that the license situation isn't entirely clear and that SiFive doesn't provide SVD files. I have posted here on the forum in the hope that it will help: https://forums.sifive.com/t/svd-file-for-e310-g000/731/11 |
fe7230b
to
57237c5
Compare
|
007892f
to
32418b6
Compare
This pull request is now ready to merge. |
This page has been a big help in adding support for this new chip: https://wiki.osdev.org/HiFive-1_Bare_Bones
I started to test this. First, I obtained the SiFive GNU tools. Then updated the submodule to get the latest SVD files, and re-ran the generator. also used I then ran into compilation problem:
I think that indicates that my LLVM installation lacks the needed risc-v support, right? EDITED to have better grammar and explanation. |
You need to rebuild LLVM, and then build it using |
Can I just run our own |
Yes, just |
Added page at https://github.com/tinygo-org/tinygo/wiki/RISC-V to help anyone who want to experiement with this. Now merging, great work @aykevl this is a massive step into the future. |
https://wiki.osdev.org/HiFive-1_Bare_Bones