Josfemova / eos-s3-rs

Bringing support for the EOS-S3 in Rust
Apache License 2.0
9 stars 1 forks source link

Script for regenerating PAC from SVD #2

Closed 9names closed 2 years ago

9names commented 2 years ago

Something like https://github.com/rp-rs/rp2040-pac/blob/main/update.sh so that others can make SVD changes and reproduce the PAC. The script doesn't need to be as complicated as the rp2040 one, but at least having a specific version of svd2rust would allow for repeatable builds.

Josfemova commented 2 years ago

I don't know if it would be better to have the SVD in a separate repo tho', right now is for building the PAC, but as QuickLogic does not provide an official one technically it could be useful for people doing Zephyr/Qorc stuff too. Tying it to the Rust project works for propaganda tho' haha. Will have the scripts done ASAP. There's a primitive version here but yeah, tying it to a version of svd2rust/svdtools is the correct thing to do

Josfemova commented 2 years ago

This should work https://github.com/Josfemova/eos-s3-rs/blob/main/generate-pac.sh