Tool/software:
Hi experts,
I want a task to run periodically every 1 ms, so I have used the code below.
TickType_t xLastWakeTime;
const TickType_t xFrequency = pdMS_TO_TICKS(1);
// Initialise the xLastWakeTime variable with the current time.
xLastWakeTime = xTaskGetTickCount();
while(1)
{
if (gbShutdown == 1u)
{
break;
}
/*User code as per application*/
vTaskDelayUntil( &xLastWakeTime, xFrequency );
}I don't know why this error is coming can you help me to resolve this.
When I searched for the task.c file, I found a macro-guarded(#if ( INCLUDE_xTaskDelayUntil == 1)), but unfortunately, I didn't find that in the included header files.
error that I received while compiling is more likely in the make file.


Regards,
Debashis
