ESPHome 2026.3.0
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
9
12
15
16} // namespace esphome::esp32
17
18#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 crash data from NOINIT memory and clear the magic marker.