Adds class implementation for use STM32F4xx OTG_HS in FS mode

Dependents:   IGLOO_board

Fork of USBDevice by mbed official

Revision:
77:83b79e0aa05a
Parent:
25:7c72828865f3
--- a/USBDevice/USBDevice.h	Mon Jul 30 12:30:04 2018 +0000
+++ b/USBDevice/USBDevice.h	Mon Jul 30 13:56:22 2018 +0000
@@ -176,7 +176,7 @@
     *
     * @returns pointer to the configuration descriptor
     */
-    virtual uint8_t * configurationDesc(){return NULL;};
+    virtual uint8_t * configurationDesc(uint_fast8_t cfgidx){return NULL;};
 
     /*
     * Get string lang id descriptor
@@ -236,7 +236,7 @@
     virtual void EP0in(void);
     virtual void connectStateChanged(unsigned int connected);
     virtual void suspendStateChanged(unsigned int suspended);
-    uint8_t * findDescriptor(uint8_t descriptorType);
+    uint8_t * findDescriptor(uint8_t descriptorType, uint_fast8_t cfgidx);
     CONTROL_TRANSFER * getTransferPtr(void);
 
     uint16_t VENDOR_ID;