FileToArray
FileToArray copied to clipboard
A simple tool used in esp32-cam also, that convert a file in an array to use programmatically, for Arduino esp8266 and esp32
to obtain executable < gcc -o filetoarray filetoarray.c
to create filearray < filetoarray -o web_index.h index.html.gz
to print help message < filetoarray -h
I advise to use my Online version at
FILE TO (CPP) GZIP BYTE ARRAY
https://www.mischianti.org/online-converter-file-to-cpp-gzip-byte-array-3/
HEX ARRAY TO FILE
https://www.mischianti.org/online-converter-hex-array-to-file/