-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
[Fixes #17] Update SVDs from master and regenerate with svd2rust 0.24.1 #21
[Fixes #17] Update SVDs from master and regenerate with svd2rust 0.24.1 #21
Conversation
I've been thinking how we are handling PACs at the moment. Is it possible to remove all generated code and dynamically Getting rid of these 50k files would be for the better. I don't think this will be the last PAC bump. I have some SVD discrepancy bugs filed at Microchip. |
This idea is worth consideration. It would help if Need to do some research. Yes, each crate would need it's own One of problems to tackle is how to run |
OK, I think we have some answers: |
Problem 2: how to deliver right SVD with the crate to the user without invoking more less |
I do not like the idea of downloading remote assets, unless |
I don't like either. I've done some research already - the problem to solve before publishing each PAC crate is to put the right SVD in the directory, where Now, what I started is MVP for one PAC, where In the mean time I'd merge this one, so we progress toward next release and tackle the security issue found by dependabot (PR #22 more about this), because getting there with user side generation will take some time. I need to figure out some CI to validate these crates. |
Sounds good. As for the regeneration, the crate versions have not been bumped. But instead of bumping it to |
🤔 Is it something what other maintainers do? |
I don't understand the question. |
Question was in other words, whether other PAC maintainers keep only minor version from I've done some updates readying these for next release. |
I've seen PACs that mirror the full |
This branch is now deprecated and can be closed. Refer to #24. |
This commit adds a CI (and the Dockerfile it is based upon) that: 1. builds the HAL for the atsame70n21b and atsamv71q21b targets; 2. builds the board examples; 3. checks the formatting of all code except pac/; and 4. lints the code base with clippy, expect pac/. Closes atsams-rs#21.
meta: add CI configuration Closes atsams-rs#21 See merge request embedded-rust/atsamx7x-hal!14
atsamv71_xult: use Monotonic timers instead of asm::delay Closes atsams-rs#21 See merge request embedded-rust/atsamx7x-hal!12
@tmplt I'm closing this as I don't have time to work on this now. Let's focus on getting your stuff merged and I'll do my work on PACs from there. |
I've bumped up
rust2svd
locally and regenerated all PACs, this time from themaster
branch of https://github.com/posborne/cmsis-svd/ repository, as cmsis-svd/cmsis-svd#154 have been merged recently.