mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fatfs: Disable UTF-16 filename encoding
UTF-16 is not supported in VFS and not covered by unit tests
This commit is contained in:
parent
7e71c0cff2
commit
b388321e3b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user