-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
73 lines (63 loc) · 1.88 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
menuconfig AHTTPD_ENABLE
bool "Async HTTPD (ahttpd)"
default y
help
If the option is enabled, "Async HTTPD" works.
config AHTTPD_ENABLE_ESPFS
depends on AHTTPD_ENABLE
bool "Embed ESPFS image"
default y
help
Enables embeding static files for the webserver
config AHTTPD_HTMLDIR
depends on AHTTPD_ENABLE_ESPFS
string "Source html files dir"
default "html/"
config AHTTPD_HTML_GENERATE_CMD
depends on AHTTPD_ENABLE_ESPFS
string "Command to generate html files"
default "mkdir -p"
help
Will be passed $(PROJECT_PATH)/$(CONFIG_AHTTPD_HTMLDIR) as first argument
config AHTTPD_ESPFS_HEATSHRINK
depends on AHTTPD_ENABLE_ESPFS
bool "Heatshrink files"
default y
help
Enable Heatshrinking files
config AHTTPD_ESPFS_GZIP
depends on AHTTPD_ENABLE_ESPFS
bool "GZIP files"
default y
help
Enable GZIPing files
config AHTTPD_ESPFS_GZIP_EXTS
depends on AHTTPD_ESPFS_GZIP
string "Files to GZIP"
default "html,css,js,svg"
help
Enable GZIPing files specified in csv (passed to mkespfsimage via '-g')
config AHTTPD_ESPFS_CHUNK_SIZE
depends on AHTTPD_ENABLE_ESPFS
int "FS send chunk size"
default 1024
help
Chunk size to read/send in one callback iteration
config AHTTPD_MAX_URL_SIZE
depends on AHTTPD_ENABLE
int "URL max allocation size"
default 256
help
Maximum size of URLs to allow, larger urls will fail to parse
config AHTTPD_MAX_HEADER_NAME_SIZE
depends on AHTTPD_ENABLE
int "Header Name max allocation size"
default 128
help
Maximum size of header names to allow, larger names will fail to parse
config AHTTPD_MAX_HEADER_VALUE_SIZE
depends on AHTTPD_ENABLE
int "URL max allocation size"
default 512
help
Maximum size of header values to allow, larger values will fail to parse