with C++

sorinl wrote on Sunday, May 05, 2019:

richarddamon wrote on Sunday, May 05, 2019:

If your question is can you use FreeRTOS with C++, yes you can. I have some wrappers that make the API more object oriented at https://github.com/richard-damon/FreeRTOScpp (I am sure there are likely others around too)

The one small trick is that you need to compile the FreeRTOS files as a C program (not C++), and any ‘by name’ callbacks must be defined as extern “C” functions.