tinygo-org / tinygo

Go compiler for small places. Microcontrollers, WebAssembly (WASM/WASI), and command-line tools. Based on LLVM.
https://tinygo.org
Other
15.33k stars 905 forks source link

risc-v: change to more complete SVD file for FE310 #600

Closed deadprogram closed 5 years ago

deadprogram commented 5 years ago

I would like to switch over to use this more complete SVD file that is being used by the Rust Embedded team:

https://github.com/riscv-rust/e310x/blob/master/e310x.svd

In order to do so, a small update for the generator script is needed in order to handle fields with the bitRange element, which I will push in a separate PR.

Since the name of the SVD file is slightly different, just wondering if changing the build tag is also a good idea so that everything matches up.

Part of why I want to make this change is to be able to implement the I2C peripheral interfaces.

deadprogram commented 5 years ago

I've created PR #601 to accommodate the bitField element as mentioned above.

Next I will create a PR with my proposed changes in the TinyGo fork of the cmsis-svd repo.

deadprogram commented 5 years ago

This has been merged into dev so now closing.