LwIP: make TCPIP_THREAD_PRIO configurable

pull/10980/head
Balaji 2019-07-17 10:27:03 -05:00 committed by Volodymyr Medvid
parent 3d5489a6f8
commit 69782a4ca6
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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