Search code examples
rtosfreertoscompiler-specific

FreeRTOS compiler


I just started learning FreeRtos. I have started with "Using the FreeRtos Real Time Kernel" pdf book of Richard Barry. The book has comprehensive examples and I understood the principles very well but I want to be able to compile this examples somewhere.

Now this may sound like a dumb question but I'm totally new to RTOS :D. What compiler can I use to compile freeRtos code? I have googled a lot and I found some compiler named Watcom and tried to run some code in it but couldn't and could not find any examples on how to use this compiler.

So basically what I would like is some examples of actually someone showing how to run simple freeRtos code in a compiler then run it and see the actual results in a console.

Any links would be appreciated. Thank you for reading!


Solution

  • FreeRTOS supports a large range of compilers. The officially supported compilers for each officially supported port are listed on the Official FreeRTOS Ports page.

    You can use any of the compilers listed (and probably more, but they won't be officially supported). In general, you should be able to keep using what you already use, since FreeRTOS typically supports the standard vendor-supplied compiler of whatever platform you are using.