ESPHome 2026.5.0b1
Loading...
Searching...
No Matches
crash_handler.h
Go to the documentation of this file.
1#pragma once
2
3#ifdef USE_ESP32_CRASH_HANDLER
4
5namespace esphome::esp32 {
6
11
14
18
21
22} // namespace esphome::esp32
23
24#endif // USE_ESP32_CRASH_HANDLER
bool crash_handler_has_data()
Returns true if crash data was found this boot.
void crash_handler_log()
Log crash data if a crash was detected on previous boot.
void crash_handler_read_and_clear()
Read and validate crash data from NOINIT memory.
void crash_handler_clear()
Clear the magic marker and mark crash data as consumed.