File tree 2 files changed +30
-0
lines changed
config/esp32/components/chip
2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -288,6 +288,31 @@ menu "CHIP Device Layer"
288
288
When this option is enabled, the main matter task can delegate some
289
289
time consuming operations to a background task so that the main matter
290
290
task is not blocked and can process other work.
291
+
292
+ config BG_CHIP_TASK_STACK_SIZE
293
+ depends on ENABLE_BG_EVENT_PROCESSING
294
+ int "Background CHIP Task Stack Size"
295
+ range 0 8192
296
+ default 6144
297
+ help
298
+ The size (in bytes) of the background CHIP task stack.
299
+
300
+ config BG_CHIP_TASK_PRIORITY
301
+ depends on ENABLE_BG_EVENT_PROCESSING
302
+ int "Background CHIP Task Priority"
303
+ range 0 256
304
+ default 1
305
+ help
306
+ The priority of the background CHIP task.
307
+
308
+ config BG_MAX_EVENT_QUEUE_SIZE
309
+ depends on ENABLE_BG_EVENT_PROCESSING
310
+ int "Max Event Queue Size"
311
+ range 1 8
312
+ default 1
313
+ help
314
+ The maximum number of events that can be held in the background CHIP Platform event queue.
315
+
291
316
endmenu
292
317
293
318
menu "Device Identification Options"
Original file line number Diff line number Diff line change 100
100
#define CHIP_DEVICE_CONFIG_ENABLE_DEVICE_INSTANCE_INFO_PROVIDER CONFIG_ENABLE_ESP32_DEVICE_INSTANCE_INFO_PROVIDER
101
101
#define CHIP_DEVICE_CONFIG_DISCOVERY_TIMEOUT_SECS CONFIG_CHIP_DISCOVERY_TIMEOUT_SECS
102
102
#define CHIP_DEVICE_CONFIG_ENABLE_BOTH_COMMISSIONER_AND_COMMISSIONEE CONFIG_ENABLE_ESP32_BLE_CONTROLLER
103
+
104
+ // Options for background chip task
103
105
#define CHIP_DEVICE_CONFIG_ENABLE_BG_EVENT_PROCESSING CONFIG_ENABLE_BG_EVENT_PROCESSING
106
+ #define CHIP_DEVICE_CONFIG_BG_TASK_PRIORITY CONFIG_BG_CHIP_TASK_PRIORITY
107
+ #define CHIP_DEVICE_CONFIG_BG_MAX_EVENT_QUEUE_SIZE CONFIG_BG_MAX_EVENT_QUEUE_SIZE
108
+ #define CHIP_DEVICE_CONFIG_BG_TASK_STACK_SIZE CONFIG_BG_CHIP_TASK_STACK_SIZE
You can’t perform that action at this time.
0 commit comments