Good environment for developing with FreeRTOS

Hello, I am currently developing code for one of NXP micro controllers that runs FreeRTOS. My primary tool is MCUXpresso IDE, but whenever I have the need to investigate deeper FreeRTOS code I find it a little less convenient, even after building my uc image with the mcu ide. I would like to ask here if someone has a similar setup or even an advice.

Yours, E.

Can you be more specific about what you would like to be able to do that can’t be done with MCUXpresso so we know what to suggest.

Yes, It is the sort of the basics - there are defines that aren’t expanded, and also there is no marking of which d section of ifdef takes place. Another example is that some of the redirection command are not working properly (by redirection command i mean to the commands that allow jumping to the definition or declaration of a token)


MCUXpresso is built on top of Eclipse - make sure you have the index built. You can also use VSCode to browse code.

There are also heuristic settings in the indexer, accessible through the options menu, that can cause those symptoms. Additionally, generally the indexer won’t work if you use a makefile buid in Eclipse rather than a managed build.

Hi, I’m a heavy user of MCUXpresso IDE and LPC microcontrollers. MCUXpresso runs on top of Eclipse (plus CDT), so you can investigate how to squeez this platform.

However, when it’s time to seriously hack the source code then I use these tools as well (old school, although I’m not that old):

  1. gVIm. My primary source code editor (I don’t code inside MCUXpresso).
  2. Exhuberant ctags and cscope.
  3. Codequery (cscope with steroids. Not sure if it exists out of the Linux world).
  4. Doxygen (it creates beautiful diagrams for several relationships from the source code).

When it’s time of hardware debugging through JTAG, then I use the Ozone IDE (from Segger. You need a jlink hardware debugger). However, MCUXpresso IDE is good enough for when using other jtag debuggers.


Hey, thanks for your comments. I will reply later

Hi, I would like to reply to last comments:

  1. The problems that I described (Or maybe its better to say- the not optimal coding I experience) is after I build the index. And in vs code the situation is not better, while in addition I need to use clangd server, and build with bear to have all of that.
  2. I indeed use makefile, but its minor and used for some includes from another repository (which its code is specifically not related to this free-rtos discussion). Still think that may be the issue?
  3. I still need some time to examine cscope and ctag, as i have never used them before. How is that they help you more than the regular IDE?
  4. And about Codequery, Doxygen: sounds very interesting. I still need to read and experience these myself. I will write here after doing so.

as before, thanks for the comments. Im still searching for how to improve the coding experience