Relative Content

Tag Archive for c++esp32freertos

ESP32 FreeRTOS crashes when calling callback between tasks

I’m trying to implement the observer pattern on ESP32H2 device (devkit). I have 2 FreeRTOS tasks (in 2 files), there is a register callback function in one file, which is used to pass a callback to be called, when the second task is ready to pass data to the first one.