You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building with make clean; make -j8 TARGET=CF2 LTO=1 yields the following warnings/errors:
src/drivers/interface/ws2812.h:5:6: warning: type of 'ws2812Send' does not match original declaration [-Wlto-type-mismatch]
void ws2812Send(uint8_t (*color)[3], uint16_t len);
^
src/drivers/src/ws2812_cf2.c:172:6: note: type mismatch in parameter 2
void ws2812Send(uint8_t (*color)[3], int len)
^
src/drivers/src/ws2812_cf2.c:172:6: note: type 'int' should match type 'uint16_t'
/Users/stro/.local/share/gcc-arm-none-eabi/arm-none-eabi/include/sys/_stdint.h:36:20: note: the incompatible type is defined here
typedef __uint16_t uint16_t ;
^
src/drivers/src/ws2812_cf2.c:172:6: note: 'ws2812Send' was previously declared here
void ws2812Send(uint8_t (*color)[3], int len)
^
src/drivers/src/ws2812_cf2.c:172:6: note: code may be misoptimized unless -fno-strict-aliasing is used
/var/folders/z_/vk4r28_515s8wx74gvlq84_w0000gn/T//ccivFwGD.ltrans15.ltrans.o: In function `PendSV_Handler':
<artificial>:(.text+0x466): undefined reference to `vTaskSwitchContext'
collect2: error: ld returned 1 exit status
make: *** [cf2.elf] Error 1
rm version.c
Building with
make clean; make -j8 TARGET=CF2 LTO=1
yields the following warnings/errors:These changes get it to build cleanly:
The text was updated successfully, but these errors were encountered: