From 2d48393fd2ac4c43042a3aa0458202b03b87dcb3 Mon Sep 17 00:00:00 2001 From: aozima Date: Mon, 3 Dec 2018 19:58:55 +0800 Subject: [PATCH] [bsp][CME_M7] update lwIP config. --- bsp/CME_M7/rtconfig.h | 10 ++++++++-- 1 file 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" -- GitLab