Skip to content

Update esp-hal-common to use the newest PACs #215

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

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

jessebraham
Copy link
Member

I've overhauled the SVD generator, so there are a number of changes which make the SVDs more correct. More specifically I've also added the SENS peripheral to the ESP32-S3, so we can finally implement ADC for it.

There is also the chance of some regressions, but I've reviewed the changes the best I can and am reasonably confident we're in okay shape.

svd2rust now uses critical-section instead of bare-metal and interrupt::free so the new PACs do this as well. This unfortunately introduced a warning for the ESP32-C2/C3, however it has been fixed already so with the next release of svd2rust we can eliminate these.

I have not actually tested any examples on hardware yet which is why this is marked as draft. I'm going to test a bunch just to try and be reasonably sure I haven't horribly broken anything.

@jessebraham jessebraham requested a review from bjoernQ October 18, 2022 18:13
@jessebraham jessebraham mentioned this pull request Oct 18, 2022
Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bjoernQ
Copy link
Contributor

bjoernQ commented Oct 19, 2022

Code looks fine to me and I did smoke tests on all the supported chips (i.e. run all examples that don't need much additional hardware attached)

Good job!

Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issue on my end, LGTM!

@jessebraham jessebraham marked this pull request as ready for review October 19, 2022 14:00
@jessebraham jessebraham merged commit 00cba44 into esp-rs:main Oct 19, 2022
@jessebraham jessebraham deleted the fixes/updates branch October 19, 2022 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants