Look for the isr_compat.h header in the msp430-libc include directory.
 It's supposed to do that (I don't use/test it, so can't say for
sure).

Peter

On Tue, Feb 21, 2012 at 8:54 AM, Shintako Developer <d...@shintako.com> wrote:
> Hello all,
>
> I am trying to write a program for the MSP430 which is compatible with IAR,
> CCS, and MSPGCC. I have all three compilers installed on my Windows system.
> Ideally, I would just open up MinGW and say "make mspgcc" or "make iar" and
> it would call the command line compilers and build everything magically.
>
> The biggest different that I can find is how interrupts are declared. My
> question: is there any elegant way to support a multi-compiler environment
> without having two separate code bases? I am guessing there will be one or
> two #ifdefs in there, however I was hoping that I wouldn't have to
> "butcher" my code too much.
>
>
> I have been trying to make a C macro which accounts for the differences in
> interrupt declarations, however I am not too skilled with C macro wizardry.
> Is there one out there that someone doesn't mind sharing?
>
> BR,
> Dev
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to