-
Notifications
You must be signed in to change notification settings - Fork 1
/
Kconfig
123 lines (102 loc) · 3.24 KB
/
Kconfig
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#
# Copyright (c) 2022 Lucas Dietrich <[email protected]>
#
# SPDX-License-Identifier: Apache-2.0
#
menuconfig APP_HTTP_SERVER
bool "Enable HTTP server"
default y
help
Enable HTTP server features (webserver, REST API, prometheus, etc.)
if APP_HTTP_SERVER
config APP_HTTP_THREAD_STACK_SIZE
int "HTTP thread stack size"
default 4096
range 2048 16384
help
Size of the stack used by the HTTP thread
config APP_HTTP_SERVER_NONSECURE
bool "Enable non secure HTTP server"
default y
config APP_HTTP_SERVER_SECURE
bool "Enable secure HTTPS server"
depends on APP_CREDENTIALS_MANAGER
default y
config APP_HTTP_SERVER_VERIFY_CLIENT
bool "Verify client certificate"
depends on APP_HTTP_SERVER_SECURE
default n
config APP_HTTP_MAX_SESSIONS
int "Maximum number of HTTP sessions"
default 5
range 0 8
help
Maximum number of HTTP sessions supported by the HTTP server
config APP_HTTP_SESSION_TIMEOUT
int "HTTP session timeout in seconds"
default 30
range 0 600
help
Time in seconds after which an HTTP session is closed if no
activity is detected
config APP_HTTP_BUFFER_SIZE
int "HTTP buffer size"
default 8192
range 0 65536
help
Size of the buffer used to store HTTP request and response
config APP_HTTP_HEADERS_BUFFER_SIZE
int "HTTP buffer size dedicated for headers"
default 1024
range 0 65536
help
Size of the buffer used to store HTTP headers
config APP_HTTP_REQUEST_HEADERS_BUFFER_SIZE
int "HTTP buffer size dedicated for request headers values"
default 352
range 0 2048
help
Size of the buffer used to store HTTP request headers values
config APP_ROUTE_MAX_DEPTH
int "Maximum depth of the routes tree"
default 8
range 1 10
help
Maximum depth of the route tree
config APP_HTTP_TEST
bool "Enable HTTP test functions"
default n
help
Enable HTTP test for all request, responses
config APP_HTTP_TEST_SERVER
bool "Enable HTTP test server"
default n
help
Enable test server and corresponding resources and routes
config APP_HTTP_URL_MAX_LENGTH
int "Maximum length of an HTTP URL"
default 128
range 32 256
help
Maximum length of an HTTP URL
menu "HTTP files server"
config APP_FILES_SERVER_MOUNT_POINT
string "Default mount point for file upload"
default "/RAM:" if QEMU_TARGET
default "/SD:" if BOARD_NUCLEO_F429ZI
help
Default mount point for file upload (HTTP file server)
config APP_FILE_ACCESS_HISTORY
bool "Enable file access history"
default n
help
Enable file access history
config APP_FILE_ACCESS_HISTORY_SIZE
int "Maximum number of file access history entries"
depends on APP_FILE_ACCESS_HISTORY
default 10
range 1 20
help
Maximum number of file access history entries
endmenu
endif