Repository navigation
v3.03
v3.03 (2026-11-05)
Bug Fixes
- Firmware self-update check could fragment the heap enough to break the install that followed it --
fwCheckForUpdate()buffered GitHub's entire API response viahttp.getString(). GitHub serves that response with chunked transfer-encoding (noContent-Length), and in that casegetString()skips pre-reserving its internal buffer and grows it incrementally as chunks arrive -- the same unreserved-Stringfragmentation pattern fixed in the Web UI's JSON handlers in v3.02, just in a different, less-frequently-exercised code path. This response can run several KB (full release notes + asset list) and runs immediately beforefwInstallUpdate()'s own sequence of TLS downloads, so the fragmentation it left behind directly caused those downloads to fail withSSL - Memory allocation failed, even though total free heap looked fine. The response is now buffered into a pre-reservedStreamString(single allocation) instead. Applied to both the main Piglet firmware and the T-Dongle C5 standalone firmware.
Firmware Versions
- Main Piglet (XIAO S3/C5/C6/C3):
v3.03 - T-Dongle C5:
v3.03 - PigletNode:
v3.03
Full Changelog: v3.02...v3.03