mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-01 16:16:54 +08:00
bugfix/mdns_stack_config: Add configuration option for MDNS Stacksize
Added a Kconfig option to configure the MDNS task stack size.
This commit is contained in:
@ -17,5 +17,14 @@ config MDNS_MAX_SERVICES
|
|||||||
services to be open at the same time conserves memory. Specify
|
services to be open at the same time conserves memory. Specify
|
||||||
the maximum amount of services here. The valid value is from 1
|
the maximum amount of services here. The valid value is from 1
|
||||||
to 64.
|
to 64.
|
||||||
|
|
||||||
|
config MDNS_STACKSIZE
|
||||||
|
int "Max stack size of MDNS"
|
||||||
|
range 2048 4096
|
||||||
|
default 4096
|
||||||
|
depends on ENABLE_MDNS
|
||||||
|
help
|
||||||
|
The stacksize of the MDNS task that will be responsible for transmitting
|
||||||
|
and receiving MDNS packets.
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
#define MDNS_ANSWER_SDPTR 0x80
|
#define MDNS_ANSWER_SDPTR 0x80
|
||||||
|
|
||||||
#define MDNS_SERVICE_PORT 5353 // UDP port that the server runs on
|
#define MDNS_SERVICE_PORT 5353 // UDP port that the server runs on
|
||||||
#define MDNS_SERVICE_STACK_DEPTH 4096 // Stack size for the service thread
|
#define MDNS_SERVICE_STACK_DEPTH CONFIG_MDNS_STACKSIZE // Stack size for the service thread
|
||||||
#define MDNS_PACKET_QUEUE_LEN 16 // Maximum packets that can be queued for parsing
|
#define MDNS_PACKET_QUEUE_LEN 16 // Maximum packets that can be queued for parsing
|
||||||
#define MDNS_ACTION_QUEUE_LEN 16 // Maximum actions pending to the server
|
#define MDNS_ACTION_QUEUE_LEN 16 // Maximum actions pending to the server
|
||||||
#define MDNS_TXT_MAX_LEN 1024 // Maximum string length of text data in TXT record
|
#define MDNS_TXT_MAX_LEN 1024 // Maximum string length of text data in TXT record
|
||||||
|
Reference in New Issue
Block a user