发布

  • fix(firmware): edge_dsp task watchdog starvation on Core 1 (#266)

    frostbyte_neo 发布于 2026-03-15 16:06:54 +00:00

    process_frame() is CPU-intensive (biquad filters, Welford stats,
    BPM estimation, multi-person vitals) and can run for several ms.
    At priority 5, edge_dsp starves IDLE1 (priority 0) on Core 1,
    triggering the task watchdog every 5 seconds.

    Fix: vTaskDelay(1) after every frame to let IDLE1 reset the
    watchdog. At 20 Hz CSI rate this adds ~1 ms per frame —
    negligible for vitals extraction.

    Verified on real ESP32-S3 with live WiFi CSI: 0 watchdog
    triggers in 60 seconds (was triggering every 5s before fix).

    Co-Authored-By: claude-flow ruv@ruv.net

    下载附件