Solved
undefined reference to `osalThreadSleepS'
Posted on October 31, 2013 at 12:20
Hello,
i have a question. Bulding CAN code based on example for SPC56ELx produce this error:build/obj/can.o: In function `canStart':
can.c:(.text_vle.canStart+0x2c): undefined reference to `osalThreadSleepS' collect2: ld returned 1 exit status make: *** [build/out.elf] Error 1 CAN configuration it is same that example. But i have added Chibios. I have replaced osalThreadSleepS(1) with osalThreadSleepSeconds(1) in :C:\SPC5Studio\eclipse\plugins\org.chibios.spc5.components.spc5hal_1.0.0.201310031641\component\lib\src
But it seem not correct. Why compiler don't find functionosalThreadSleepS
? there are conflicts with Chibios? #osalthreadsleeps #can