diff --git a/config/esp32/components/chip/CMakeLists.txt b/config/esp32/components/chip/CMakeLists.txt index 8b46be6b092e89..d279ce37dc4535 100644 --- a/config/esp32/components/chip/CMakeLists.txt +++ b/config/esp32/components/chip/CMakeLists.txt @@ -158,6 +158,10 @@ if (CONFIG_ENABLE_CHIP_SHELL) chip_gn_arg_append("chip_build_libshell" "true") endif() +if (CONFIG_ENABLE_CHIP_CONTROLLER_BUILD) + chip_gn_arg_append("chip_build_controller" "true") +endif() + if (CONFIG_ENABLE_WIFI_STATION OR CONFIG_ENABLE_WIFI_AP) chip_gn_arg_append("chip_enable_wifi" "true") else() diff --git a/config/esp32/components/chip/Kconfig b/config/esp32/components/chip/Kconfig index 7bd4b0bf924de5..99de12afa97e6e 100644 --- a/config/esp32/components/chip/Kconfig +++ b/config/esp32/components/chip/Kconfig @@ -96,6 +96,12 @@ menu "CHIP Core" help Link the application against CHIP interactive shell. + config ENABLE_CHIP_CONTROLLER_BUILD + bool "Enable chip-controller build" + default n + help + This option enables chip-controller building. + config DISABLE_IPV4 bool "Disable IPv4 functionality in the CHIP stack" default "n"