USBHost library.
NOTE: This library is only officially supported on the LPC1768 platform. For more information, please see the handbook page.
Dependencies:
FATFileSystem
mbed-rtos
Dependents:
BTstack
WallbotWii
SD to Flash Data Transfer
USBHost-MSD_HelloWorld
... more
1 comment:
sebadavalle
#
22 Aug 2013
Hi Mike,
I was able to compile the USBHost library using GCC. The change I made related with this error is the following:
- replace struct definitions from this:
typedef packed struct {
uint32_t data;
} mystruct;
- to this
typedef struct
{
uint32_t data;
} attribute((packed)) mystruct;
This changes should solve your problem..
Regards!
Hi Mike,
I was able to compile the USBHost library using GCC. The change I made related with this error is the following: - replace struct definitions from this:
typedef packed struct { uint32_t data; } mystruct;
- to this
typedef struct { uint32_t data; } attribute((packed)) mystruct;
This changes should solve your problem..
Regards!