Execute custom code before guru meditation error
Posted: Tue Mar 28, 2023 8:37 pm
I am using the esp32 Arduino core 2.0.7 and the Arduino IDE. I want to execute some custom code before a guru meditation error.
The esp_register_shutdown_handler() seems to do this before esp_restart. Is there a similar way of registering a handler that is invoked before a guru meditation error - or any other way of getting the custom code executed?
The esp_register_shutdown_handler() seems to do this before esp_restart. Is there a similar way of registering a handler that is invoked before a guru meditation error - or any other way of getting the custom code executed?