File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,12 @@ menu "mDNS"
19
19
higher than priorities of system tasks. Compile time warning/error
20
20
would be emitted if the chosen task priority were too high.
21
21
22
+ config MDNS_TASK_STACK_SIZE
23
+ int "mDNS task stack size"
24
+ default 4096
25
+ help
26
+ Allows setting mDNS task stacksize.
27
+
22
28
choice MDNS_TASK_AFFINITY
23
29
prompt "mDNS task affinity"
24
30
default MDNS_TASK_AFFINITY_CPU0
Original file line number Diff line number Diff line change 56
56
#define MDNS_ANSWER_AAAA_SIZE 16
57
57
58
58
#define MDNS_SERVICE_PORT 5353 // UDP port that the server runs on
59
- #define MDNS_SERVICE_STACK_DEPTH 4096 // Stack size for the service thread
59
+ #define MDNS_SERVICE_STACK_DEPTH CONFIG_MDNS_TASK_STACK_SIZE
60
60
#define MDNS_TASK_PRIORITY CONFIG_MDNS_TASK_PRIORITY
61
61
#if (MDNS_TASK_PRIORITY > ESP_TASK_PRIO_MAX )
62
62
#error "mDNS task priority is higher than ESP_TASK_PRIO_MAX"
You can’t perform that action at this time.
0 commit comments