mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs: Update CN translation for fatfs.rst
This commit is contained in:
parent
8e50d63fea
commit
63f317e4ca
@ -126,8 +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 little bit larger (by ``number of sectors used by FAT * sector size``) but also more prone to corruption.
|
||||
|
||||
#. 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::
|
||||
|
||||
@ -149,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
|
||||
------------------------
|
||||
|
@ -126,6 +126,7 @@ FatFs 分区生成器
|
||||
|
||||
#. ``PRESERVE_TIME`` 标志 - 可选参数,用户可强制让目标镜像保留源文件夹的时间戳。如果不保留,每个目标镜像的时间戳都将设置为 FATFS 默认初始时间(1980 年 1 月 1 日)。
|
||||
|
||||
#. ``ONE_FAT`` 标志 - 可选参数,支持生成仅包含单个 FAT(文件分配表)的 FATFS 卷。与包含两个 FAT 的 FATFS 卷相比,这样做可以拥有相对较大的可用空间(通过 ``FAT 使用的扇区数 * 扇区大小`` 计算),但会增加 FATFS 卷损坏的风险。
|
||||
|
||||
例如::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user