On 23/11/2011 06:58, Martin Velek wrote:
> Hi,
> 
> I have defined sys_msleep() to vTaskDelay() - (1 tick == 1 ms) in
> sys_arch.h, because the default implementation is quite tricky.

In which case, 1ms is the maximum, and the resolution, not the absolute.
 You cannot have granularity above the tick period, so if you what "at
least" 1ms, the delay period needs to be 2.  Then you will have between
0.99999999 and 1.9999999.


> However the compiler complains about vTaskDelay() redefinition thus I
> had to modify sys.c, see below. Is this modification correct?

??? How have you redefined it?  All you need to do is #include
"FreeRTOS.h", then #include "task.h", then call vTaskDelay() in your code.

Please send any follow ups to this part of your question to the FreeRTOS
support forum, not this list.

Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers.
More than 7000 downloads per month.





_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to