Page 1 of 1

How to use software to trigger system reset

Posted: Sat Aug 31, 2024 1:10 am
by strangeman
After my esp32 wakes up from deep-sleep mode in some cases, some RTC-io can't work normally. I hope I can use software to reset this system. esp_restart can only trigger cpu-reset, but can't reset RTC domain.

Re: How to use software to trigger system reset

Posted: Sat Aug 31, 2024 5:06 am
by boarchuz
https://gist.github.com/boarchuz/1a40a6 ... b61388436f

Note the 'WDT_STAGE_ACTION_RESET_RTC'