Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem mbed-rtos
Dependents: BTstack WallbotWii SD to Flash Data Transfer USBHost-MSD_HelloWorld ... more
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!