ChibiOS-Arduino
ChibiOS-Arduino copied to clipboard
IDE 1.8.0 build error
trafficstars
Downloaded code, copied libraries over, and attempted chBlink example build with IDE 1.8.0
build error:
chThdExit' referenced in section .text' of C:\Users\DC\AppData\Local\Temp\ccDAKp0y.ltrans0.ltrans.o: defined in discarded section `.text' of libraries\ChibiOS_AVR\utility\chthreads.c.o (symbol from plugin)
collect2.exe: error: ld returned 1 exit status
exit status 1 Error compiling for board Arduino/Genuino Uno.
There is a bug in the version of avr-gcc in 1.8.0
See this for a workaround.
It's an old gcc bug that was fixed but has reappeared.
Ah OK, thank you. Yes that worked.