From 956794256b9df9152fe7a89236bb3172cae48bb5 Mon Sep 17 00:00:00 2001 From: Wang Qixiang <43193572+wqx6@users.noreply.github.com> Date: Thu, 14 Apr 2022 23:57:35 +0800 Subject: [PATCH] ESP32: disable wifi for esp32h2 (#17382) --- config/esp32/components/chip/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/esp32/components/chip/CMakeLists.txt b/config/esp32/components/chip/CMakeLists.txt index 199d80ad28ddf5..db2603b8b47ba3 100644 --- a/config/esp32/components/chip/CMakeLists.txt +++ b/config/esp32/components/chip/CMakeLists.txt @@ -103,6 +103,10 @@ if (CONFIG_ENABLE_CHIP_SHELL) chip_gn_arg_append("chip_build_libshell" "true") endif() +if (CONFIG_IDF_TARGET_ESP32H2) + chip_gn_arg_append("chip_enable_wifi" "false") +endif() + if (CONFIG_OPENTHREAD_ENABLED) chip_gn_arg_append("chip_enable_openthread" "true") endif()