FlashStorage
FlashStorage copied to clipboard
Persist data when uploading new sketch
Is there a way to persist data when uploading new sketch?
The README says:
The content of the FlashStorage is erased each time a new sketch is uploaded?
Yes, every time you upload a new sketch, the previous content of the FlashStorage is erased.
There are use cases where you want e.g., configuration data to survive the upload of a new sketch version.
If this is absolutely not possible, is there at least a way to read out the old data, then merging it with the compiled new sketch prior to uploading the new sketch?
I'm curious if it would be possible to specify the "user page" as the location for the FlashStorage to be stored, as that could potentially achieve this. Any thoughts?
Hi there, what about this?
Hey there, Did anyone find a solution to this?