Skip to content

Commit

Permalink
ESP32: Add option to enable controller building (#27544)
Browse files Browse the repository at this point in the history
  • Loading branch information
wqx6 authored and pull[bot] committed Jan 12, 2024
1 parent d595ce9 commit 369bbaf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/esp32/components/chip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 6 additions & 0 deletions config/esp32/components/chip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 369bbaf

Please sign in to comment.