I am attempting to add a FreeRTOS Software Timer to send out a periodic message about system status in the MQTT Client example.
To start, I update the configUSE_TIMERS define in FreeRTOSConfig.h to the value of 1. I then re-built my oslib project and verified that a timers.obj file was created.
I preceded to add the required include and other components to main.c to introduce a timer into the project.
#include "FreeRTOS.h" #include "task.h" #include "semphr.h" #include "timers.h" #include "portmacro.h" TimerHandle_t Msg_Timer; void MsgTimerCallback( TimerHandle_t pxTimer ) { ... } Msg_Timer = xTimerCreate("MsgTimer", (100 * 1000), pdTRUE, NULL, MsgTimerCallback);
xTimerStart(Msg_Timer, 0);
When building the project, the linker complains about unresolved symbols, xTimerCreate and xTimerGenericCommand.
Has anyone else encountered this problem?
Thanks,
Scott
Details:
Code Composer Studio V6.1.0.00104
TI Compiler V5.2.5
SDK: CC3200 1.1.0