Hey all!
I'm attempting to use a timer on the CC2650, and I'm getting an error I'm not sure what to do with when I try to create the timer structure.
Here is my list of includes:
/* XDC module Headers */ #include <xdc/std.h> #include <xdc/runtime/System.h> /* Example/Board Header files */ #include "Board.h" /* BIOS module Headers */ #include <ti/sysbios/BIOS.h> #include <ti/drivers/Power.h> #include <ti/drivers/power/PowerCC26XX.h> /* Device specific timer module based on the sysTick timer in the ARM M3 Refer to the CCS "help" guide under module ti.sysbio.hal.Timer */ #include <ti/sysbios/family/arm/m3/Timer.h>
...
And here is the code where I try to initialize the structure.
// Ti RTOS drivers require instantiation of both an object and hardware attribute Timer_struct tmr0Struct; Clock_handle tmr0Handle;
...
And here is the error.
"pathtofile...", line 66: error #760: function "ti_sysbios_family_arm_m3_Timer_struct" is not a type name
"pathtofile...", line 67: error #760: function "ti_sysbios_knl_Clock_handle" is not a type name
Any idea if I'm missing an include or doing something wrong?
Thanks!