Merge branch 'feature/add-fatfs-parser' into 'master'

fatfsgen.py implement functionality for parsing fatfs

Closes IDF-4360

See merge request espressif/esp-idf!17951
This commit is contained in:
Martin Gano
2022-05-17 17:07:13 +08:00
17 changed files with 699 additions and 308 deletions

View File

@@ -129,3 +129,14 @@ For example::
If FLASH_IN_PROJECT is not specified, the image will still be generated, but you will have to flash it manually using ``esptool.py`` or a custom build system target.
For an example, see :example:`storage/fatfsgen`.
FATFS partition analyzer
------------------------
We provide a partition analyzer for FATFS (:component_file:`fatfsparse.py<fatfs/fatfsparse.py>`). The tool is still in active progress and provides only restricted functionality.
It is only guaranteed that the tool is able to analyze images generated by FATFS partition generator (:component_file:`fatfsgen.py<fatfs/fatfsgen.py>`) (without support for wear levelling and long names) and generate the folder structure on host with the same name as a FATFS volume label.
Usage::
./fatfsparse.py fatfs_image.img