Version of USBDevice that works for KL25Z on Mbed OS2.
Fork of USBDevice by
Diff: USBDevice/USBHAL.h
- Revision:
- 11:eeb3cbbaa996
- Parent:
- 10:1e3d126a322b
- Child:
- 16:4f6df64750bd
--- a/USBDevice/USBHAL.h Thu May 30 17:16:57 2013 +0100 +++ b/USBDevice/USBHAL.h Mon Aug 05 14:13:36 2013 +0300 @@ -21,10 +21,11 @@ #include "mbed.h" #include "USBEndpoints.h" +#include "toolchain.h" -#ifdef __GNUC__ -#define __packed __attribute__ ((__packed__)) -#endif +//#ifdef __GNUC__ +//#define __packed __attribute__ ((__packed__)) +//#endif class USBHAL { public: