For ESP8266 or ESP32? I'm busy atm, but I'll add some specialized code when I find the time to do so.
If you want to run a web server on the ESP8266: https://github.com/GermanWarez/espruino-esp8266-copy-file-to-storage
It'll stop fs when serving two files in parallel. To prevent this I've implemented a sequential loader in index.html. But if you'd request the page in two browser windows in parallel it'll stop fs. Or if you change index.html to contain e.g. it'll stop fs.
Other ways to stop fs:
© Espruino, powered by microcosm.
Report a problem