Closed tdicola closed 6 years ago
I made the _usb_ep1_cache
cache warning go away by declaring it in usb.c
as:
extern uint32_t _usb_ep1_cache[];
instead of
extern uint32_t *_usb_ep1_cache;
The extern
declaration is there as a part of a hack to get around some bug or other issue with the ASF4 USB stack. @tannewt is reaching into an internal data structure to get the input characters.
The other warning is explained in #248: it's a gcc LTO bug. The LTO folks are testing a fix, so we should see it eventually.
First warning is fixed. Second warning awaits a gcc LTO fix beyond our control, so closing this.
I noticed some non-fatal warnings when building the current master/3.0 branch for circuit playground express:
Opening to keep track and push for zero warnings with 3.0.