|
Another alternative if you have very little resource is using a compression library designed specifically for embedded use, such as heatshrink [1]. The algorithm is LZSS and on my x64 system, it compiles to about 12k with -Os. [1] https://github.com/silentbicycle/heatshrink