Hello all, I am trying to protect my display device with a mutex or semaphore. When I add functions (os_sem or os_mut) to my object the project compiles fine, but I get into the HardFault_Handler before I even hit main. It seems like the presence of these function calls in an c++ Object causes the problem. If I call from outside an Object like in a task loop, then there is no problem. Is there something I can do?
Thanks! Ben