littlefs2
littlefs2 copied to clipboard
Idiomatic Rust API for littlefs
When mounting a filesystem, often code like this is used: ``` if !Filesystem::is_mountable(alloc, storage) { Filesystem::format(storage).ok(); } Filesystem::mount(alloc, storage) ``` This mounts the filesystem twice because Filesystem::is_mountable is equivalent to...
The null-terminated C strings used in Littlefs2 are annoying to use and lead to inefficient iteration and higher stack usage because of the lack of ability to slice, which means...
Currently, the `littlefs2` crate contains both a high-level interface and its implementation. In frameworks like Trussed, we would like clients to be able to depend only on the high-level interface,...
This fixes a bug encountered in #33 According to the littlefs release notes, this shouldn't be a breaking change, but we should still test it nonetheless.
Fix #32 Tests fail because of https://github.com/littlefs-project/littlefs/issues/785
When running `cargo test` on 8019e8a, on a Windows 11 machine, there is a build error that occurs before any tests can be executed. I don't particularly feel the need...
Lots of the complexity in Trussed’s store implementation comes from the fact that `Filesystem` takes mutable references to `Allocation` and `Storage` instances, which means that we need three global mutables...
Using the thumbv6m toolchain when building this library you get a couple errors.  Not sure if waiting delog to support thumbv6m is the way to go. https://github.com/trussed-dev/delog/issues/9 IMO, debug...
Hi, are there any examples for how to use littlefs2 with embedded rust on an SD-card? Would it make sense to implement Storage for embedded-sdmmc Volume or similar? Cheers, Gaute