Comments (4)
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.
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.
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.
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)
- `hiyapyco` is currently broken due to change in `markupsafe` HOT 1
- venv doesn't exist in ESP-IDF Python on Windows HOT 1
- please add a branch for v3 HOT 1
- size of gzip files is incorrect HOT 2
- Invalid file position when seeking in heatshrink compressed file
- MicroPython HOT 2
- Compressor ID lookup
- Directory optimization HOT 1
- Benchmark
- support python 3.8? HOT 3
- CONFIG parameter broken in target_add_frogfs (next branch) HOT 1
- mkfrogfs.py fails if root dir has subdirectories starting with dot (next branch) HOT 9
- mkfrogfs.py directory filters are broken HOT 14
- support for mime types HOT 3
- how to use with VSCode + Platform.io? HOT 4
- publishing at components.espressif.com HOT 3
- suggestion: use project_include.cmake to automatically import frogfs functions HOT 1
- Compile fail ESP32 IDF Eclipse plugin - PATH_MAX not defined HOT 1
- Compiler warning in vfs.c: free' discards 'const' qualifier HOT 1
- IDF build error after reconfigure HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frogfs.