i am trying to use the vTaskApplicationTaskTag (just like in the example in the link below) but it seems not to be recognised though i have followd the instructions here https://www.freertos.org/vTaskSetApplicationTag.html . I keep getting the error that it has not been declared.
Please what could be the problem?
You need to have a define for configUSE_APPLICATION_TASK_TAG 1 in your FreeRTOSConfig.h file
in my case it gives the following error:
undefined reference to ‘vTaskSetApplicationTaskTag’
I typed :
vTaskSetApplicationTaskTag (NULL, (void *) 1);
“configUSE_APPLICATION_TASK_TAG” is set to 1.
but the error continues.