Repository navigation
v3.11 (2026-11-18)
Bug Fixes
- v3.10's gzip SD-recovery retry could still silently give up after a single successful recovery --
sdTryRecover()is rate-limited to one real recovery attempt per 4 seconds; calling it again sooner silently returnedfalsewith no log output, indistinguishable from "recovery ran and failed." In the field, a per-file-open recovery inside a merge would succeed, but the outer retry's own call tosdTryRecover()moments later landed inside that same 4-second window and was silently rate-limited -- so the gatedif (attempt < 2 && sdTryRecover()) continue;retry logic never fired a second attempt, even though the card was already healthy.sdTryRecover()now logs when a call is skipped for being rate-limited, and the gzip retry paths inGzipDeflate.cpp(and TDongle's inline copy) always retry once regardless of that return value, since a rate-limited skip doesn't mean the card is actually broken. Applied to both the main Piglet firmware and the T-Dongle C5 standalone firmware. - Files already uploaded to WDGoWars kept retrying forever -- WDGoWars' real duplicate-upload signal is HTTP
409with"error":"duplicate_upload"in the body (meaning this exact file, byte-for-byte, was already uploaded), butuploadFileToWdgwars()only ever treated HTTP202as success; a409fell through to the generic failure path. SincemarkServiceDone()is only called on success, the file's WDGoWars ledger entry was never marked done, so it was resubmitted -- and rejected as a duplicate again -- on every subsequent boot indefinitely. A409with theduplicate_uploaderror is now treated as a successful/already-synced outcome. (This is a different signal shape than Wardrift's duplicate marker, which is HTTP200with"duplicate":true-- not confused with it.) Applied to both the main Piglet firmware and the T-Dongle C5 standalone firmware.
Technical Changes
- Boot-time "Update available" prompt countdown shortened from 20 seconds to 10 seconds -- confirmed the countdown itself never runs scanning, uploads, or the web server (all begin strictly after it elapses or the device reboots into download mode on a button press), so this only shortens how long boot pauses waiting for a press. Applied to both the main Piglet firmware and the T-Dongle C5 standalone firmware.
Firmware Versions
- Main Piglet (XIAO S3/C5/C6/C3):
v3.11 - T-Dongle C5:
v3.11 - PigletNode:
v3.03
Full Changelog: v3.10...v3.11