diff options
| author | aozima <[email protected]> | 2018-12-03 19:58:55 +0800 |
|---|---|---|
| committer | aozima <[email protected]> | 2018-12-03 20:00:23 +0800 |
| commit | 2d48393fd2ac4c43042a3aa0458202b03b87dcb3 (patch) | |
| tree | c3acb46e558aaf9924b97b1282e7f41cf63fadbb /bsp/CME_M7 | |
| parent | 30538a9478340c5e9ee86ed8f411b07d88cbf050 (diff) | |
[bsp][CME_M7] update lwIP config.
Diffstat (limited to 'bsp/CME_M7')
| -rw-r--r-- | bsp/CME_M7/rtconfig.h | 10 |
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" |
