Merge branch 'contrib/github_pr_12567' into 'master'

Add option to configure FATFS_USE_LABEL boolean (GitHub PR)

Closes IDFGH-11429

See merge request espressif/esp-idf!27100
pull/12501/merge
Martin Vychodil 2023-11-22 17:57:23 +08:00
commit bd91c7b510
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -239,4 +239,10 @@ menu "FAT Filesystem support"
vfs_fat_pwrite(), vfs_fat_link(), vfs_fat_truncate() and vfs_fat_ftruncate() functions.
This feature improves file-consistency and size reporting accuracy for the FatFS,
at a price on decreased performance due to frequent disk operations
config FATFS_USE_LABEL
bool "Use FATFS volume label"
default n
help
Allows FATFS volume label to be specified using f_setlabel
endmenu

Wyświetl plik

@ -49,7 +49,7 @@
/ (0:Disable or 1:Enable) Also FF_FS_READONLY needs to be 0 to enable this option. */
#define FF_USE_LABEL 0
#define FF_USE_LABEL CONFIG_FATFS_USE_LABEL
/* This option switches volume label functions, f_getlabel() and f_setlabel().
/ (0:Disable or 1:Enable) */