mirror of https://github.com/ARMmbed/mbed-os.git
LwIP: make TCPIP_THREAD_PRIO configurable
parent
3d5489a6f8
commit
69782a4ca6
|
@ -111,7 +111,8 @@
|
|||
#define TCPIP_THREAD_STACKSIZE LWIP_ALIGN_UP(MBED_CONF_LWIP_TCPIP_THREAD_STACKSIZE, 8)
|
||||
#endif
|
||||
|
||||
#define TCPIP_THREAD_PRIO (osPriorityNormal)
|
||||
// Thread priority (osPriorityNormal by default)
|
||||
#define TCPIP_THREAD_PRIO (MBED_CONF_LWIP_TCPIP_THREAD_PRIORITY)
|
||||
|
||||
// Thread stack size for lwip system threads
|
||||
#ifndef MBED_CONF_LWIP_DEFAULT_THREAD_STACKSIZE
|
||||
|
|
|
@ -104,6 +104,10 @@
|
|||
"help": "Maximum timeout (ms) for TCP close handshaking timeout",
|
||||
"value": 1000
|
||||
},
|
||||
"tcpip-thread-priority": {
|
||||
"help": "Priority of lwip TCPIP thread",
|
||||
"value": "osPriorityNormal"
|
||||
},
|
||||
"pbuf-pool-size": {
|
||||
"help": "Number of pbufs in pool - usually used for received packets, so this determines how much data can be buffered between reception and the application reading. If a driver uses PBUF_RAM for reception, less pool may be needed. Current default (used if null here) is set to 5 in lwipopts.h, unless overridden by target Ethernet drivers.",
|
||||
"value": null
|
||||
|
|
Loading…
Reference in New Issue