Explorar o código

[bsp][CME_M7] update lwIP config.

aozima %!s(int64=6) %!d(string=hai) anos
pai
achega
2d48393fd2
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  1. 8 2
      bsp/CME_M7/rtconfig.h

+ 8 - 2
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"