FlashStorage icon indicating copy to clipboard operation
FlashStorage copied to clipboard

Persist data when uploading new sketch

Open probonopd opened this issue 7 years ago • 3 comments

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?

probonopd avatar Nov 02 '18 08:11 probonopd

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?

pomplesiegel avatar Feb 27 '19 01:02 pomplesiegel

Hi there, what about this?

FedeBev avatar Jun 03 '20 20:06 FedeBev

Hey there, Did anyone find a solution to this?

HarshadZade avatar Jun 08 '23 22:06 HarshadZade