alambe94 / I-CUBE-USBD-Composite

Create STM32 USB Composite devices with ease.
MIT License
153 stars 34 forks source link

Support for f4 fs otg #12

Closed gtoner closed 2 years ago

gtoner commented 2 years ago

Im trying to port to f401ceu6 device with USB-OTG-FS. My target is 1 CDC-ACM and a HID_KEYBOARD. I can generate code using the USBD_Test which generates a COMPOSITE directory under COMPOSITE/Class which contains usbd_composite.c which defines USBD_COMPOSITE_Mount_Class(). When I set up the project for the f401 I can only use USB_OTG_FS along with the cdc and hid classes. The code generator never generates the COMPOSITE classes but does generate the CDC and HID classes. The compilation fails trying to find the Mount_Class function. Any help is greatly appreciated.

gtoner commented 2 years ago

Pilot error - I failed to check the "COMPOSITE" box listed in the "Software Packs/Select Components/AL94.I-CUBE_USBD_COMPOSITE/USB Composite/COMPOSITE tree. Now compiling, cross loading and enumerating on the PC.