Merge branch 'fix/fatfs_remove_utf16_support' into 'master'

FatFS: Disable UTF 16 filename encoding

Closes IDF-4795

See merge request espressif/esp-idf!18192
This commit is contained in:
Martin Vychodil 2022-05-30 20:59:53 +08:00
commit 9bd819c78f
2 changed files with 0 additions and 4 deletions

View File

@ -180,8 +180,6 @@ menu "FAT Filesystem support"
config FATFS_API_ENCODING_ANSI_OEM
bool "API uses ANSI/OEM encoding"
config FATFS_API_ENCODING_UTF_16
bool "API uses UTF-16 encoding"
config FATFS_API_ENCODING_UTF_8
bool "API uses UTF-8 encoding"
endchoice

View File

@ -147,8 +147,6 @@
#ifdef CONFIG_FATFS_API_ENCODING_UTF_8
#define FF_LFN_UNICODE 2
#elif defined(CONFIG_FATFS_API_ENCODING_UTF_16)
#define FF_LFN_UNICODE 1
#else /* CONFIG_FATFS_API_ENCODING_ANSI_OEM */
#define FF_LFN_UNICODE 0
#endif