Skip to content

Implement support for 32-bit memory access scheme #39

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FeldrinH
Copy link

Closes #37 and unblocks USB support for C0 and possibly some other STM32 families. Tested on STM32C071 devboard.

Note: I changed the UsbPeripheral trait a little, which unfortunately makes this a breaking change. In practice this should not be a big issue, since existing HAL-s can keep using the previous version pretty much indefinitely and the migration is very simple.

@FeldrinH
Copy link
Author

FeldrinH commented Jul 20, 2025

@usbalbin If you could test this on STM32H5 and confirm if this makes things work on H5 as well then that would be great.

(Full disclosure: I have not looked at the STM32H5 refrence manual and have no idea if H5 USB implementation is in any way compatible with this driver. I just know from your issue that it uses a 32-bit memory access scheme.)

@usbalbin
Copy link
Member

I will try!

@usbalbin
Copy link
Member

Works great from what I can tell. Tested with this on a nucleo-h533

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.

32bit endpoint memory access scheme
2 participants