fix: capture current ch390 and lwip debug changes
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
/* Heap size for dynamic memory allocation.
|
||||
* With netconn: larger heap needed for netbuf allocation and connection management.
|
||||
* 8KB provides headroom for 4 concurrent TCP connections. */
|
||||
#define MEM_SIZE (6 * 1024)
|
||||
#define MEM_SIZE (7 * 1024)
|
||||
|
||||
/* Number of pbufs in pool.
|
||||
* 10 pools for 4 concurrent connections with some headroom. */
|
||||
@@ -77,20 +77,20 @@
|
||||
|
||||
/* Number of simultaneously queued TCP segments
|
||||
* Increased for 4 concurrent connections */
|
||||
#define MEMP_NUM_TCP_SEG 16
|
||||
#define MEMP_NUM_TCP_SEG 12
|
||||
|
||||
/* Number of simultaneously active timeouts */
|
||||
#define MEMP_NUM_SYS_TIMEOUT 8
|
||||
#define MEMP_NUM_SYS_TIMEOUT 12
|
||||
|
||||
/* Number of netbufs (for netconn API, one per pending recv) */
|
||||
#define MEMP_NUM_NETBUF 4
|
||||
#define MEMP_NUM_NETBUF 8
|
||||
|
||||
/* Number of netconns: 2 listeners + 2 accepted + 2 clients + 2 margin = 8 */
|
||||
#define MEMP_NUM_NETCONN 6
|
||||
#define MEMP_NUM_NETCONN 8
|
||||
|
||||
/* TCPIP message queue size (must be >= max simultaneous API calls) */
|
||||
#define MEMP_NUM_TCPIP_MSG_API 6
|
||||
#define MEMP_NUM_TCPIP_MSG_INPKT 6
|
||||
#define MEMP_NUM_TCPIP_MSG_API 8
|
||||
#define MEMP_NUM_TCPIP_MSG_INPKT 8
|
||||
|
||||
/*-----------------------------------------------------------------------------
|
||||
* IP Configuration
|
||||
@@ -149,7 +149,7 @@
|
||||
#define TCP_MSS 536 /* Conservative value for compatibility */
|
||||
|
||||
/* TCP sender buffer space - increased for bridge throughput */
|
||||
#define TCP_SND_BUF (4 * TCP_MSS)
|
||||
#define TCP_SND_BUF (2 * TCP_MSS)
|
||||
|
||||
/* TCP sender buffer space (pbufs) */
|
||||
#define TCP_SND_QUEUELEN ((4 * (TCP_SND_BUF) + (TCP_MSS - 1)) / (TCP_MSS))
|
||||
@@ -162,7 +162,7 @@
|
||||
#define LWIP_DISABLE_TCP_SANITY_CHECKS 1
|
||||
|
||||
/* TCP receive window - increased for bridge throughput */
|
||||
#define TCP_WND (4 * TCP_MSS)
|
||||
#define TCP_WND (2 * TCP_MSS)
|
||||
|
||||
/* TCP writable space threshold */
|
||||
#define TCP_SNDLOWAT LWIP_MIN(LWIP_MAX(((TCP_SND_BUF)/2), (2 * TCP_MSS) + 1), (TCP_SND_BUF) - 1)
|
||||
@@ -281,11 +281,11 @@
|
||||
#define DEFAULT_THREAD_PRIO (configMAX_PRIORITIES - 3)
|
||||
|
||||
/* Mailbox sizes */
|
||||
#define TCPIP_MBOX_SIZE 6
|
||||
#define TCPIP_MBOX_SIZE 12
|
||||
#define DEFAULT_RAW_RECVMBOX_SIZE 4
|
||||
#define DEFAULT_UDP_RECVMBOX_SIZE 4
|
||||
#define DEFAULT_TCP_RECVMBOX_SIZE 4
|
||||
#define DEFAULT_ACCEPTMBOX_SIZE 4
|
||||
#define DEFAULT_TCP_RECVMBOX_SIZE 6
|
||||
#define DEFAULT_ACCEPTMBOX_SIZE 6
|
||||
|
||||
/* Thread name length */
|
||||
#define LWIP_NETCONN_SEM_PER_THREAD 1
|
||||
|
||||
Reference in New Issue
Block a user