diff --git a/config/esp32/components/chip/CMakeLists.txt b/config/esp32/components/chip/CMakeLists.txt index cb2c62c76607b8..fd3efee5fd5c4d 100644 --- a/config/esp32/components/chip/CMakeLists.txt +++ b/config/esp32/components/chip/CMakeLists.txt @@ -246,6 +246,10 @@ if (CONFIG_USE_ESP32_ECDSA_PERIPHERAL) chip_gn_arg_append("chip_use_esp32_ecdsa_peripheral" "true") endif() +if (CONFIG_ENABLE_MATTER_EVENT_LIST) + chip_gn_arg_append ("enable_eventlist_attribute" "true") +endif() + set(args_gn_input "${CMAKE_CURRENT_BINARY_DIR}/args.gn.in") file(GENERATE OUTPUT "${args_gn_input}" CONTENT "${chip_gn_args}") diff --git a/config/esp32/components/chip/Kconfig b/config/esp32/components/chip/Kconfig index 2fd6bd770ef849..90c9da8ada72f8 100644 --- a/config/esp32/components/chip/Kconfig +++ b/config/esp32/components/chip/Kconfig @@ -940,4 +940,13 @@ menu "CHIP Device Layer" endmenu + menu "Enable Matter Event List" + config ENABLE_MATTER_EVENT_LIST + bool "Enable Matter support Event List attribute" + default n + help + Enable Matter support Event List attribute. + + endmenu + endmenu