Open
Description
The binary WiFi blobs are 200-400KB in size, but are only used to upload to the Cyw43 WiFi chip. This makes applications grow massively (before taking in to account any add'l LWIP code).
One way to help minimize this bloat would be to compress the BLOBs and decompress them on-the-fly as they are uploaded to the Cyw43 chip.
UZLib is a simple decompressor for gzip
blobs and only added ~4K of code to the ESP8266 Arduino code when it was added (it is used there to support compressed OTA).
https://github.com/pfalcon/uzlib/tree/master
A quick test shows that:
- 220K firmware blob compressed to 138K (~40% savings)
- 417K firmware blob compressed to 280K (~30% savings)