I read the EOF of flash cycles is about 10.000, so I need to care about reducing at maximum writes, may I address directly the Flash to point locations? I would keep in RAM the time value for the first location used, and calculate then all the next ones. When the last location is reached I proceed to overwrite. THis is ideal, there is a library for that? Which address I should start and end considering Sketch and OTA?
If not possible to address directly the Flash, and I shoud use the file system SPIFFS, how can I reduce the writes in the file table? I suppose every time I access a file to store a data it will change fomthing there, and soon it will fail. Maybe a chance to create a big file and access it to the next location and store data?
Thanks for you kind answers