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?

Reply via email to