mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
Merge branch 'bugfix/tcpip_stack_overflow_logging_printf' into 'master'
lwip: Increase minimum TCP/IP task stack size if log level is Debug or Verbose See merge request !1396
This commit is contained in:
@@ -309,9 +309,13 @@ endmenu # UDP
|
|||||||
config TCPIP_TASK_STACK_SIZE
|
config TCPIP_TASK_STACK_SIZE
|
||||||
int "TCP/IP Task Stack Size"
|
int "TCP/IP Task Stack Size"
|
||||||
default 2560
|
default 2560
|
||||||
|
# for high log levels, tcpip_adapter API calls can end up
|
||||||
|
# a few calls deep and logging there can trigger a stack overflow
|
||||||
|
range 2560 65536 if LOG_DEFAULT_LEVEL < 4 || NEWLIB_NANO_FORMAT
|
||||||
|
range 3072 65536 if LOG_DEFAULT_LEVEL >= 4 && !NEWLIB_NANO_FORMAT
|
||||||
help
|
help
|
||||||
Configure TCP/IP task stack size, used by LWIP to process multi-threaded TCP/IP operations.
|
Configure TCP/IP task stack size, used by LWIP to process multi-threaded TCP/IP operations.
|
||||||
The default is 2560 bytes, setting this stack too small will result in stack overflow crashes.
|
Setting this stack too small will result in stack overflow crashes.
|
||||||
|
|
||||||
menuconfig PPP_SUPPORT
|
menuconfig PPP_SUPPORT
|
||||||
bool "Enable PPP support (new/experimental)"
|
bool "Enable PPP support (new/experimental)"
|
||||||
|
Reference in New Issue
Block a user