-
Notifications
You must be signed in to change notification settings - Fork 241
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
Updates necessary because of rp2040-pac update to v0.6.0 #770
Conversation
I have finished making changes to my updated PAC for use at HAL. |
I noticed that dma_spi_loopback_u16 and dma_spi_loopback_u8 in on-target-tests are no longer terminating. transfer.wait() is no longer terminating. |
I found the bug: AkiyukiOkayasu#1 Overall, it looks like the updated PAC does work, but we need to carefully check that there are no more bugs of that kind in the ported rp2040-hal. Anyway, I think we can merge rp-rs/rp2040-pac#91. |
A quick search found three more occurrences of that pattern, which are likely bugs as well:
Right now I'm too tired to check and fix them. And the regex might be too simplistic to find all instances. |
Thank you for fixing it. Perhaps these may also be bugs. I will check when I have time. Lines 1431 to 1436 in e175d2a
Lines 1625 to 1630 in e175d2a
|
@jannic I think I have no more to fix. Please give your review. |
I already looked through all the changes, they look good to me. I'll do the final approval as soon as it can actually be merged, ie. when pac v0.6.0 is released. If we decide to include the new naming scheme from rust-embedded/svd2rust@30eb398 in rp2040-pac 0.6.0, we need to update rp-hal as well. In any case, I don't want to delay this much longer. If there's no new release of svd2rust really soon now, we should go with what's available now, merge rp-rs/rp2040-pac#92 as it is, release pac v0.6, and merge this pull request. And then release rp2040-hal 0.10.0 as well. |
This obsoletes the patch.crates-io entry
This is a proof of concept regarding rp-rs/rp2040-pac#91.
It is not yet suitable to be merged.
Still some work to be done and will be updated from time to time.