Page 1 of 1

Restart ESP32

Posted: Fri Jan 12, 2024 7:28 am
by sobiso
Hi,

what is the best approach to restart ESP32: esp_reset, set WDT or maybe other? If I will use esp_reset do I need to check, restart, clear something before I will call this function?

Re: Restart ESP32

Posted: Sun Jan 14, 2024 8:12 am
by nopnop2002
The official sample uses esp_restart().
https://github.com/espressif/esp-idf/bl ... main.c#L51