Sming - Open Source framework for high efficiency native ESP8266 development

User avatar
By Nein9
#45214 Hiya! I've been messing around with some of the samples, but having trouble now. I cannot get this example to work completely. The webserver appears to run fine, but does not serve me the page. In the terminal over serial I see the following error:
File wasn't found: index.html

I ran make, make flash; no problems there. From experimenting with other code I recall that the web-payload is flashed separately. However I cannot find any information about this using the SMING framework. What am I missing ?
User avatar
By Nein9
#45310 Well, new day. Since there were no replies I decided to take a look again myself, and found the issue.

The example makes use of the spiffs library, however the HttpServer_WebSockets/Makefile-user.mk defines DISABLE_SPIFFS set to 1. Set it to 0, comment or remove this line, and it builds an additional spiff_rom.bin which is flashed at 0x44000.

Checked the other web examples, but the makefile error seems only present on the websockets example.