mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #10980 from vmedcy/tcpip-thread-priority
LwIP: make TCPIP_THREAD_PRIO configurablepull/11163/head
commit
937e791ae0
|
@ -111,7 +111,8 @@
|
||||||
#define TCPIP_THREAD_STACKSIZE LWIP_ALIGN_UP(MBED_CONF_LWIP_TCPIP_THREAD_STACKSIZE, 8)
|
#define TCPIP_THREAD_STACKSIZE LWIP_ALIGN_UP(MBED_CONF_LWIP_TCPIP_THREAD_STACKSIZE, 8)
|
||||||
#endif
|
#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
|
// Thread stack size for lwip system threads
|
||||||
#ifndef MBED_CONF_LWIP_DEFAULT_THREAD_STACKSIZE
|
#ifndef MBED_CONF_LWIP_DEFAULT_THREAD_STACKSIZE
|
||||||
|
|
|
@ -104,6 +104,10 @@
|
||||||
"help": "Maximum timeout (ms) for TCP close handshaking timeout",
|
"help": "Maximum timeout (ms) for TCP close handshaking timeout",
|
||||||
"value": 1000
|
"value": 1000
|
||||||
},
|
},
|
||||||
|
"tcpip-thread-priority": {
|
||||||
|
"help": "Priority of lwip TCPIP thread",
|
||||||
|
"value": "osPriorityNormal"
|
||||||
|
},
|
||||||
"pbuf-pool-size": {
|
"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.",
|
"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
|
"value": null
|
||||||
|
|
Loading…
Reference in New Issue