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 ??

Question relating to:

Be the first to answer this question.