-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Update for new pac #511
Update for new pac #511
Conversation
afd5dfa
to
283459f
Compare
29a1d10
to
bd09207
Compare
bd09207
to
d750208
Compare
@richardeoin here is an attempt at updating the pac. This is needed for using the HRTIM perpheral since there are a lot of errors in the SVD's that have recently been patched. I also believe there has been other improvements such as allowing things like this: - (*Gpio::<P>::ptr()).pupdr.modify(|r, w| {
- w.bits((r.bits() & !(0b11 << offset)) | (value << offset))
- });
+ (*Gpio::<P>::ptr())
+ .pupdr()
+ .modify(|_, w| w.pupdr(offset).bits(value)); and likely many other things which I have not yet updated the code for. Do you want this change? I also understand if you dont wish to move away from the official releases. |
Awesome work. It's great to keep up with the updates to the PAC. Looks like stm32h7-staging is release channel made by @burrbull , I guess to encourage downstream testing before an 'official' I'd be happy to use the |
I created the |
Great thanks! |
This updates this hal to use the stm32h7-staging pac. I am doing this in an attempt to get the HRTIM peripheral to work.
Also, some other hals seems to be moving towards staging pacs aswell. Not sure whats best...