-
Notifications
You must be signed in to change notification settings - Fork 165
/
Kconfig
241 lines (194 loc) · 8.89 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
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
menu "ESP Matter"
config ESP_MATTER_MAX_DEVICE_TYPE_COUNT
int "Maximum device types per endpoint"
range 1 255
default 16
help
The maximum device type count supported per endpoint.
config ESP_MATTER_ATTRIBUTE_BUFFER_LARGEST
int "Largest attribute buffer size"
default 259
help
The Largest attribute size required for various attributes, the buffer will be used
for reading or writing attributes.
config ESP_MATTER_NVS_PART_NAME
string "ESP Matter NVS partition name"
default "nvs"
help
The NVS Partition name for ESP Matter to store the NONVOLATILE attribues
config ESP_MATTER_DEFERRED_ATTR_PERSISTENCE_TIME_MS
int "ESP Matter deferred attribute persistence time (ms)"
default 3000
help
Some non-volatile attributes might be changed frequently, which might result in rapid flash wearout.
For those attributes, set the flag 'ATTRIBUTE_FLAG_DEFERRED' to defer the flash-writing for the time.
choice ESP_MATTER_DAC_PROVIDER
prompt "DAC Provider options"
default FACTORY_PARTITION_DAC_PROVIDER if ENABLE_ESP32_FACTORY_DATA_PROVIDER
default EXAMPLE_DAC_PROVIDER if !ENABLE_ESP32_FACTORY_DATA_PROVIDER
help
This option determines which attestation credentials provider will be used.
config EXAMPLE_DAC_PROVIDER
bool "Attestation - Test"
help
An example DAC Provider which provides test attestation information
config FACTORY_PARTITION_DAC_PROVIDER
depends on ENABLE_ESP32_FACTORY_DATA_PROVIDER
bool "Attestation - Factory"
help
An implementation which reads attestation information from the factory partition
config SEC_CERT_DAC_PROVIDER
bool "Attestation - Secure Cert"
help
An implementation which reads attestation information from the esp_secure_cert partition
config CUSTOM_DAC_PROVIDER
bool "Attestation - Custom"
help
A custom implementation of DAC provider
endchoice
choice ESP_MATTER_COMMISSIONABLE_DATA_PROVIDER
prompt "Commissionable Data Provider options"
default FACTORY_COMMISSIONABLE_DATA_PROVIDER if ENABLE_ESP32_FACTORY_DATA_PROVIDER
default EXAMPLE_COMMISSIONABLE_DATA_PROVIDER if !ENABLE_ESP32_FACTORY_DATA_PROVIDER
help
This option determines which commissionable data provider will be used.
config EXAMPLE_COMMISSIONABLE_DATA_PROVIDER
bool "Commissionable Data - Test"
depends on !ENABLE_ESP32_FACTORY_DATA_PROVIDER
help
An example Commissionable Data Provider which provides commissionable data information
config FACTORY_COMMISSIONABLE_DATA_PROVIDER
bool "Commissionable Data - Factory"
depends on ENABLE_ESP32_FACTORY_DATA_PROVIDER
help
An implementation which reads commissionable data information from the factory partition
config CUSTOM_COMMISSIONABLE_DATA_PROVIDER
bool "Commissionable Data - Custom"
help
A custom implementation of Commissionable Data provider
endchoice
choice ESP_MATTER_DEVICE_INSTANCE_INFO_PROVIDER
prompt "Device Instance Info Provider options"
default FACTORY_DEVICE_INSTANCE_INFO_PROVIDER if ENABLE_ESP32_DEVICE_INSTANCE_INFO_PROVIDER
default EXAMPLE_DEVICE_INSTANCE_INFO_PROVIDER if !ENABLE_ESP32_DEVICE_INSTANCE_INFO_PROVIDER
help
This option determines which device instance info provider will be used.
config EXAMPLE_DEVICE_INSTANCE_INFO_PROVIDER
bool "Device Instance Info - Test"
help
An example Device Instance Info Provider which provides device instance information
config FACTORY_DEVICE_INSTANCE_INFO_PROVIDER
bool "Device Instance Info - Factory"
depends on ENABLE_ESP32_FACTORY_DATA_PROVIDER && ENABLE_ESP32_DEVICE_INSTANCE_INFO_PROVIDER
help
An implementation which reads device instance information from the factory partition
config CUSTOM_DEVICE_INSTANCE_INFO_PROVIDER
bool "Device Instance Info - Custom"
help
A custom implementation of Device Instance Info provider
endchoice
choice ESP_MATTER_DEVICE_INFO_PROVIDER
prompt "Device Info Provider options"
default FACTORY_DEVICE_INFO_PROVIDER if ENABLE_ESP32_DEVICE_INFO_PROVIDER
default NONE_DEVICE_INFO_PROVIDER if !ENABLE_ESP32_DEVICE_INFO_PROVIDER
help
This option determines which device info provider will be used.
config NONE_DEVICE_INFO_PROVIDER
bool "Device Info - None"
help
Do not set the Device Info Provider
config FACTORY_DEVICE_INFO_PROVIDER
bool "Device Info - Factory"
depends on ENABLE_ESP32_FACTORY_DATA_PROVIDER && ENABLE_ESP32_DEVICE_INFO_PROVIDER
help
An implementation which reads device information from the factory partition
config CUSTOM_DEVICE_INFO_PROVIDER
bool "Device Info - Custom"
help
A custom implementation of Device Info provider
endchoice
config ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT
int "Maximum dynamic endpoints"
range 1 255
default 16
help
The maximum dynamic endpoints supported.
config ESP_MATTER_MODE_SELECT_CLUSTER_ENDPOINT_COUNT
int "Endpoints on which mode select cluster is used"
range 0 255
default 0
help
Endpoint count which supports mode select.
config ESP_MATTER_TEMPERATURE_CONTROL_CLUSTER_ENDPOINT_COUNT
int "Endpoints on which temperature control cluster is used"
range 0 255
default 0
help
Endpoint count which supports temperature control.
config ESP_MATTER_SCENES_TABLE_SIZE
int "Scenes table size"
range 16 255
default 16
help
Size of the scenes table.
config ESP_MATTER_BINDING_TABLE_SIZE
int "Binding table size"
range 1 255
default 10
help
Size of the binding table.
config ESP_MATTER_UNICAST_MESSAGE_COUNT
int "Unicast message count"
range 1 255
default 10
help
APS unicast message count.
choice ESP_MATTER_MEM_ALLOC_MODE
prompt "Memory allocation strategy"
default ESP_MATTER_MEM_ALLOC_MODE_INTERNAL
help
Strategy for allocating memory for Matter data model, essentially provides ability to
allocate all required dynamic allocations from,
- Internal DRAM memory only
- External SPIRAM memory only
- Either internal or external memory based on default malloc()
behavior in ESP-IDF
- Internal IRAM memory wherever applicable else internal DRAM
config ESP_MATTER_MEM_ALLOC_MODE_INTERNAL
bool "Internal memory"
config ESP_MATTER_MEM_ALLOC_MODE_EXTERNAL
bool "External SPIRAM"
depends on SPIRAM_USE_CAPS_ALLOC || SPIRAM_USE_MALLOC
config ESP_MATTER_MEM_ALLOC_MODE_DEFAULT
bool "Default alloc mode"
config ESP_MATTER_MEM_ALLOC_MODE_IRAM_8BIT
bool "Internal IRAM"
depends on ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY
help
Allows to use IRAM memory region as 8bit accessible region.
Every unaligned (8bit or 16bit) access will result in an exception
and incur penalty of certain clock cycles per unaligned read/write.
endchoice #ESP_MATTER_MEM_ALLOC_MODE
config ESP_MATTER_ENABLE_DATA_MODEL
bool "Use ESP-Matter data model"
default y
help
This option should be disable for zap examples
If enabled, we will not use zap to define the data model of the node. All of the
endpoints are dynamic.
config ESP_MATTER_ENABLE_MATTER_SERVER
bool "Enable Matter Server"
default y
help
This option should be disable for client-only examples, such as Matter commissioner.
If enabled, we will start Matter server when calling esp_matter::start()
If disabled, the Matter server will not be initialized in esp_matter::start()
config ESP_MATTER_ENABLE_OPENTHREAD
bool "Initialize Thread stack and start Thread task when starting ESP-Matter"
default y
help
Enabled this option to initialize Thread stack and start Thread task when calling
esp_matter::start()
Disable this option to initialize Thread stack and start Thread task with more
flexibility.
endmenu