mirror of
https://github.com/espressif/esp-idf
synced 2025-03-24 00:19:15 -04:00
Because of errata related to BOD reset function, brownout is handled as follows: - attach an ISR to brownout interrupt - when ISR happens, print a message and do a software restart - esp_restart_nonos enables RTC watchdog, so if restart fails, there will be one more attempt to restart (using the RTC watchdog)