Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: TI C/C++ Compiler
Hello,
I have a project for F28M35 Concerto device which uses C28_F28M35x v207 library. If I build this library and then build and link the main project, the linker fails if the file F28M35x_SWPrioritizedDefaultIsr.c is included in the library build. If I exclude from build the file F28M35x_SWPrioritizedDefaultIsr.c the main project link succeeds.
The linker errors are:
error #10056: symbol "_ILLEGAL_ISR" redefined: first defined in
"C:/Projects/ACU/Libraries/C28/F28M35xLib_207/Release/C28_F28M35xLib_207.lib
<F28M35x_SWPrioritizedDefaultIsr.obj>"; redefined in
"C:/Projects/ACU/Libraries/C28/F28M35xLib_207/Release/C28_F28M35xLib_207.lib
<F28M35x_DefaultIsr.obj>"
error #10056: symbol "_EPWM8_INT_ISR" redefined: first defined in
"C:/Projects/ACU/Libraries/C28/F28M35xLib_207/Release/C28_F28M35xLib_207.lib
<F28M35x_SWPrioritizedDefaultIsr.obj>"; redefined in
"C:/Projects/ACU/Libraries/C28/F28M35xLib_207/Release/C28_F28M35xLib_207.lib
<F28M35x_DefaultIsr.obj>"
error #10056: symbol "_CFLSINGERR_ISR" redefined: first defined in
"C:/Projects/ACU/Libraries/C28/F28M35xLib_207/Release/C28_F28M35xLib_207.lib
<F28M35x_SWPrioritizedDefaultIsr.obj>"; redefined in
"C:/Projects/ACU/Libraries/C28/F28M35xLib_207/Release/C28_F28M35xLib_207.lib
<F28M35x_DefaultIsr.obj>"
error #10056: symbol "_EPWM6_INT_ISR" redefined: first defined in
"C:/Projects/ACU/Libraries/C28/F28M35xLib_207/Release/C28_F28M35xLib_207.lib
<F28M35x_SWPrioritizedDefaultIsr.obj>"; redefined in
"C:/Projects/ACU/Libraries/C28/F28M35xLib_207/Release/C28_F28M35xLib_207.lib
<F28M35x_DefaultIsr.obj>"
and so on, for all functions defined in F28M35x_SWPrioritizedDefaultIsr.c
Seems that every function in F28M35x_SWPrioritizedDefaultIsr.c is already defined in F28M35x_DefaultIsr.c
Using the library with F28M35x_SWPrioritizedDefaultIsr.c excluded from build the main project builds, links and works correctly.
By the way, I have another project which uses the same library (same binary, they are both part of the same workspace) and for this project there is no need to exclude F28M35x_SWPrioritizedDefaultIsr.c from build in order to build and link the main project
Any idea why this happens ?
Thanks
Fabio