Delay/prevent reboot after fault?

rackman
Posts: 2
Joined: Tue Nov 19, 2019 4:24 pm

Delay/prevent reboot after fault?

Postby rackman » Tue Nov 19, 2019 4:35 pm

This may be a more general freertos problem, apologies if so.
During development I often make mistakes that end up with the stack trace getting printed etc and the esp32 rebooting. The problem is if the error is early in the code, then then it all happens again almost immediately, completely spamming my serial monitor with repeating boot then error messages.
So is there a setting to introduce a delay before reboot after kernel panic? or just halt and wait for manual reset? Obviously this wouldn't be desirable in production, but Id certainly appreciate it during development.
Thanks!

plusorc
Posts: 41
Joined: Sat Nov 09, 2019 6:27 am

Re: Delay/prevent reboot after fault?

Postby plusorc » Wed Nov 20, 2019 12:17 pm

menuconfig -> component config -> ESP32-specific -> panic handler behavior

rackman
Posts: 2
Joined: Tue Nov 19, 2019 4:24 pm

Re: Delay/prevent reboot after fault?

Postby rackman » Wed Nov 20, 2019 12:36 pm

That's perfect. Thanks!

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 62 guests