increase MEMP_NUM_NETCONN => increase also the number of possible socket descriptors

This commit is contained in:
Stefan Lankes 2011-09-18 18:37:57 +02:00
parent d51487cfd6
commit 6070384089

View file

@ -195,6 +195,12 @@
*/
#define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
/**
* MEMP_NUM_NETCONN: the number of struct netconns.
* (only needed if you use the sequential API, like api_lib.c)
*/
#define MEMP_NUM_NETCONN 32
// On the SCC, we have not to check incoming messages from the trusted MCPC
#ifdef CONFIG_ROCKCREEK
/**
@ -229,7 +235,7 @@
#define PBUF_DEBUG LWIP_DBG_OFF
// we need this feature to avoid memcpy operation between user- and kernel space
#define LWIP_TCPIP_CORE_LOCKING 1
//#define LWIP_TCPIP_CORE_LOCKING 1
//#define LWIP_TCPIP_THREAD_ALIVE() kputs("TCPIP thread is alive!\n")
#endif