We’ve been using Freertos for 1 year for our embedded projects and we really love it.
A bit of context : our main target is a Cortex M33 (LPC55S69) which has plenty of flash and RAM.
We’ve started to port our C code base to C++ and we wonder if we can enable the C++ exceptions safely with the Freertos multithreaded environnement?
We use NXP Mcuxpresso IDE with newlib-none.
I think C++ is (or was) not officially supported by Freertos, but it works very well when C++ exceptions are disabled. However, when we enable it, it seems that the stack unwinding process is not working correctly when an exception is thrown. Sometimes it works, sometimes the terminate handler is called. So if it is supported, what do I have to enable / define to make exceptions thread safe? If it is not, can you point me to another forum / people who know this stuff?