Hi Steve, Thanks. Will it be added to mspgcc?
I think it would be a big step forward even for IAR, because you have to port the ISRs from IAR V1 to IAR V2 and from IAR V2 to IAR V3, so the old C code examples from Ti, with ISRs, do not work with the current IAR version. Regards, Rolf ------------------------ true-random.com/freelancing mspgcc-users@lists.sourceforge.net schrieb am 18.10.05 16:50:08: > > Hi Chris, > > Thanks. The attached version makes use of __TI_COMPILER_VERSION. > > Regards, > Steve > > Recoskie, Chris wrote: > > >I looked at your header file and noticed you had a hard time finding a > >macro to use to identify CCE. You can use the macro > >__TI_COMPILER_VERSION to detect the TI code generation tools in general. > > > >___________________________________________ > > > >Chris Recoskie > >Software Designer > >Texas Instruments, Toronto > >http://eclipse.org/cdt > > > > > > > > > >>-----Original Message----- > >>From: mspgcc-users-ad...@lists.sourceforge.net [mailto:mspgcc-users- > >>ad...@lists.sourceforge.net] On Behalf Of Steve Underwood > >>Sent: Tuesday, October 18, 2005 9:35 AM > >>To: mspgcc-users@lists.sourceforge.net > >>Subject: Re: [Mspgcc-users] compiler-independent ISR declarations > >> > >>Hi Rolf, > >> > >>Excellent idea. However your version seems incomplete. The attached > >> > >> > >file > > > > > >>tries to work with MSPGCC, Quadravox, IAR 1-3, Rowley, and CCE. I > >> > >> > >tried > > > > > >>it briefly (not thoroughly) with MSPGCC, Quadravox, IAR 3.x, and CCE. > >> > >> > >It > > > > > >>seems to work OK. > >> > >>I'd like to get this tested and into CVS when it has been reviewed a > >>little. I need to write code that is built with multiple compilers, > >> > >> > >and > > > > > >>the ISR definitions have been annoying me for a while. Your posting > >>prompted me to finally address the issue. > >> > >>Regards, > >>Steve > >> > >>nobo...@web.de wrote: > >> > >> > >> > >>>Hi, > >>> > >>>i made macros for compiler-independent ISR declarations to have a C > >>> > >>> > >code > > > > > >>>which can be compiled with mspgcc, IAR V1 and crossworks: > >>> > >>>http://random.linux-site.net/files/unsorted/mspgcc/compiler.h > >>> > >>>I think it would be a good idea to add it to mspgcc because it would > >>> > >>> > >>force TI > >> > >> > >>>to do the C examples compiler independent. > >>>I used the current version with mspgcc and crossworks. > >>> > >>>Regards, > >>> > >>>Rolf > >>> > >>> >