cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sin
Visitor
Visitor
381 Views
Registered: ‎03-02-2020

Changing from xilkernel to Freertos

Jump to solution

Hi I am trying to change a project from xilkernel to freertos. I am getting this error in sleep.h. Please advise.

sleep.PNG

0 Kudos
Reply
1 Solution

Accepted Solutions
marcb
Moderator
Moderator
266 Views
Registered: ‎05-08-2012

Hi @sin 

Can you try resetting the BSP sources and compiling again?

Using an example RTOS application, I can see that usleep is declared in the standalone library within the xil_sleepcommon.c file. Is this accessible within the platform? 

---------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------

View solution in original post

1 Reply
marcb
Moderator
Moderator
267 Views
Registered: ‎05-08-2012

Hi @sin 

Can you try resetting the BSP sources and compiling again?

Using an example RTOS application, I can see that usleep is declared in the standalone library within the xil_sleepcommon.c file. Is this accessible within the platform? 

---------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
---------------------------------------------------------------------------------------------

View solution in original post