Skip to content

Save core dump to LittleFS automatically on boot detection #115

Description

@github-actions

When _checkAndPrintCoreDump() detects a core dump at boot, it only logs the crash data. The binary is not saved anywhere, so it is lost on the next restart or manual clear.

Proposed: on detection, immediately save the raw binary to /crashes/<unix_ts>/ alongside a metadata JSON, then erase the partition. Cap the number of stored crash folders to avoid filling LittleFS.

Reference: src/crashmonitor.cpp:336.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrobustnessCrash handling, stability, and system resilience

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions