FreeRTOS, Eclipse IDE, and Syntax Errors

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;


vSemaphoreCreateBinary (semaphore);


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.


I think you just have to update your Eclipse project configuration for the incremental checker to be able to find FreeRTOS symbol definitions.

Right click on your project > Properties > C/C++ General > Path and Symbols > Includes. Add the FreeRTOS folder there.

Go to project settings > directories and include all directories containing .h files (including portable/GCC/%yourplatform%). Once done, make a build. This should work, at least works for me.

Need Your Help

Objective-C function pointer block property

objective-c properties automatic-ref-counting function-pointers objective-c-blocks

I'm trying to implement something similar to the C# delegate concept in Objective-C. I assumed it could be done, but I'm struggling to make it work. I've set up a type def for my block:

Xcode hang with lots of console messages: “Adding <filename> to localisation file set”

xcode localization console hang

Xcode is hanging at various places, at start up, when saving, and during general use. The beachball appears and when I check out I am seeing lots of log-lines reading "Adding filename to

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.