Page 1 of 1

Storing 4-10 bytes in flash multiple times on internal ESP Pico memory

Posted: Sun May 12, 2024 1:45 pm
by Avi_HW_Eng
Hello,
I want to store application data (10-20 bytes) during runtime in flash, multiple times, so it mimics EEPROM.
is there any library that writs data to flash while keeping writes-per-cell within limits (using a round -robin mechanism for example) ?
Many thanks in advance!!!
Avi

Re: Storing 4-10 bytes in flash multiple times on internal ESP Pico memory

Posted: Mon May 13, 2024 1:50 am
by ESP_Sprite
In ESP-IDF, NVS is developed specifically for that purpose. If you use Arduino, you can use the Preferences library which builds on top of NVS on ESP32 chips.