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 for L4 non-OTG devices #11

Open
jacky4566 opened this issue Feb 11, 2022 · 3 comments
Open

Support for L4 non-OTG devices #11

jacky4566 opened this issue Feb 11, 2022 · 3 comments

Comments

@jacky4566
Copy link

Does this pack support L4 non-OTG devices?

Trying to compile with STM32L433CC and getting errors about OTG

../Middlewares/Third_Party/AL94_USB_Composite/COMPOSITE/Target/usbd_conf.c:31:10: fatal error: usb_otg.h: No such file or directory

@alambe94
Copy link
Owner

Tick F1 device and generate cube code as pair of .c/.h

@ucahmetuc
Copy link

Tick F1 device and generate cube code as pair of .c/.h

This method works on STM32L053C8T6. But no matter what I did, it didn't work on STM32L433VCT6.

@ucahmetuc
Copy link

I solved the problem. Add "HAL_PWREx_EnableVddUSB();" to the top of the "MX_USB_PCD_Init" function. When you added the line, it started working smoothly.

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

No branches or pull requests

3 participants