aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/src/option/unicode.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/src/option/unicode.c')
-rw-r--r--thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/src/option/unicode.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/src/option/unicode.c b/thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/src/option/unicode.c
new file mode 100644
index 0000000..0afe13e
--- /dev/null
+++ b/thirdparty/nRF5_SDK_15.0.0_a53641a/external/fatfs/src/option/unicode.c
@@ -0,0 +1,17 @@
+#include "../ff.h"
+
+#if _USE_LFN != 0
+
+#if _CODE_PAGE == 932 /* Japanese Shift_JIS */
+#include "cc932.c"
+#elif _CODE_PAGE == 936 /* Simplified Chinese GBK */
+#include "cc936.c"
+#elif _CODE_PAGE == 949 /* Korean */
+#include "cc949.c"
+#elif _CODE_PAGE == 950 /* Traditional Chinese Big5 */
+#include "cc950.c"
+#else /* Single Byte Character-Set */
+#include "ccsbcs.c"
+#endif
+
+#endif