Hi

I created a simple application including only the cc430x613x.h
header. Now the compiler is reporting some errors:

/opt/msp430-
gcc-4.4.4/lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430/dmax.h:85:
Fehler: expected »)« before numeric constant

In the dmax.h file the sfra(DMA0SA, DMA0SA_) marco fails.
It is not  preprocessed some how. I checked first the preprocessor
output and it seams clear that its not correct done:

from:  sfra(DMA0SA, DMA0SA_);
to:       sfra(DMA0SA, 0x0500 + 0x02);

sfra is not replaced.  A closer lock in the iomacros.h files shows
that __MSP430X__ might not be set. I have no idea what that
define is used for. There is also an __MSP430X2__ which seams to 
be set. Does anybody have an idea what went wrong?

I tried to  the most current versions of gcc and libc
msp430-gcc (MSPGCC4_20101006) 4.4.4

Best Regards,
Andreas

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to