bootloader: Ensure bootloader never returns to caller

* Fixes some "noreturn" functions in bootloader utils which did return (causing fatal CPU
  exceptions).
* Marks bootloader entry as "noreturn", preventing "user code done" from stalling boot
  Partial fix for https://github.com/espressif/esp-idf/issues/1814 TW20016
  (Comprehensive fix for this issue will be enabling WDT during bootloader, coming shortly.)
This commit is contained in:
Angus Gratton
2018-07-19 15:27:35 +10:00
committed by Angus Gratton
parent a7d00f44ab
commit f0d74b1c64
4 changed files with 32 additions and 7 deletions

View File

@@ -192,7 +192,7 @@ void set_rtc_memory_crc(void);
*
* @return None
*/
void software_reset(void);
void __attribute__((noreturn)) software_reset(void);
/**
* @brief Software Reset digital core.