I have a file tr_port.c. I am compiling this and getting this error
Symbol __TI_int55 has already been defined
.intvec ".int55", isr_compare_match
isr_compare_match is an interrupt function. i also have another function isr_counter_rollover
#pragma vector=TIMER0_A0_VECTOR
__interrupt void isr_counter_rollover(void)
{
HALINT_ISR_ENTRY();
/* This can also be done using the TAIV|TBIV register.
* However, accessing that register automatically resets the
* highest priority outstanding interrupt. There may be
* higher priority interrupts than what this handler can
* support. So since, we are only handling a subset of
* interrupts in this handler, it is best to not touch
* TAIV|TBIV.*/
/* Update subunits and check for timer rollover */
if (halint_update_timer_subunits()) {
/* If timer has rolled over */
if (halint_re_alarm_after_rollover() ) {
OS_KERNEL_TRAP();
}
}
HALINT_ISR_EXIT();
}
/** Interrupt function for a compare match */
#pragma vector=TIMER0_A0_VECTOR
__interrupt void isr_compare_match(void)
{
HALINT_ISR_ENTRY();
/* We are not enabling interrupts, and we have explicit
* knowledge of whether a context switch is required, so we
* don't use OS_ISR_BEGIN and OS_ISR_END. */
halint_disable_timer_compare();
/* Update subunits */
halint_update_timer_subunits();
if ( osint_alarm_reached(&hal_os_time ) )
OS_KERNEL_TRAP();
HALINT_ISR_EXIT();
}
I do not what is this error and what is causing this. Please guide in this regard.