ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
exc_coredump.cpp File Reference

Read the ESP32 core-dump partition and offload it (see exc_decoder.h). More...

Go to the source code of this file.

Detailed Description

Read the ESP32 core-dump partition and offload it (see exc_decoder.h).

The panic text a device prints dies with the reboot; the core dump ESP-IDF writes to flash does not. This reads that image back on the next boot - as a summary for the live panel, and as raw bytes for a durable copy - then erases it so the next crash gets the space.

Device-only: the summary structs and partition API are ESP-IDF's. The decoding/serialization of a panic stays pure in exc_decoder.cpp.

Definition in file exc_coredump.cpp.