mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
replaced gzip with an own compressor tool (fpga_compress.c, based on zlib)
This allows to remove the gzip header support and the z_crc32.[ch] files (which saves more than 2KBytes of the ARM's flash memory)
This commit is contained in:
parent
25056d8b47
commit
f39198789b
14 changed files with 3759 additions and 1057 deletions
|
@ -228,8 +228,7 @@ static bool reset_fpga_stream(int bitstream_version, z_streamp compressed_fpga_s
|
|||
compressed_fpga_stream->zalloc = &fpga_inflate_malloc;
|
||||
compressed_fpga_stream->zfree = &fpga_inflate_free;
|
||||
|
||||
// initialize inflate with WindowBits=15 and to automatically detect header:
|
||||
inflateInit2(compressed_fpga_stream, 15+32);
|
||||
inflateInit2(compressed_fpga_stream, 15);
|
||||
|
||||
fpga_image_ptr = output_buffer;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue