Could be this:

https://sourceforge.net/tracker/?func=detail&aid=3038718&group_id=277223&atid=1177287

Make sure you're using the latest TI headers version of msp430-libc.  That
should be the ti-20100829 release.

If you are, it may be that there's another header named "iomacros.h" that is
being included instead of the one that is needed.

Peter

On Mon, Sep 6, 2010 at 1:03 PM, Arturo Gurrola <[email protected]>wrote:

>  I'm using mspgcc4 (http://sourceforge.net/projects/mspgcc4/) to build
> FreeRTOS' msp430_GCC demo, this is what the "make" command throws:
>
> make
> msp430-gcc -c -mmcu=msp430x449 -Os -g -I. -I../../Source/include
> -I../Common/include -DGCC_MSP430 -Wall -Wshadow -Wpointer-arith
> -Wbad-function-cast -Wcast-align -Wsign-compare -Waggregate-return
> -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wunused
> main.c -o main.o
> In file included from ./FreeRTOSConfig.h:57,
>                  from ../../Source/include/FreeRTOS.h:67,
>                  from main.c:85:
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:232:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:241:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:256:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:277:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:286:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:301:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:310:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:657:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:714:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:759:
> error: expected ")" before numeric constant
>
> /cygdrive/c/mspgcc4/bin/../lib/gcc/msp430/4.4.4/../../../../msp430/include/msp430x44x.h:861:
> error: expected ")" before numeric constant
> main.c: In function "main":
> main.c:160: warning: pointer targets in passing argument 2 of
> "xTaskGenericCreate" differ in signedness
> ../../Source/include/task.h:1255: note: expected "const signed char *
> const" but argument is of type "char *"
> make: *** [main.o] Error 1
>
>
> So the problems seem to be coming from mspgcc (msp430x44x.h).
>
> Any ideas?
>
>
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
>
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>

Reply via email to