customize panic handler before reset

davdav
Posts: 208
Joined: Thu Nov 17, 2016 2:33 pm

customize panic handler before reset

Postby davdav » Mon Oct 08, 2018 8:49 pm

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?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: customize panic handler before reset

Postby ESP_Sprite » Wed Oct 10, 2018 2:58 am

No 'nice' way at the moment; modifying panic.c would be the most straightforward way to do this.

Who is online

Users browsing this forum: Bing [Bot] and 89 guests