I have generated a USB CDC Host application on an STM32F407vet based board using the latest version of CubeMX. The resulting code basically works up to the point of getting the data interface where it cannot find a matching interface (0x0A).
I cannot for the life of me find out where the interface descriptors are defined. Examples I have found on the web indicate ( for a CDC device at least ) a file "usbd_desc.c / h" that contains the definitions. There is no equivalent usbh_desc.c file. I can find the structures ok but not where they are initilised. So, my question is: in which file are the interface descriptors initialised?
