fatfs: Disable UTF-16 filename encoding

UTF-16 is not supported in VFS and not covered by unit tests
This commit is contained in:
Adam Múdry 2022-05-20 15:15:01 +02:00
parent 7e71c0cff2
commit b388321e3b
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 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

View File

@ -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