-
Notifications
You must be signed in to change notification settings - Fork 156
Add ESP32 support #445
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
Add ESP32 support #445
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @burrbull (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
can you add any tests for esp32? |
Ok, will look into it, but will be next week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Looks good to me, too.
bors r+ |
@burrbull @therealprof Thanks for the lightning fast review! |
bors ping |
pong |
bors r+ |
bors retry |
with new Caused by:
|
@burrbull I updated the svd file, so now should be ok. (I tested it with branch svd_new, but it also passed before the updates, so I might have done something wrong.) |
436: Use standard wording for the MSRV note r=therealprof a=ra-kete Part of [wg/rust-embedded#445](rust-embedded/wg#445). svd2rust already has its MSRV documented and tested, but @adamgreig suggested updating it to use the standard wording. Since this is a special case in that the MSRV applies to the generated code, not svd2rust itself, the standard wording doesn't fully apply, so I changed it in a (hopefully) sensible way. An open question is: Should we also document the MSRV of svd2rust itself? Looking at how the CI works, currently it's implicitly guaranteed to be the same version als the MSRV for the generated code, so we could just extend the note in the README to also include svd2rust itself. Co-authored-by: Jan Teske <[email protected]>
Adding support for ESP32 as used in new pull requests on https://github.com/esp-rs.
ESP32 has 2 level interrupt handling. First level in the cores. Second level in the periphery/software.