From 70a7964f2c1e47280a853cc311f9f18d7524e9e1 Mon Sep 17 00:00:00 2001 From: "luohui2320@gmail.com" Date: Wed, 21 Dec 2011 15:12:11 +0000 Subject: [PATCH] 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 --- bsp/at91sam9260/rtconfig.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bsp/at91sam9260/rtconfig.h b/bsp/at91sam9260/rtconfig.h index dadcc3e6b..293de18a2 100755 --- a/bsp/at91sam9260/rtconfig.h +++ b/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 */