Hello everybody,
I need some advice on choosing the best way:
I have 4kb (it's a structure) of data that needs to be stored permanently and sometimes updated (not all together but some structure variables as needed). Currently I have created a spiffs partition where I will overwrite a file with all this data whenever there is a variation. However, this leads to keeping the CPU busy making it lose its connection to the router (as happens here https://www.esp32.com/viewtopic.php?t=6800&p=29472). Are there better alternatives, perhaps going to save the single value and not all 4kb?
ESP32 FLASH DATA
-
- Posts: 9761
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 FLASH DATA
I'd break the structure apart a bit and use nvs to store the components. With 4K, you may want to make sure the nvs partition isn't at its absolute minimum size, though.
Who is online
Users browsing this forum: No registered users and 103 guests