The device headers come directly from TI. If you file a tracker ticket at http://sourceforge.net/tracker/?group_id=42303&atid=432701, I can forward it to my contact there to see if they can fix it upstream, or if there is a reason (other than history).
I usually work around the issue by adding this in a relevant location in my source code: /* The TI headers are inconsistent as to whether the first Timer_A is controlled via TACTL or TA0CTL. */ #if ! defined(TACTL_) && ! defined(TACTL) #define TACTL TA0CTL #define TAR TA0R #define TACCR0 TA0CCR0 #define TACCTL0 TA0CCTL0 #endif /* TACTL */ #ifndef TIMERA0_VECTOR #define TIMERA0_VECTOR TIMER0_A0_VECTOR #endif /* TIMERA0_VECTOR */ That some TI headers have similar code suggests it's not intentional. Peter On Fri, Feb 3, 2012 at 8:36 PM, Reginald Beardsley <pulask...@yahoo.com> wrote: > I discovered today when compiling a small program for the 2331 that comes w/ > the LaunchPad on a 2553 that the TIMERA0_VECTOR on the 2331 needed to be > changed to TIMER0_A0_VECTOR to compile for the 2553. > > Scanning all the device headers showed that for some parts TIMERA0_VECTOR is > redefined to TIMER0_A0_VECTOR. > > Is there a valid reason for the variance? I can't see any, but there may be > something I'm not aware of. > > I'd like to be able to compile code for any part that had the requisite > facility w/o having to fiddle w/ gratuitous changes in names. So fixing this > is worth my time if it means the problem goes away. Who maintains the device > headers? I wasn't able to find any specifics. > > Have Fun! > Reg > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > 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-dev2 > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users ------------------------------------------------------------------------------ Try before you buy = See our experts in action! 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-dev2 _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users