Closed yevagorbachev closed 2 weeks ago
Should more be "utilities"
Description to follow from @AarC10
Most functionality should be straightforward in Zephyr it seems that utilities may not need to be as comprehensive based on https://docs.zephyrproject.org/latest/services/file_system/index.html but that is TBD. Don't have enough experience with Zephyr file system library to be completely specific. Should also confirm if the filesystem does the caching and buffering for you.
Some good helper functions to to include would be along these lines
Function Requirements
Helpers
automount
devicetree flag. I think init would be good, to check that automount
worked and take care of making new files. Probably, it will look like a struct logfile
that has some extra information.Functions
Do you care if I use a C++ class for this?
Minimum working example on feature/Yev/lfs-utils. I'm using C++ instead because otherwise there is not really much to improve on the VFS API (without hackily re-creating objects using the PASTE2 pattern Zephyr seems to like).
Utilities to conveniently use non-volatile storage for configs and logged data
Minimally,
Additionally,
Function standards