kopia lustrzana https://github.com/espressif/esp-idf
fatfsgen.py: add description of the parameter PRESERVE_TIME
rodzic
b8267a59eb
commit
58b1c140d7
|
@ -123,6 +123,9 @@ The arguments of the function are as follows:
|
||||||
|
|
||||||
3. flag ``FLASH_IN_PROJECT`` - optionally, users can have the image automatically flashed together with the app binaries, partition tables, etc. on ``idf.py flash -p <PORT>`` by specifying ``FLASH_IN_PROJECT``.
|
3. flag ``FLASH_IN_PROJECT`` - optionally, users can have the image automatically flashed together with the app binaries, partition tables, etc. on ``idf.py flash -p <PORT>`` by specifying ``FLASH_IN_PROJECT``.
|
||||||
|
|
||||||
|
4. 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).
|
||||||
|
|
||||||
|
|
||||||
For example::
|
For example::
|
||||||
|
|
||||||
fatfs_create_spiflash_image(my_fatfs_partition my_folder FLASH_IN_PROJECT)
|
fatfs_create_spiflash_image(my_fatfs_partition my_folder FLASH_IN_PROJECT)
|
||||||
|
|
Ładowanie…
Reference in New Issue