ESP8266 Webserver Project

Moderator: Sprite_tm

User avatar
By izhak2
#12493 @poopisan is the basic authentication related to the broken css and js?

Update: I built an espfs image with Cygwin's find binary and flashed it both with the published firmware and my compiled one.
Unsurprisingly, the espfs image worked with the published firmware, but not with my compiled firmware (same bad css/js).
I guess it points that the problem is with the own compiled firmware; though I didn't notice any difference when compiled against different sdk versions, and I assume the sources are fine.
User avatar
By banitama
#12673
prozac wrote:
banitama wrote:Hi,
I want to create a project based on esphttpd.
I need to store a configuration parameter that persist when the ESP8266 is power cycled.
Since esphttpd only provide RO filesystem, I was thinking of embedding another filesystem (spiffs, for example) to store configuration data.
What do you folks think? Have anyone meet similar need to me (storing persistent configuration)?

Depends on how much data you need to store, but the ESP has a small amount of userdata storage already available.
Just define your configuration struct and write/read it from flash using the spi_read/write/erase api functions.


Thanks for the reply!
I guess for the time being I'm going to store some of the file in a predetermined address.
User avatar
By MM596
#12686 Hey,
I would like to ask you again, why it isn't possible to load larger webpages.espfs files than 128kByte into the flash? It should be about 180kByte, because there is enough room, but things didn't work if I go over 128kByte.

Does anyone know how to fix this issue?

Thanks