-
Notifications
You must be signed in to change notification settings - Fork 409
Open
Description
What is the correct usage of overwriting data in a file, without clearing bits of flash?
Our use case is the following:
We have multiple files with settings. When a setting value is changed, only that specific field should be changed.
Now, the data is appended in that specific file. Should I open the file in a different mode and just write to it? (so it overwrites?).
I am worried that this might reset the bits and increases wear on flash, is this the way to go and handled in the API?
The other option is just delete the file and create it again with new data?
Metadata
Metadata
Assignees
Labels
No labels