FreeRTOS, Eclipse IDE, and Syntax Errors

Posted by MSumulong on Stack Overflow See other posts from Stack Overflow or by MSumulong
Published on 2011-06-23T00:08:27Z Indexed on 2012/04/10 11:29 UTC
Read the original article Hit count: 232

Filed under:
|
|
|

I have a slight annoyance when dealing with FreeRTOS code in Eclipse and I'm not sure if it's just me or if other people have this issue too but I see a lot of syntax errors highlighted in my code but it compiles/executes fine. The syntax errors seem to be caused by FreeRTOS specific code like:

signed portCHAR *x;

or

vSemaphoreCreateBinary (semaphore);

or

signed portBASE_TYPE gpsTaskStart (void)
{
  return xTaskCreate (vGPSTask, (const signed portCHAR * const) "GPS", configMINIMAL_STACK_SIZE, NULL, (tskIDLE_PRIORITY + 1), &taskHandles [TASKHANDLE_GPS]);
}

I was wondering if there was a way to configure Eclipse to parse this syntax properly.

© Stack Overflow or respective owner

Related posts about c

    Related posts about eclipse