Restart ESP32

sobiso
Posts: 1
Joined: Fri Jan 12, 2024 7:25 am

Restart ESP32

Postby sobiso » Fri Jan 12, 2024 7:28 am

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?

nopnop2002
Posts: 51
Joined: Thu Oct 03, 2019 10:52 pm

Re: Restart ESP32

Postby nopnop2002 » Sun Jan 14, 2024 8:12 am

The official sample uses esp_restart().
https://github.com/espressif/esp-idf/bl ... main.c#L51

Who is online

Users browsing this forum: No registered users and 265 guests