Git Product home page Git Product logo

Comments (4)

jkent avatar jkent commented on July 2, 2024

Yes, at the moment you can use image_espfs_size or image_espfs_end - image_espfs_start to get the size using espfs_image.h. The interface will be changing in the future (wip branch) to espfs_image_bin_len because xxd is being used to include espfs binary.

Hope that helps!

from frogfs.

jkent avatar jkent commented on July 2, 2024

I just re-read your comment and I realized you want to OTA the espfs binary separate from the firmware binary? Is that correct? There currently isn't a provision for that, but it could be implemented.

from frogfs.

mharizanov avatar mharizanov commented on July 2, 2024

Yes, exactly. It is flashed on a separate partition and not embedded into the binary, so your original proposal won't work for this use case.
OK, I'll just go for iterating and summing up the file sizes.
Thank you!

from frogfs.

jkent avatar jkent commented on July 2, 2024

I'm going to create a new issue, so this gets first class support. I never really thought about having espfs OTA'd separate from the application binary.

from frogfs.

Related Issues (20)

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.