littlefs2 icon indicating copy to clipboard operation
littlefs2 copied to clipboard

Support for dynamic `BLOCK_COUNT`

Open jonas-schievink opened this issue 5 years ago • 2 comments

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.

jonas-schievink avatar Mar 02 '20 15:03 jonas-schievink

I agree, mount should read it from the metadata (where I believe it's stored), and format should take it as parameter.

nickray avatar Mar 03 '20 23:03 nickray

Missing upstream: https://github.com/ARMmbed/littlefs/issues/349

nickray avatar Mar 05 '20 01:03 nickray