Browse Source

[bsp][CME_M7] update lwIP config.

aozima 6 years ago
parent
commit
2d48393fd2
1 changed files with 8 additions and 2 deletions
  1. 8 2
      bsp/CME_M7/rtconfig.h

+ 8 - 2
bsp/CME_M7/rtconfig.h

@@ -100,8 +100,14 @@
 /* Enable DHCP */
 /* Enable DHCP */
 // #define RT_LWIP_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 */
 /* ip address of target */
 #define RT_LWIP_IPADDR "192.168.1.30"
 #define RT_LWIP_IPADDR "192.168.1.30"