Fork of https://developer.mbed.org/users/bscott/code/STM32_USBDevice/

Fork of STM32_USBDevice by Bradley Scott

Revision:
62:23cb405e1ee5
Parent:
57:b6b2296460db
Child:
65:0ba7c5e2b3dc
--- a/USBDevice/USBHAL.h	Sat Jun 20 11:54:36 2015 +0900
+++ b/USBDevice/USBHAL.h	Sun Jun 21 11:53:49 2015 +0900
@@ -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) || defined(TARGET_STM32L1)
+#if !defined(TARGET_STM32F4)||defined(TARGET_STM32L1)||defined(TARGET_STM32F1)
     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,7 +117,7 @@
 #endif
 
 
-#if defined(TARGET_STM32L1)
+#if defined(TARGET_STM32L1)||defined(TARGET_STM32F1)
 public: // HAL_PCD
     void SetupStageCallback();
     void DataInStageCallback(uint8_t epnum);