Skip to content

WiFi access data still exists after VS Code download #45

Closed Answered by rednblkx
011V32 asked this question in Q&A
Discussion options

You must be logged in to vote

The persistent data is stored in the NVS(Non Volatile Storage) partition which is not overwritten during flashing, not my choice, just just PlatformIO operates by default.

There are currently 5 partitions as defined by the with_ota.csv out of which 1(spiffs) is currently unused, the one nvs partition, another one(otadata) stores data for OTA updating, and 2(app0 and app1) store the actual code of this project which is what is actually overwritten upon flashing, there's two since when you want to OTA update you can't just overwrite the current running software therefore you need to write it somewhere else and keep of track of what partition should be used at boot which is what otadata does.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 011V32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants