-
Notifications
You must be signed in to change notification settings - Fork 36
/
Kconfig.projbuild
182 lines (155 loc) · 5.77 KB
/
Kconfig.projbuild
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
menu "ESP QCloud Configuration"
config QCLOUD_MASS_MANUFACTURE
bool "ESP QCloud Mass Manufacture"
default n
help
Write authentication information through flash tool
config QCLOUD_FACTRY_PARTITION_NAME
depends on QCLOUD_MASS_MANUFACTURE
string "ESP QCloud Factory Partition Name"
default "fctry"
help
Factory NVS Partition name which will have the QCloud IOTHUB connectivity credentials.
config QCLOUD_FACTRY_PARTITION_NAMESPACE
depends on QCLOUD_MASS_MANUFACTURE
string "ESP QCloud Factory Partition NVS Namespace"
default "qcloud-key"
help
Factory NVS Partition name which will have the QCloud IOTHUB connectivity credentials.
choice QCLOUD_DEVICE_AUTH_MODE
depends on !QCLOUD_MASS_MANUFACTURE
prompt "QCloud Authentication mode"
default AUTH_MODE_KEY
help
QCloud Authentication mode.
config AUTH_MODE_KEY
bool "KEY"
config AUTH_MODE_CERT
bool "CERT"
endchoice
config QCLOUD_PRODUCT_ID
depends on !QCLOUD_MASS_MANUFACTURE
string "Product ID"
default "PRODUCT_ID"
help
Set the Product ID.
config QCLOUD_DEVICE_NAME
depends on !QCLOUD_MASS_MANUFACTURE
string "Device Name"
default "DEVICE_NAME"
help
Set the Device Name.
config QCLOUD_DEVICE_SECRET
depends on AUTH_MODE_KEY
string "Device Secret"
default "DEVICE_SECRET"
help
Set the Device Secret.
menu "ESP QCloud OTA Config"
config QCLOUD_SKIP_VERSION_CHECK
bool "Skip firmware version check"
default y
help
This allows you to skip the firmware version check. Useful during development,
but not for production.
config QCLOUD_SKIP_PROJECT_NAME_CHECK
bool "Skip project name check"
default n
help
This allows you to skip the project name check.
config QCLOUD_USE_HTTPS_UPDATE
bool "Use https update"
default n
help
This allows you to use https update firmware.
endmenu
menu "ESP QCloud utils"
choice QCLOUD_MEM_ALLOCATION_LOCATION
prompt "The memory location allocated by QCLOUD_MALLOC QCLOUD_CALLOC and QCLOUD_REALLOC"
help
choice where to allocate memory, can be SPIRAM or default
config QCLOUD_MEM_ALLOCATION_DEFAULT
bool "default allocation strategy"
config QCLOUD_MEM_ALLOCATION_SPIRAM
depends on ESP32S2_SPIRAM_SUPPORT || ESP32_SPIRAM_SUPPORT
bool "allocate memory in SPIRAM"
endchoice
config QCLOUD_MEM_DEBUG
bool "Memory debug"
default y
help
Memory debug.
config QCLOUD_MEM_DBG_INFO_MAX
depends on QCLOUD_MEM_DEBUG
int "QCloud Memory debug record max."
default 128
help
Config QCloud Memory debug record max.
config QCLOUD_NVS_NAMESPACE
string "Namespace where data is stored in NVS"
default "qcloud_app"
help
Namespace where data is stored in NVS.
config QCLOUD_REBOOT_UNBROKEN_INTERVAL_TIMEOUT
int "Continuous reboot interval(ms)"
default 3000
help
Continuous reboot interval.
config QCLOUD_REBOOT_UNBROKEN_FALLBACK_COUNT
int "Continuous restart triggers version rollback"
default 30
help
Continuous restart triggers version rollback.
endmenu
menu "ESP QCloud Log Config"
config QCLOUD_LOG_PARTITION_LABEL_DATA
string "Store log info partition label"
default "log_info"
help
Store log info partition label.
config QCLOUD_LOG_PARTITION_LABEL_NVS
string "Store log status partition label"
default "log_status"
help
Store log status partition label.
config QCLOUD_LOG_FILE_MAX_SIZE
int "Output the save the file size of the log"
range 8196 131072
default 65536
help
Output the Save the file size of the log
config QCLOUD_LOG_PARTITION_OFFSET
int "Offset of the log information partition"
range 0 524288
default 0
help
Offset of the log information partition
config QCLOUD_LOG_PRINTF_ENABLE
bool "Output the `printf` information of the QCloud module"
default n
help
Output the `printf` information of the QCloud module
endmenu
menu "ESP QCloud Provisioning Config"
config QCLOUD_ENABLE_BLECONFIG
depends on BT_BLE_BLUFI_ENABLE
bool "Enable BLE Provisioning"
default y
help
Enable BLE Provisioning.
endmenu
choice QCLOUD_CONSOLE_UART_NUM
prompt "UART for console input"
default QCLOUD_CONSOLE_UART_NUM_0
help
UART to be selected for serial console.
config QCLOUD_CONSOLE_UART_NUM_0
bool "UART0"
config QCLOUD_CONSOLE_UART_NUM_1
bool "UART1"
endchoice
config QCLOUD_CONSOLE_UART_NUM
int
default 0 if QCLOUD_CONSOLE_UART_NUM_0
default 1 if QCLOUD_CONSOLE_UART_NUM_1
endmenu