Skip to content

BLOCK_COUNT cannot be less than 10 #113

Description

@joshuajylin

I found that when BLOCK_COUNT is less than 10, LfsFilesystem::format will return -28 (NO_SPACE).

I tried both flash and ram implementations, both are the same.

I'm developing in no_std environment and have the following line in my Cargo.toml.

littlefs2 = { version = "0.6.1", features = ["c-stubs"] }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions