Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By lotus49
#49374 I need to be able to store a small amount of data permanently for my project. I have read this viewtopic.php?f=34&t=2662 thread which explains how to read and write to flash memory. This suggests starting at the top of memory (less a bit where the wifi config is apparently stored) but to do that, I need to know how much memory I have.

I use the Arduino IDE to programme my ESP8266 and that says "NodeMCU 1.0 (ESP-12E Module), 80MHz, 921600, 4M (3M SPIFFS) on /dev/ttyUSB0". Can this information be relied upon and does it mean I have 4MB of flash?
User avatar
By lotus49
#49394 For the simple reason that I am new to this and wasn't aware that either of those was an option.

I just need to store a 160 byte key so the EEPROM library sounds like it will fit the bill perfectly. I shall look into it now.

Thank you once again for your help.