> Looking in msp430x54xx.h, __MSP430_HAS_USCI0_5__ and
> __MSP430_HAS_USCI1_5__ are declared -- so something odd is happening!

I use USCI1 - it seems that all things that all about USCI1 is commented
out:

msp430/include/msp430/usci.h

#if defined(__MSP430_HAS_USCI1_5__)

/* -------- USCI1_5 */          

// tbd
/*#define UCA1CTL0_           0x0601     <<< it's commented!
#define UCA1CTL0_L         0x0601
#define UCA1CTL0_H         0x0602
#define UCA1CTL1_           0x0600
#define UCA1CTL1_L         0x0600


Does it mean that USCI1 is not supported yet?

---
Dmitry


> > $ msp430-gcc -Os -mmcu=msp430x5418 ./led.c -o led.elf 
> > In file included from /opt/mspgcc/msp430/include/msp430x54xx.h:51,
> >                  from /opt/mspgcc/msp430/include/io.h:152,
> >                  from led.c:8:
> > /opt/mspgcc/msp430/include/msp430/usci.h:426: conflicting types for 
> > `UCB0I2COA'
> > /opt/mspgcc/msp430/include/msp430/usci.h:303: previous declaration of 
> > `UCB0I2COA'
> > /opt/mspgcc/msp430/include/msp430/usci.h:428: conflicting types for 
> > `UCB0I2CSA'
> > /opt/mspgcc/msp430/include/msp430/usci.h:305: previous declaration of 
> > `UCB0I2CSA'
> > In file included from led.c:9:
> > /opt/mspgcc/msp430/include/signal.h:39:2: warning: #warning X2 ist da
> 
> This is because you've declared the __MSP430_HAS_USCI0__ and
> __MSP430_HAS_USCI1__ constants, which aren't for the 5xx devices.
> 
> > BTW, there were alse errors during build libc from the latest CVS
> > snapshot - see diff:
> 
> This error is fixed by the patch I sent last week:
> http://article.gmane.org/gmane.comp.hardware.texas-instruments.msp430.gcc.user/7833
> 
> I don't think it's hit CVS yet though.
> 
> Cheers,
> 
> Rob
> 
> 
> ------------------------------------------------------------------------------
> Are you an open source citizen? Join us for the Open Source Bridge conference!
> Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
> Need another reason to go? 24-hour hacker lounge. Register today!
> http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to