-
Notifications
You must be signed in to change notification settings - Fork 243
Feature/stm32 g4 #506
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
Feature/stm32 g4 #506
Conversation
@@ -18,3 +18,5 @@ _include: | |||
- ../peripherals/opamp/opamp_g4_common.yaml | |||
- ../peripherals/opamp/opamp_g4_opamp4_5.yaml | |||
- ../peripherals/opamp/opamp_g4_opamp6.yaml | |||
- ./common_patches/rename_USB_FS_peripheral_to_USB.yaml | |||
- ./common_patches/g4_usb.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe these are probably needed for other G4 series as well but I do not have a good way to test those changes. Should they be added?
c3b88ff
to
caa8f7b
Compare
Thanks for this PR! The new BCDR register is good, but it looks like including the |
I'll take a look at that when I'm back from vacation. I thought I had to have that change to get my hal port from the f3 working but I might have changed it in the hal instead or messed something else up along the way. |
caa8f7b
to
d7c0e3e
Compare
@adamgreig I updated this to use the wildcard for the USB renaming. I modified the HAL changes I have for this on the G473 and tested that the USB works. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you!
bors merge
With these changes I was able to port the USB CDC example from the F3 HAL to the G4.