Skip to content

Updated to SVD from pico-sdk 2.0.0#95

Open
jannic wants to merge 9 commits intorp-rs:mainfrom
jannic-dev-forks:update-svd-2.0.0
Open

Updated to SVD from pico-sdk 2.0.0#95
jannic wants to merge 9 commits intorp-rs:mainfrom
jannic-dev-forks:update-svd-2.0.0

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
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.

jannic added 9 commits April 18, 2025 19:29
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 jannic force-pushed the update-svd-2.0.0 branch from b954bb5 to 7cf6a2b Compare April 18, 2025 19:31
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