Skip to content
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

Update for stm32-rs#1156 #183

Draft
wants to merge 3 commits into
base: staged-pac
Choose a base branch
from

Conversation

usbalbin
Copy link
Member

@usbalbin usbalbin commented Feb 4, 2025

This is the changes needed to go from stm32g4-staging = "0.19.0" to stm32-rs/stm32-rs#1156

src/adc.rs Outdated
@@ -1840,25 +1840,25 @@ macro_rules! adc {
self.config.difsel = df;

self.adc_reg.difsel().modify(|_, w| {w
Copy link
Member

Choose a reason for hiding this comment

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

                   self.adc_reg.difsel().modify(|_, w| {
                       for i in 0..18 {
                           w.difsel(i).bit(df.get_channel(i).into())
                       }
                   });

Not sure how it is optimized.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks!

@usbalbin
Copy link
Member Author

usbalbin commented Feb 17, 2025

@burrbull from what I can tell, there are even more "interrupt clear"-related things in stm32-rs/stm32-rs-nightlies compared to stm32g4-staging v0.20.0.

If you would like to release that, then I can add the corresponding changes here too. If you think that would make sense

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.

2 participants