Skip to content

Commit c49852a

Browse files
authored
add a config to enable event list attribute (#29745)
1 parent 0a9949e commit c49852a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

config/esp32/components/chip/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ if (CONFIG_USE_ESP32_ECDSA_PERIPHERAL)
246246
chip_gn_arg_append("chip_use_esp32_ecdsa_peripheral" "true")
247247
endif()
248248

249+
if (CONFIG_ENABLE_MATTER_EVENT_LIST)
250+
chip_gn_arg_append ("enable_eventlist_attribute" "true")
251+
endif()
252+
249253
set(args_gn_input "${CMAKE_CURRENT_BINARY_DIR}/args.gn.in")
250254
file(GENERATE OUTPUT "${args_gn_input}" CONTENT "${chip_gn_args}")
251255

config/esp32/components/chip/Kconfig

+9
Original file line numberDiff line numberDiff line change
@@ -940,4 +940,13 @@ menu "CHIP Device Layer"
940940

941941
endmenu
942942

943+
menu "Enable Matter Event List"
944+
config ENABLE_MATTER_EVENT_LIST
945+
bool "Enable Matter support Event List attribute"
946+
default n
947+
help
948+
Enable Matter support Event List attribute.
949+
950+
endmenu
951+
943952
endmenu

0 commit comments

Comments
 (0)