Merge branch 'feature/enable_brownout_detector' into 'master'

Enable brownout detector

See merge request !811
This commit is contained in:
Ivan Grokhotkov
2017-07-13 11:40:37 +08:00
10 changed files with 232 additions and 54 deletions

View File

@@ -39,6 +39,7 @@
#include "esp_spi_flash.h"
#include "esp_cache_err_int.h"
#include "esp_app_trace.h"
#include "esp_system.h"
#if CONFIG_SYSVIEW_ENABLE
#include "SEGGER_RTT.h"
#endif
@@ -409,8 +410,6 @@ static void doBacktrace(XtExcFrame *frame)
panicPutStr("\r\n\r\n");
}
void esp_restart_noos() __attribute__ ((noreturn));
/*
We arrive here after a panic or unhandled exception, when no OCD is detected. Dump the registers to the
serial port and either jump to the gdb stub, halt the CPU or reboot.