I used to build zlib as a test for developing a processor, but as the world began to switch to 64-bit, they randomly used an unsigned long and unsigned int and mix without thorough casting, etc. could hurt compilers. He may have calmed down, but I left him.
he needs / needs a ton of memory, msp430 is especially small on the side of the plunger compared to some competitors.
I have a msp430 simulator that you can use http://github.com/dwelch67/msp430sim . which is easy to set up to have a lot of ram, more than you will find in the chip. Althogh zlib can still get the full 64k and not leave you with anyone. You just need to see what happens. Maybe I'll take this and try it myself as a test for my simulator. On the above simulator, or perhaps in one of my others, I have another compression tool that has a very (relatively) small amount of memory. Not sure if you need zlib specifically, or you just need decompression in general.
source share