From b388321e3b3b727df17b46669097bcf97c2ac362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20M=C3=BAdry?= Date: Fri, 20 May 2022 15:15:01 +0200 Subject: [PATCH] fatfs: Disable UTF-16 filename encoding UTF-16 is not supported in VFS and not covered by unit tests --- components/fatfs/Kconfig | 2 -- components/fatfs/src/ffconf.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/components/fatfs/Kconfig b/components/fatfs/Kconfig index 62254afa5a..9f44263a0e 100644 --- a/components/fatfs/Kconfig +++ b/components/fatfs/Kconfig @@ -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 diff --git a/components/fatfs/src/ffconf.h b/components/fatfs/src/ffconf.h index a265dee159..1edb2313d8 100644 --- a/components/fatfs/src/ffconf.h +++ b/components/fatfs/src/ffconf.h @@ -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