Tool/software: TI-RTOS
Hi,
I just started developing on the CC2640R2 and I am trying to generate periodic interrupts. Since there is no example, I started with the empty project. There is some sample code in the Timer.h file that I added to the empty project:
Timer_init();
Timer_Handle handle;
Timer_Params params;
int32_t status;
Timer_CallBackFxn callBack = manageInterrupts;
Timer_Params_init(¶ms);
params.periodUnits = Timer_PERIOD_HZ;
params.period = 1000;
params.timerMode = Timer_CONTINUOUS_CALLBACK;
params.timerCallback = callBack;
//handle = Timer_open(Board_GPTIMER0A, ¶ms);
if (handle == NULL) {
// Timer_open() failed
while (1);
}
status = Timer_start(handle);
when I try to compile, I get this error:
unresolved symbol Timer_config, first referenced in C:/ti/simplelink_cc2640r2_sdk_1_40_00_45/source/ti/drivers/lib/drivers_cc26x0r2.aem3<Timer.oem3>
I don't understand what the problem is and I cannot find any sample code for periodic timers online either. Any help would be much appreciated.
Kind regards,
Lukas