Hi,
I am trying to create composite USB from STM32f446 (Nucleo board). I started from USB_CDC example, but got stuck when I had to add more configuration descriptors, because I don’t see how to register more than one class:
USBD_Init(&USBD_Device, &COMPOSITE_Desc, 0);
USBD_RegisterClass(&USBD_Device, &USBD_CDC);
USBD_CDC_RegisterInterface(&USBD_Device, &USBD_CDC_SIT_V2_fops);
USBD_Start(&USBD_Device);
I would appreciate any advice on this matter. Thanks!