Page 1 of 1

customize panic handler before reset

Posted: Mon Oct 08, 2018 8:49 pm
by davdav
Is it possible to modify the panic handler before esp32 core dump is output to uart and chip reset?

I would like to save something in flash or in noninit ram to be aware of that sw restart.

Should i modify something in panic.c file?

Re: customize panic handler before reset

Posted: Wed Oct 10, 2018 2:58 am
by ESP_Sprite
No 'nice' way at the moment; modifying panic.c would be the most straightforward way to do this.