forked from me-no-dev/AsyncTCP
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathKconfig.projbuild
More file actions
55 lines (46 loc) · 1.49 KB
/
Kconfig.projbuild
File metadata and controls
55 lines (46 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
menu "AsyncTCP Configuration"
config ASYNC_TCP_STACK_SIZE
int "Async TCP task stack size"
default 8192
help
This configures stack size of the Async TCP task
choice ASYNC_TCP_RUNNING_CORE
bool "Core on which AsyncTCP's thread is running"
default ASYNC_TCP_RUN_CORE1
help
Select on which core AsyncTCP is running
config ASYNC_TCP_RUN_CORE0
bool "CORE 0"
config ASYNC_TCP_RUN_CORE1
bool "CORE 1"
config ASYNC_TCP_RUN_NO_AFFINITY
bool "BOTH"
endchoice
config ASYNC_TCP_RUNNING_CORE
int
default 0 if ASYNC_TCP_RUN_CORE0
default 1 if ASYNC_TCP_RUN_CORE1
default -1 if ASYNC_TCP_RUN_NO_AFFINITY
config ASYNC_TCP_USE_WDT
bool "Enable WDT for the AsyncTCP task"
default "y"
help
Enable WDT for the AsyncTCP task, so it will trigger if a handler is locking the thread.
config ASYNC_TCP_QUEUE_SIZE
int "Async TCP event queue size"
default 64
help
Configures the size of the Async TCP event queue. Lowering the value will reduce resource use
but will limit the number of events that can be processed. Increasing will allow for more
connections/event to be handled.
config ASYNC_TCP_MAX_ACK_TIME
int "Async TCP max ack time"
default 5000
help
Configures the max time in milliseconds to wait for an ACK response.
config ASYNC_TCP_PRIORITY
int "Async TCP task priority"
default 10
help
This configures the priority of the Async TCP task.
endmenu