ESPHome 2026.9.0-dev
Loading...
Searching...
No Matches
crash_handler.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 
namespace  esphome::esp32
 

Functions

void esphome::esp32::crash_handler_read_and_clear ()
 Read and validate crash data from NOINIT memory.
 
bool esphome::esp32::crash_handler_has_data ()
 Returns true if crash data was found this boot.
 
void esphome::esp32::crash_handler_clear ()
 Clear the magic marker and mark crash data as consumed.
 
void esphome::esp32::crash_handler_log ()
 Log crash data if a crash was detected on previous boot.
 
bool g_twdt_isr __attribute__ ((weak))
 
void __real_esp_panic_handler (panic_info_t *info)
 
void IRAM_ATTR __wrap_esp_panic_handler (panic_info_t *info)
 

Function Documentation

◆ __attribute__()

bool g_twdt_isr __attribute__ ( (weak) )
extern

Definition at line 15 of file core.cpp.

◆ __real_esp_panic_handler()

void __real_esp_panic_handler ( panic_info_t * info)
extern

◆ __wrap_esp_panic_handler()

void IRAM_ATTR __wrap_esp_panic_handler ( panic_info_t * info)

Definition at line 497 of file crash_handler.cpp.