It appears that me ISR declarations are not compatible with code composer 3. Is
that I should stick with the existing IAR style pragmas. This is undeerstood by
looking at the end of the msp430f2x3x.h file where you can see the old isr
definitions commented out.
Rich
--- In m..., "Richard" wrote:
>
> I am port code written for IAR to CC. I am struggling with the ISRs. IAR ISR
declarations involve pragmas. So I am removing the pragmas and replacing the
ISR declarations as in the example below. This has worked fine in many
projects.
>
> This is in a header file:
>
> __interrupt void Timer_A0(void); // Prototype for ISR
> #define TIMERA0_SERVICE TIMERA0_ISR(Timer_A0) __interrupt void Timer_A0 (void)
>
> In the module:
>
> The ISR....
>
> TIMERA0_SERVICE
> {
> ......
>
> I am getting the following warning associated with the line
"TIMERA0_SERVICE":
> invalid storage class for a parameter
>
> and an error associated with the same line:
> expected a ";"
>
> Any help would be appreciated.
>
> Rich
>