littlefs2
littlefs2 copied to clipboard
Support for dynamic `BLOCK_COUNT`
Currently the user has to statically know the device size since BLOCK_COUNT
is an associated constant. It would be useful if it would be possible to dynamically determine the device size instead.
I agree, mount
should read it from the metadata (where I believe it's stored), and format
should take it as parameter.
Missing upstream: https://github.com/ARMmbed/littlefs/issues/349