ChrisSparks wrote:<...>
So now I want to use SPIFFS or EEPROM because I want to store data that each unit can access. State data basically. Any good examples out there? Especially the SPIFFS as I found an EEPROM example.
What is confusing me now is how things are being loaded into my units. I have 4MB of flash.
<...>
Chris
@Chris
For an interesting SPIFFS example (read-only), I have an example here:
https://www.hackster.io/rayburne/oui-oui-spiffy-spiffs-on-esp8266-323ae4?team=37036
The 4M of flash can only be used as 1M flash for Arduino and 3M flash for SPIFFS. This is how the linker is configured in the Arduino configuration. Of course, the 1M has serious limitations for OTA.
Ray