Skip to content

Commit 0559874

Browse files
committed
Add missing config options to kconfig
When using in an esp-idf environment some options are missing and need to be set on the command line to override. This adds the missing options so that they can be set in menuconfig/sdkconfig.defaults.
1 parent d0c5b17 commit 0559874

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

Kconfig.projbuild

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
menu "AsyncTCP Configuration"
22

3+
config ASYNC_TCP_STACK_SIZE
4+
int "Async TCP task stack size"
5+
default 8192
6+
help
7+
This configures stack size of the Async TCP task
8+
39
choice ASYNC_TCP_RUNNING_CORE
410
bool "Core on which AsyncTCP's thread is running"
511
default ASYNC_TCP_RUN_CORE1
@@ -27,4 +33,23 @@ config ASYNC_TCP_USE_WDT
2733
help
2834
Enable WDT for the AsyncTCP task, so it will trigger if a handler is locking the thread.
2935

36+
config ASYNC_TCP_QUEUE_SIZE
37+
int "Async TCP event queue size"
38+
default 64
39+
help
40+
Configures the size of the Async TCP event queue. Lowering the value will reduce resource use
41+
but will limit the number of events that can be processed. Increasing will allow for more
42+
connections/event to be handled.
43+
44+
config ASYNC_TCP_MAX_ACK_TIME
45+
int "Async TCP max ack time"
46+
default 5000
47+
help
48+
Configures the max time in milliseconds to wait for an ACK response.
49+
50+
config ASYNC_TCP_PRIORITY
51+
int "Async TCP task priority"
52+
default 10
53+
help
54+
This configures the priority of the Async TCP task.
3055
endmenu

0 commit comments

Comments
 (0)