[bsp][CME_M7] update lwIP config.

This commit is contained in:
aozima 2018-12-03 19:58:55 +08:00
parent 30538a9478
commit 2d48393fd2
1 changed files with 8 additions and 2 deletions

View File

@ -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"