FreeRTOS, Eclipse IDE, and Syntax Errors
- by MSumulong
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.