xTaskDelayUntil() , vTaskDelayUntil()

when I type vTaskDelayUntil () it will show “‘vTaskDelayUntil’ was not declared in this scope”, but when I type xTaskDelayUntil () it will “” done compling “”

Hello @Hanabi,
First of all, welcome to the FreeRTOS community!

Since this internally calls xTaskDelayUntil, (if you haven’t done this already), you’ll need to define the INCLUDE_xTaskDelayUntil macro to 1 in FreeRTOSConfig.h file in your project.
Additionally, since this is a macro you might need to include task.h into the module calling the function.

Apologies that the documentation has not been updated. We are working on it though.
Hope this solves your issue.


Find the file FreeRTOSConfig.h in your project and make sure this two symbolic constants are set to 1:

#define INCLUDE_vTaskDelayUntil                 1
#define INCLUDE_vTaskDelay                      1