I am using TI’s EK-1294XL board for development and FreeRTOS. One of my requirement is to run some of tasks at every 10 seconds. To do this I am creating Timer task using xTimerCreate() but while trying to build it is saying that task is not available.
I included the source file and also while writing code the function is accessible but while doing compilation it is giving error.
Using Code Composure Studio for development and using CCS compiler for build. Not using GCC.
Any solution for this?
Hi,
Got the issue resolved. Now able to build the project.
Creating timer using follow:
xTimerCreate(“TimerHndl”, (100), pdTRUE, (void *)1, UserTimerTask)
Inside UserTimerTask() just have the Print statement.
This functions should go to UserTimerTask() at every 100 ticks but its not running the callback even once.
Other normal task created are working fine.
Any reason for not going inside callback function?
Hi,
Problem was with stack size of Timer task. It was not sufficient which I allocated (32 word size was not enough, at least 128 word size is required for TI processor I am using).
So timer was not able to run. Timer handler was not able to start but it was not creating any error so was not able to figure out issue.
Thanks for your help.