mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
panic: handlers can now be placed in flash
By unchecking "Place panic handler code in IRAM" in the menuconfig, the panic handlers will be placed in flash. Of course, flash cache must be activated when entering panic handlers.
This commit is contained in:
@@ -113,7 +113,7 @@ esp_reset_reason_t IRAM_ATTR esp_reset_reason_get_hint(void)
|
||||
}
|
||||
return (esp_reset_reason_t) low;
|
||||
}
|
||||
static void esp_reset_reason_clear_hint(void)
|
||||
static inline void esp_reset_reason_clear_hint(void)
|
||||
{
|
||||
REG_WRITE(RTC_RESET_CAUSE_REG, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user