Hi people,
I'm stuck on a linker error. I'm using MSP430 compiler v4.2.2 in CCS 5.1. The console says:
error #10056: symbol "__TI_int20" redefined: first defined in "C:\ti\ccsv5\tools\compiler\msp430_4.2.2\lib\rts430x_lc_sd_eabi.lib<int20.obj>"; redefined in "[MY_PATH]\_hal_teste.lib<msp430xg461x_isr_vector_port_1_2.obj>"
error #10056: symbol "__TI_int17" redefined: first defined in "C:\ti\ccsv5\tools\compiler\msp430_4.2.2\lib\rts430x_lc_sd_eabi.lib<int17.obj>"; redefined in "[MY_PATH]\_hal_teste.lib<msp430xg461x_isr_vector_port_1_2.obj>"
error #10010: errors encountered during linking; "_ex_teste.out" not built
I'm trying to link a static lib to my executable project, and I get that error. When I try to compile all together from source (without linking my library) it goes just fine.
What I understand from it is that the linker thinks I'm redefining the interrupt vectors that where defined before in the rts lib. But isn't it the way to define the ISR vectors?
What can be causing it and how can I proceed?