Browse Source

update rtconfig.h
supporting multi-thread to access the fat file system
setting RT_LWIP_TCP_WND to 8k for improving the throughput

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1860 bbd45198-f89e-11dd-88c7-29a3b14d5316

luohui2320@gmail.com 13 years ago
parent
commit
70a7964f2c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      bsp/at91sam9260/rtconfig.h

+ 3 - 2
bsp/at91sam9260/rtconfig.h

@@ -95,7 +95,8 @@
 #define RT_USING_DFS
 #define RT_USING_DFS_ELMFAT
 /* use long file name feature 			*/
-#define RT_DFS_ELM_USE_LFN			1
+#define RT_DFS_ELM_USE_LFN			2
+#define RT_DFS_ELM_REENTRANT
 /* the max number of file length 		*/
 #define RT_DFS_ELM_MAX_LFN			128
 /* #define RT_USING_DFS_YAFFS2 */
@@ -155,7 +156,7 @@
 #define RT_LWIP_TCP_SND_BUF	1024*10
 
 /* TCP receive window. */
-#define RT_LWIP_TCP_WND	1024
+#define RT_LWIP_TCP_WND	1024*8
 
 /* Enable SNMP protocol */
 /* #define RT_LWIP_SNMP */