Other Parts Discussed in Thread: MSP430F2122
Hi
I was tidying up some of my code by ading the __even_in_range intrinsic or the default: _never_executed(); to a switch statement executed during the Timer_A interrupt. Since adding this I get a linker warning:
"C:\......\AppData\Local\Temp\0363210", WARNING! at line 241:
[W0000]
Section .text:Timer_A already has .RETAIN specified - ignoring .CLINK
directive
.clink
No Assembly Errors, 1 Assembly Warning
'Finished building: ../main.c'
This only occurs if there are more than two options for the switch statement and occurs with both the __even_in_range() and _never_executed() functions. What does this mean and does it matter if I ignore it?
Also, in CCS5.1.1 I am getting a warning about there being no break statement after the 'case default:' in my main program, but when I did a stripped down version of the program to demonstrate the above error the 'no break' warning disappeared. Any thoughts?
Thanks
Steve