esp32: RWDT is used to reboot system in case of panic handler crash

also fixes TG1WDG protection bug in panic handler
This commit is contained in:
Alexey Gerenkov
2017-03-29 21:09:47 +03:00
parent f9fba35d1d
commit c142b9b9e5
4 changed files with 65 additions and 2 deletions

View File

@@ -61,6 +61,11 @@ esp_err_t esp_set_watchpoint(int no, void *adr, int size, int flags);
void esp_clear_watchpoint(int no);
/**
* @brief Stops panic WDT
*/
void esp_panic_wdt_stop(void);
#endif
#ifdef __cplusplus