ESPAsyncWebServer/extras
2022-10-29 13:41:12 +02:00
..
tmp1 Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00
do_ed_fs.bat Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00
do_emb.bat Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00
ehg.c Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00
ehg.exe Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00
README.md Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00
rehg.c Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00
rehg.exe Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00
undo.bat Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00
update_ace.bat Webovy server odsud https://github.com/vortigont/ESPAsyncWebServer/tree/yubxmod - vsechny upravy a zpristupneni bufferu pro JSON dle https://github.com/yubox-node-org/ESPAsyncWebServer/pull/8 2022-10-29 13:41:12 +02:00

Extras

Additions to facilitate code modifications (for MS Win, similar can be done on Linux)

  • ehg.c (ehg.exe): Tool to generate C-code array from file' bytes Based on bin2array PROGMEM keyword can optionally be added.

  • rehg.c (rehg.exe): Tool to reverse C-code array generated by ehg.exe back to a file Based on c2bin First 4 lines of source are ignored, then parses the 0xHH - formated bytes until a } is found on separate new line.

Tools

  • TCC : Tiny C Compiler for ehg and rehg compiling on MS Win
  • 7-Zip Install 7z and use the included gzip as command line tool
  • Node.js Install Node with default settings, then run:

npm install html-minifier-terser -g, npm install -g github-files-fetcher

Batch files provided

  • do_emb.bat: Generates edit.htm.gz.h file for embedding to SPIFFSEditor.cpp as binary C array -
    You need to comment #define EDFS at SPIFFSEditor.cpp for this choice
  • do_ed_fs.bat: Alternatively, makes a gzip-ed edit.htm file for fs -
    uncomment #define EDFS for this choice. Saves about 4k of program flash storage.
  • undo.bat: Reverts edit.htm from C array header to file (still minified!)
  • update_ace.bat: Updates acefull.js.gz file from latest GitHub Ace sources