PaulStoffregen / SerialFlash

Library for using SPI Flash memory with a filesystem-like interface
336 stars 118 forks source link

Query: Can I maintain a persistent file with SerialFlash? #52

Closed psrawke closed 6 years ago

psrawke commented 6 years ago

Hey, I went through the SerialFlash for Teensy and it looks amazing. But I have a query related to file write function.

In my application, there is a persistent file, where the size of the file will be constant throughout the programme, but contents of the file will be changing from time to time.

As per documentation, the contents of the file cannot be updated, only the unwritten portions of the file may be written.

Several limitations apply to writing. Only previously unwritten portions of the file may be written. File sizes can never change. Writes may only be done within the file's original size.

Is there any other way to implement a persistent file with SerialFlash?

Thanks in advance, Prasanna

PaulStoffregen commented 6 years ago

As for help on the forum. Github issues are only for reporting bugs.