jczic / MicroWebSrv2

The last Micro Web Server for IoTs (MicroPython) or large servers (CPython), that supports WebSockets, routes, template engine and with really optimized architecture (mem allocations, async I/Os). Ready for ESP32, STM32 on Pyboard, Pycom's chipsets (WiPy, LoPy, ...). Robust, efficient and documented!
https://github.com/jczic/MicroWebSrv2
MIT License
662 stars 97 forks source link

How to flash? #89

Open davidmoshal opened 1 year ago

davidmoshal commented 1 year ago

Wondering how to deploy this library to an ESP32? Can it be done without rebuilding the firmware? Thanks

jczic commented 1 year ago

Hi @davidmoshal, yes, the folder size is of 180Ko but the memory allocated for this depends of your configuration of the server (see https://github.com/jczic/MicroWebSrv2#mws2-setembeddedconfig). You can down this default embedded config.

With ESP32, it's important to have more ram (SPIRAM) on the module. However, the best way is to put MicroWebSrv2 in Frozen folder to compile it in the firmware :)