declaring vTaskSetApplicationTaskTag

Hey, 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?

declaring vTaskSetApplicationTaskTag

You need to have a define for configUSEAPPLICATIONTASK_TAG 1 in your FreeRTOSConfig.h file

declaring vTaskSetApplicationTaskTag

yeah, that i did already.

declaring vTaskSetApplicationTaskTag

Can you please post the error message. Thanks.

declaring vTaskSetApplicationTaskTag

Sorry for the late reply. I was able to fix it. Thanks

declaring vTaskSetApplicationTaskTag

How did you fix it?

declaring vTaskSetApplicationTaskTag

in my case it gives the following error: undefined reference to ‘vTaskSetApplicationTaskTag’ I typed : vTaskSetApplicationTaskTag (NULL, (void *) 1); “configUSEAPPLICATIONTASK_TAG” is set to 1. but the error continues.

declaring vTaskSetApplicationTaskTag

I have little experience with FreeRTOS and the Eclipse IDE. Should not have a “task.c” in conjunction with “task.h” ??