Shrinking Berry's firmware data by a reported 27 KB
A Tasmota developer used Claude to redesign Berry's constant tables and maps, reporting a 27 KB flash reduction on ESP32 targets.
Credits
Earliest dated source:
The full story
The contribution changes the stored layout of Berry constants and read-only map nodes to reduce padding and per-entry storage. The developer credits Claude with design, implementation and debugging.
The post reports a 27 KB firmware reduction and matching output from the C and Python solidifiers, backed by a test suite and cross-validation. The reported firmware test was on ESP32 rather than ESP8266.
How it was done
Tools
Themes
Loading themes…
Sources
From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.
- Tasmota Project: Berry optimized solidified structures for code constants and mapsSource byline: s-hadingerPublished
The contributor’s pull request, including its AI disclosure and test notes.
- The code: github.comRepository account: arendst
Linked in the post.