I have a very strange behavior on my project, made out of a static library project, and an executable linking it.
On the library, I implemented most of the interrupt handlers, but compiling the executable I got warnings that some of those were not present (compiling the library alone in itself doesn't give anything).
Code is generically like:
#pragma vector=ADC10_VECTOR
__interrupt void ADC10_ISR()
{
// ...
}
So I played a little, and I discovered a crazy thing: if I move all the interrupt handlers on certain source files, they all get compiled and linked, but if I move them on other files, they don't go in the final executable, resulting in the warning as in subj.
The only thing I can think of is of different compiler settings on different source files, even if I created them with CCS and I didn't touch anything so specific.
Is there anyone that already find out a problem like this? Do you have any ideas on what to try?
Thanks in advance
Andrea