littlefs2 icon indicating copy to clipboard operation
littlefs2 copied to clipboard

Idiomatic Rust API for littlefs

Results 26 littlefs2 issues
Sort by recently updated
recently updated
newest added

Allows much better interoperatibility with other embedded rust projects, which by now usually have support for embedded-io traits. Of course this is feature-gated.

Please consider accepting this patch, as it allows depending on `littlefs2-sys` with current `lfs` version included. There is a matching pull request in `littlefs2-sys` repo. I set `littlefs2-sys` version to...

Trying to build in a no_std environment, I've got `littlefs2 = { version = "0.4.0", features = ["c-stubs"] }` in my cargo.toml, yet I get the error on `cargo run`...

This PR adds a CI job that tests compatibility with an avr target (16-bit) and fixes code that assumes that `c_int` is always `i32`. Replaces: - https://github.com/trussed-dev/littlefs2/pull/68 One remaining problem...

This crate contains many numeric casts. Some of them can be problematic, at least if `u32` does not fit in `usize` on the target platform. We should therefore review these...

Once factor that makes dealing with `Path`s somewhat awkward at the moment is the requirement for a trailing null. For example, I cannot have a `split_at(&self, n: usize) -> (&Path,...