jkent / frogfs

Fast Read-Only General-purpose File System (ESP-IDF and ESP8266_RTOS_SDK compatible)
https://frogfs.readthedocs.io
Mozilla Public License 2.0
25 stars 32 forks source link

Support OTA of espfs #9

Closed jkent closed 3 years ago

jkent commented 5 years ago

The espfs binary should optionally be flashable to a partition, which means linking the image should be optional. The espfs binary should also have a header field that contains the binary size. See #8

jkent commented 5 years ago

I'm checking the binary size by iterating through the files. Espfs format remains the same. The partition code is still untested.

jkent commented 3 years ago

We now have a binary_len field in the fs header (espfs_fs_header_t). Additionally we have a crc32 now as the last 4 bytes.