Merge branch 'feature/fatfs_2_fat_copies_on_volume' into 'master'

feat(fatfs): Add an option to use 2 FATs (file allocation tables) in FATFS volumes

Closes IDF-8735 and IDF-4091

See merge request espressif/esp-idf!27452
This commit is contained in:
Adam Múdry
2024-01-22 11:15:04 +08:00
16 changed files with 698 additions and 105 deletions

View File

@@ -126,6 +126,7 @@ The arguments of the function are as follows:
#. flag ``PRESERVE_TIME`` - optionally, users can force preserving the timestamps from the source folder to the target image. Without preserving the time, every timestamp will be set to the FATFS default initial time (1st January 1980).
#. flag ``ONE_FAT`` - optionally, users can still choose to generate a FATFS volume with a single FAT (file allocation table) instead of two. This makes the free space in the FATFS volume a bit larger (by ``number of sectors used by FAT * sector size``) but also more prone to corruption.
For example::
@@ -147,7 +148,7 @@ Usage::
./fatfsparse.py [-h] [--wl-layer {detect,enabled,disabled}] [--verbose] fatfs_image.img
Parameter --verbose prints detailed information from boot sector of the FatFs image to the terminal before folder structure is generated.
Parameter --verbose prints detailed information from boot sector of the FatFs image to the terminal before folder structure is generated.
High-level API Reference
------------------------