summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsp/CME_M7/rtconfig.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/bsp/CME_M7/rtconfig.h b/bsp/CME_M7/rtconfig.h
index d0e44c8d28..f981ad9a91 100644
--- a/bsp/CME_M7/rtconfig.h
+++ b/bsp/CME_M7/rtconfig.h
@@ -100,8 +100,14 @@
/* Enable DHCP */
// #define RT_LWIP_DHCP
-/* the number of simulatenously active TCP connections*/
-#define RT_LWIP_TCP_PCB_NUM 3
+#define RT_MEMP_NUM_NETCONN 12
+#define RT_LWIP_PBUF_NUM 3
+#define RT_LWIP_RAW_PCB_NUM 2
+#define RT_LWIP_UDP_PCB_NUM 4
+#define RT_LWIP_TCP_PCB_NUM 8
+#define RT_LWIP_TCP_SEG_NUM 40
+#define RT_LWIP_TCP_SND_BUF 4380
+#define RT_LWIP_TCP_WND 4380
/* ip address of target */
#define RT_LWIP_IPADDR "192.168.1.30"