increase MEMP_NUM_NETCONN => increase also the number of possible socket descriptors
This commit is contained in:
parent
d51487cfd6
commit
6070384089
1 changed files with 7 additions and 1 deletions
|
@ -195,6 +195,12 @@
|
||||||
*/
|
*/
|
||||||
#define MEMP_NUM_TCP_SEG TCP_SND_QUEUELEN
|
#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
|
// On the SCC, we have not to check incoming messages from the trusted MCPC
|
||||||
#ifdef CONFIG_ROCKCREEK
|
#ifdef CONFIG_ROCKCREEK
|
||||||
/**
|
/**
|
||||||
|
@ -229,7 +235,7 @@
|
||||||
#define PBUF_DEBUG LWIP_DBG_OFF
|
#define PBUF_DEBUG LWIP_DBG_OFF
|
||||||
|
|
||||||
// we need this feature to avoid memcpy operation between user- and kernel space
|
// 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")
|
//#define LWIP_TCPIP_THREAD_ALIVE() kputs("TCPIP thread is alive!\n")
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue