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

@@ -59,6 +59,17 @@ void system_restore(void) __attribute__ ((deprecated));
*/
void esp_restart(void) __attribute__ ((noreturn));
/**
* @brief Internal function to restart PRO and APP CPUs.
*
* @note This function should not be called from FreeRTOS applications.
* Use esp_restart instead.
*
* This is an internal function called by esp_restart. It is called directly
* by the panic handler and brownout detector interrupt.
*/
void esp_restart_noos() __attribute__ ((noreturn));
/**
* @brief Restart system.
*