Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

errors while building msp430_GCC with MSPGCC4

Posted by Arturo Gurrola on September 6, 2010
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: En la funci'on 'main':
main.c:160: aviso: el puntero que apunta en el paso del argumento 2 de 'xTaskGenericCreate' difiere en signo
../../Source/include/task.h:1255: nota: se esperaba 'const signed char * const' pero el argumento es de tipo 'char *'
make: *** [main.o] Error 1

Any ideas?

RE: errors while building msp430_GCC with MSPGCC4

Posted by Dave on September 6, 2010
Are those not errors in the GCC header file? The last one looks like a warning from FreeRTOS code (Google translate is king) that could be ignored without too much trouble, but the first few are not from FreeRTOS code.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS