Adding esp_http_server.h to the generator

Attached is a patch of the current state. It can be applied to the current https://github.com/lvgl/lv_micropython

It runs the attached python script which expects a previous network setup in boot.py

It serves /index.html from python and will serve all files stored in /www under the uri /fs.

http_server.patch.txt (11 KB)

http_server.py.txt (3.6 KB)

This also includes the latest patch of gen_mpy.py which hasn’t made it into lv_micropython, yet.

Edit: This does not include any patch for modlvesp32.c and will thus not work at all under high graphics load.