Skip to content

Full filesystem due LittleFS #20

@ronnievdc

Description

@ronnievdc

From https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html

LittleFS is recently added and focuses on higher performance and directory support, but has higher filesystem and per-file overhead (4K minimum vs. SPIFFS’ 256 byte minimum file allocation unit).

The logging.h module can create up to 57 logfiles if i'm correct. Each logfile taking at least 4KB of space, the filesystem can should need at least 228KB. Since it only has 128KB we can Revert back to SPIFFS or save more types of data into one file. For example

/HourE1.log
/HourE2.log
/HourG.log
/HourR1.log
/HourR2.log
/HourTE.log
/HourTR.log

could be saved into one file Hour.log with all the values of that hour. This could also make the logging code easier and less Write instructions to the flashdrive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions