GithubHelp home page GithubHelp logo

Comments (5)

geky avatar geky commented on August 15, 2024 2

Ah, you may need the v1 branch:
https://github.com/ARMmbed/littlefs-fuse/tree/v1

Mbed OS is still using v1 unless you've explicitly added the v2 repo and are using LittleFileSystem2 in your project:
https://github.com/armmbed/mbed-littlefs

@danielnegris is right that you can use --migrate to convert a filesystem from v1 to v2, however this is a bad thing if your MCU is using v1, you won't be able to mount it on the MCU.

from littlefs-fuse.

sergiuszm avatar sergiuszm commented on August 15, 2024 2

@danielnegris That is not a case - I am using standard parameters :)

@geky You are right. I have not noticed that MbesOS is using v1 while littlefs-fuse uses v2. My bad but thanks a lot for help!

from littlefs-fuse.

danielnegris avatar danielnegris commented on August 15, 2024 1

If you're using non-standard block size (32k) or another parameter you have to specify those when using mount:
./lfs --block_size=BLOCK_SIZE /dev/sdb mount.

You can also try to use --migrate to migrate to a previous littlefs version.

from littlefs-fuse.

isaev-d avatar isaev-d commented on August 15, 2024

I think that thread should be part of documentation for arm mbed littlefs example.

from littlefs-fuse.

geky avatar geky commented on August 15, 2024

Actually, since this issue, Mbed OS has adopted v2:
ARMmbed/mbed-os#12783

So hopefully this issue will be less likely to be hit.

from littlefs-fuse.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.