Update for new version of mbed.
Fork of USBDevice_STM32F103 by
Diff: USBDevice/USBHAL.h
- Revision:
- 57:b6b2296460db
- Parent:
- 31:5bf05f9b3c7b
- Child:
- 62:23cb405e1ee5
--- a/USBDevice/USBHAL.h Mon Jun 08 08:15:25 2015 +0100 +++ b/USBDevice/USBHAL.h Fri Jun 12 09:17:50 2015 +0000 @@ -74,7 +74,7 @@ virtual bool EP2_IN_callback(){return false;}; virtual bool EP3_OUT_callback(){return false;}; virtual bool EP3_IN_callback(){return false;}; -#if !defined(TARGET_STM32F4) +#if !defined(TARGET_STM32F4) || defined(TARGET_STM32L1) virtual bool EP4_OUT_callback(){return false;}; virtual bool EP4_IN_callback(){return false;}; #if !(defined(TARGET_LPC11UXX) || defined(TARGET_LPC11U6X) || defined(TARGET_LPC1347) || defined(TARGET_LPC1549)) @@ -117,5 +117,13 @@ #endif +#if defined(TARGET_STM32L1) +public: // HAL_PCD + void SetupStageCallback(); + void DataInStageCallback(uint8_t epnum); + void DataOutStageCallback(uint8_t epnum); + void ResetCallback(); + void SOFCallback(); +#endif // TARGET_STM32L1 }; #endif