Quantcast
Channel: Other wireless technologies forum - Recent Threads
Viewing full articles (6770 articles)
Browse article index
↧

cc2640 __vecto_table linking error over IAR 7.70.1

$
0
0

I am using ti/sysbios/family/arm/cc26xx/Timer.h module for create an interrupt Timer software as follows:

static  uint16_t EPD_Counter;

static Timer_Handle timerHandle = NULL;
static Timer_Params timerParams;

void tickFxn(UArg arg);
uint32_t period = 20;//ms

Timer_FuncPtr tickFxnPtr;

//Configuration and start

timerParams.arg = (UArg)NULL;
timerParams.extFreq.hi = 0;
timerParams.extFreq.lo = 0;
timerParams.hwiParams = (Hwi_Params*)NULL;
timerParams.period = (uint32_t)0;
timerParams.periodType = Timer_PeriodType_MICROSECS;
timerParams.runMode =Timer_RunMode_CONTINUOUS;
timerParams.startMode = Timer_StartMode_USER;

timerHandle = Timer_create(Timer_ANY, tickFxn, &timerParams, NULL);
Timer_setPeriod(timerHandle, period);

tickFxnPtr = Timer_getFunc(timerHandle, &timerParams.arg);

EPD_Counter = 0;

Timer_start(timerHandle);

void stop_EPD_timer(void) {

Timer_stop(timerHandle);

}

uint32_t get_current_time_tick(void) {

return EPD_Counter;

}

void tickFxn(UArg arg){

EPD_Counter++;

}

However, when I build the project, appears the next linking error:

Error[Li006]: duplicate definitions for "__vector_table"; in "C:\ti\simplelink\ble_sdk_2_02_00_31\examples\cc2650lp\simple_peripheral\iar\config\configPkg\package\
cfg\app_ble_prm3.orm3", and "vector_table_M.o(rt7M_tl.a)"

Please can you tell me what do I have to do to solve this?

Thank you so much for your attention,

Jesy

↧

Viewing full articles (6770 articles)
Browse article index

Latest Images

Trending Articles



Latest Images