diff --git a/bsp/at91sam9260/rtconfig.h b/bsp/at91sam9260/rtconfig.h
index 308fe1c3b059bda6e3a7de51d884a9a2aa31c210..62d340872f4cfb27ba669c27586db80c325d368e 100755
--- a/bsp/at91sam9260/rtconfig.h
+++ b/bsp/at91sam9260/rtconfig.h
@@ -94,10 +94,14 @@
/* using DFS support */
#define RT_USING_DFS
#define RT_USING_DFS_ELMFAT
-/* use long file name feature */
+/* use long file name feature */
#define RT_DFS_ELM_USE_LFN 2
#define RT_DFS_ELM_REENTRANT
-/* the max number of file length */
+/* define OEM code page */
+#define RT_DFS_ELM_CODE_PAGE 936
+/* Using OEM code page file */
+// #define RT_DFS_ELM_CODE_PAGE_FILE
+/* the max number of file length */
#define RT_DFS_ELM_MAX_LFN 128
/* #define RT_USING_DFS_YAFFS2 */
#define RT_USING_DFS_DEVFS
@@ -109,9 +113,9 @@
/* the max number of mounted filesystem */
#define DFS_FILESYSTEMS_MAX 4
-/* the max number of opened files */
+/* the max number of opened files */
#define DFS_FD_MAX 16
-/* the max number of cached sector */
+/* the max number of cached sector */
#define DFS_CACHE_MAX_NUM 4
/* Enable freemodbus protocol stack*/
diff --git a/bsp/mini2440/rtconfig.h b/bsp/mini2440/rtconfig.h
index 8b6fd232448887f5df26b074fd8fd1eaa5abe925..dd04d02b6652f03cf0cfb135f43e08ad9a2bcd8f 100644
--- a/bsp/mini2440/rtconfig.h
+++ b/bsp/mini2440/rtconfig.h
@@ -106,6 +106,10 @@
// - 2
//
#define RT_DFS_ELM_USE_LFN 1
+//
+#define RT_DFS_ELM_CODE_PAGE 936
+//
+// #define RT_DFS_ELM_CODE_PAGE_FILE
//
#define RT_DFS_ELM_MAX_LFN 256
//