system
(system)
April 25, 2018, 1:34pm
1
ose wrote on Wednesday, April 25, 2018 :
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?
richard_damon wrote on Wednesday, April 25, 2018 :
You need to have a define for configUSE_APPLICATION_TASK_TAG 1 in your FreeRTOSConfig.h file
system
(system)
April 25, 2018, 2:58pm
3
ose wrote on Wednesday, April 25, 2018 :
yeah, that i did already.
rtel
(Richard Barry)
April 25, 2018, 3:31pm
4
rtel wrote on Wednesday, April 25, 2018 :
Can you please post the error message. Thanks.
system
(system)
April 28, 2018, 6:54pm
5
ose wrote on Saturday, April 28, 2018 :
Sorry for the late reply. I was able to fix it. Thanks
system
(system)
May 27, 2018, 7:57pm
6
system
(system)
May 27, 2018, 8:02pm
7
andrefeliciano wrote on Sunday, May 27, 2018 :
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.
system
(system)
May 27, 2018, 8:17pm
8
andrefeliciano wrote on Sunday, May 27, 2018 :
I have little experience with FreeRTOS and the Eclipse IDE. Should not have a “task.c” in conjunction with “task.h” ??