_BIC_SR_IRQ and _BIS_SR_IRQ are throwing errors under the CVS pulls from
2003/10/14. The warning I'm told is to be expected, at the moment. However,
the error is not.
interrupt (TIMERB0_VECTOR) timerb0_interrupt (void)
{
_BIC_SR_IRQ (LPM3); // Line 72
}
timer.c: In function `timerb0_interrupt':
timer.c:72: warning: concatenation of string literals with __FUNCTION__ is
deprecated
timer.c:72: syntax error before "asm"
Generated by the preprocessor (msp430-gcc -W -Wall -mmcu=msp430x147 -O2 -g -c
timer.c -E -o timer.s):
__asm__ __volatile__ ( "bic %0, .L__FrameOffset_" __FUNCTION__ "(r1)" : : "i"
((uint16_t)(__asm__ __volatile__( "bis %0, r2" : : "i" ((uint16_t)0x0080
+0x0040 +0x0010) );)) );
If LPM3 is changed to CPUOFF, it compiles (still with the warning). So
something about the addition seems to be confusing the compiler or assembler.
--John