Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By gato_
#18487 Pity about the whole SPIFFS stuff... I was long expecting for this feature. I did manage to upload the FSWebServer example, and even to compile and use mkspiffs to compress the data folder, but I have no idea on how to upload the actual spiffs image, as the data upload option never got to the ide. Can anyone tell me how to do it manually? please?
User avatar
By draco
#18844 I have a similar question. I installed the Arduino 1.6.4 IDE last night and followed the instructions to get the newest esp8266 build, and I noticed with excitement that it offered options for various flash sizes with space reserved for SPIFFS... Buuuut, I can't find any examples of how to actually utilize it. There appeared to be no SPIFFS example in the Examples?

Pretty excited to be able to start using this. I would love to be able to separate my HTML from my code!

Thanks.
User avatar
By Cosmic Mac
#18850
andres wrote:If I can help... ;) I just tried to use Nodemcu for a small webserver but there are still a lot of problems... First, as You say, memory... 25Kbyte is far to small to save html pages. 2nd the 1470 byte buffer... 3d docs docs docs... :( I leave all that Nodemcu stuff and come here... ;)


Concerning the 1470 bytes buffer, you can easily send big files by chunks with NodeMCU.
Have a look at https://github.com/marcoskirsch/nodemcu-httpserver (the coroutine elegant way) or https://github.com/CosmicMac/ESP8266-remote (1 global variable to keep the state of sending).
Last example is my own, and it was my first encounter with Lua and NodeMCU, so you should probably focus on the concept rather than on the code.... :)