Search found 2 matches

by zedrummer
Wed May 24, 2023 6:36 am
Forum: Sample Code
Topic: Flash from a bin in memory
Replies: 0
Views: 3581

Flash from a bin in memory

Hello I have a unique URL where up-to-date version of a binary file to flash to my ESP32 is available. With a program I coded, I download it in memory and would like to use esptool to flash it to the device but, if possible, without writing the file on the disk. Is it possible (and how) to use espto...
by zedrummer
Thu Jan 19, 2023 6:21 pm
Forum: ESP-IDF
Topic: Uncompress C# DeflateStream compressed buffer using rom\miniz
Replies: 0
Views: 637

Uncompress C# DeflateStream compressed buffer using rom\miniz

Hello I have on a PC a 12288-byte buffer that has been compressed with the C# DeflateStream class, so generating a raw deflate data buffer. I send the compressed data to an ESP32 via serial COM. To uncompress, I would like to use rom/miniz using this code in a function: tinfl_decompressor inflator; ...