Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 11 months ago.
GCC (ARM embedded) export doesn't work? Cannot even compile the program...
The example program USBHostKeyboard_HelloWorld doesn't seem to compile when exported to GCC (ARM embedded).
I get this kind of warnings and errors:
...
USBHost/USBHost/USBHostTypes.h:191:3: warning: 'packed' attribute ignored [-Wattributes] } ConfigurationDescriptor; ^ USBHost/USBHost/USBHALHost.cpp:42:24: error: ISO C++ forbids declaration of 'align' with no type [-fpermissive] static volatile align(256) uint8_t usb_buf[TOTAL_SIZE] attribute((section("AHBSRAM1"),aligned)); 256 bytes aligned!
...
Is the GCC platfom supported at all ??