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

Updated to SVD from pico-sdk 2.0.0 #95

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

jannic
Copy link
Member

@jannic jannic commented Aug 11, 2024

Some changes in the new SVD file were reverted to improve compatibility:

  • Rename USB peripheral back to USBCTRL_REGS, and USB_DPRAM to USBCTRL_DPRAM.
  • Reverted access attributes of SIE_STATUS.SUSPENDED and DMA.CHAN_ABORT.

While rp2040-hal seems to be compatible with this version, I assume that there are some breaking changes left.

jannic added 4 commits August 11, 2024 12:03
Upstream svd renamed USBCTRL_REGS to USB and USBCTRL_DPRAM to USB_DPRAM.

For now, revert that change, to avoid the breaking change
Writing the SUSPENDED bit does not clear the bit itself. Instead,
it clears the DEV_SUSPENDED bit of the INTR register.

While oneToClear is not completely accurate, it's still better than read-only.
@jannic
Copy link
Member Author

jannic commented Aug 11, 2024

I wonder if I should also rename SSI back to XIP_SSI. Probably a peripheral not used very often, but the source of many of the changes cargo semver-checks complains about.

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.

1 participant