Version of USBDevice that works for KL25Z on Mbed OS2.
Fork of USBDevice by
Diff: USBDevice/USBHAL.h
- Revision:
- 30:4408411999c8
- Parent:
- 25:7c72828865f3
- Child:
- 31:5bf05f9b3c7b
diff -r b7a0ea455a0c -r 4408411999c8 USBDevice/USBHAL.h --- a/USBDevice/USBHAL.h Mon Aug 18 13:45:19 2014 +0100 +++ b/USBDevice/USBHAL.h Wed Aug 20 13:15:20 2014 +0100 @@ -77,7 +77,7 @@ #if !defined(TARGET_STM32F4) virtual bool EP4_OUT_callback(){return false;}; virtual bool EP4_IN_callback(){return false;}; -#if !defined(TARGET_LPC11U24) +#if !(defined(TARGET_LPC11UXX) || defined(TARGET_LPC11U6X) || defined(TARGET_LPC1347) || defined(TARGET_LPC1549)) virtual bool EP5_OUT_callback(){return false;}; virtual bool EP5_IN_callback(){return false;}; virtual bool EP6_OUT_callback(){return false;}; @@ -108,7 +108,7 @@ static void _usbisr(void); static USBHAL * instance; -#if defined(TARGET_LPC11U24) +#if defined(TARGET_LPC11UXX) || defined(TARGET_LPC11U6X) || defined(TARGET_LPC1347) || defined(TARGET_LPC1549) bool (USBHAL::*epCallback[10 - 2])(void); #elif defined(TARGET_STM32F4XX) bool (USBHAL::*epCallback[8 - 2])(void);