mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 16:14:34 +02:00
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:
@@ -180,8 +180,6 @@ menu "FAT Filesystem support"
|
|||||||
|
|
||||||
config FATFS_API_ENCODING_ANSI_OEM
|
config FATFS_API_ENCODING_ANSI_OEM
|
||||||
bool "API uses ANSI/OEM encoding"
|
bool "API uses ANSI/OEM encoding"
|
||||||
config FATFS_API_ENCODING_UTF_16
|
|
||||||
bool "API uses UTF-16 encoding"
|
|
||||||
config FATFS_API_ENCODING_UTF_8
|
config FATFS_API_ENCODING_UTF_8
|
||||||
bool "API uses UTF-8 encoding"
|
bool "API uses UTF-8 encoding"
|
||||||
endchoice
|
endchoice
|
||||||
|
@@ -147,8 +147,6 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_FATFS_API_ENCODING_UTF_8
|
#ifdef CONFIG_FATFS_API_ENCODING_UTF_8
|
||||||
#define FF_LFN_UNICODE 2
|
#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 */
|
#else /* CONFIG_FATFS_API_ENCODING_ANSI_OEM */
|
||||||
#define FF_LFN_UNICODE 0
|
#define FF_LFN_UNICODE 0
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user