The file isr_compat contains macro definitions which work for both compilers 
(and others).
(see my other post)
Of course youi'll need the file in your IAR include path if you compile with 
IAR then.

JMGross


----- Ursprüngliche Nachricht -----
Von: Paul F. Sehorne
An: GCC for MSP430 - http://mspgcc.sf.net
Gesendet am: 21 Mai 2010 22:53:21
Betreff: [Mspgcc-users] Porting TI Chronos Sport Watch firmware from IAR to 
MSPgcc - STEP 2

//wrapped the following to accommodate mspgcc compiler
#ifdef CC__MSPGCC  // CC__MSPGCC is defined in makefile
#include<signal.h>
interrupt (ADC12_VECTOR) ADC12ISR (void)
#else
#pragma vector=ADC12_VECTOR
__interrupt void ADC12ISR (void)
#endif


Reply via email to