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

support stm32U0 device #2824

Merged
merged 3 commits into from
Oct 4, 2024
Merged

support stm32U0 device #2824

merged 3 commits into from
Oct 4, 2024

Conversation

Maerdl
Copy link
Contributor

@Maerdl Maerdl commented Oct 1, 2024

Hello ,

i added the basic support for STM32U0 devices. As it uses the same usb core than the U5 series it's just some defines to add.
It was tested with a custom board as a cdc device. No further tests are done.

Are there any further needs to get merged into the main repo ?

Thanks in advance
Maerdl

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look good, ci failed due to my HIL machine migration. Just merge latest and pushed. Hopefully this should fix it.

@HiFiPhile
Copy link
Collaborator

Thanks for your PR, I think U0 only use fsdev driver, you can revert the changes in src/portable/synopsys/dwc2/dwc2_stm32.h

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HiFiPhile is right, I overlook this. U0 is fsdev only, please update PR accordingly.

image

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the revert is simple, I made the update myself. There is a bit of duplication in fsdev driver, but we will clean that up later.

@hathach hathach merged commit 6bfd024 into hathach:master Oct 4, 2024
99 checks passed
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.

3 participants