AnsweredAssumed Answered

undefined reference to `osalThreadSleepS'

Question asked by sciscio.berardo on Oct 31, 2013
Latest reply on Nov 8, 2013 by Giovanni Di Sirio
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 function osalThreadSleepS?  there are conflicts with Chibios?

Outcomes