ESP WROOM 32 SPI Flash Memory

Hi everyone,

I use Adafruit ESP32 Feather Huzzah32, I want to use flash memory (4MB) but I can not find an example to store values ​​in this memory.

Can someone help me ?

Vincent

Use EEPROM library.

Tut: ESP32 Flash Memory - Save Permanent Data | Random Nerd Tutorials

If you want to read/write lots data use SPIFFS (SPI Flash File System). One option is to configure 1MB for code and 3MB for SPIFFS.

Thanks for your answer DrDooom and gbafamily.

DrDooom, I try this solution but I can not save much data just 4kbytes.

Gbafamily, this solution works when the card is linked to the PC but in the case of an embedded system it is not functional.

Finally, I find solution to write in flash memory. I use ESP.flashWrite and ESP.flashRead.

Vincent