From a8b43d197f9ac84817e941af7718790d377a173a Mon Sep 17 00:00:00 2001 From: songruojing Date: Fri, 29 Jul 2022 12:24:20 +0800 Subject: [PATCH] esp32c6: skip esp_phy and esp_wifi support --- components/esp_phy/CMakeLists.txt | 5 +++++ components/soc/esp32c6/include/soc/Kconfig.soc_caps.in | 4 ---- components/soc/esp32c6/include/soc/soc_caps.h | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/components/esp_phy/CMakeLists.txt b/components/esp_phy/CMakeLists.txt index cd35c9b460..46e9abde13 100644 --- a/components/esp_phy/CMakeLists.txt +++ b/components/esp_phy/CMakeLists.txt @@ -1,5 +1,10 @@ idf_build_get_property(idf_target IDF_TARGET) +if(IDF_TARGET STREQUAL "esp32c6") + # TODO : IDF-5680 + return() +endif() + set(srcs "src/phy_override.c" "src/lib_printf.c") if(CONFIG_APP_NO_BLOBS) diff --git a/components/soc/esp32c6/include/soc/Kconfig.soc_caps.in b/components/soc/esp32c6/include/soc/Kconfig.soc_caps.in index 0822801ca6..af30553da9 100644 --- a/components/soc/esp32c6/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32c6/include/soc/Kconfig.soc_caps.in @@ -27,10 +27,6 @@ config SOC_USB_SERIAL_JTAG_SUPPORTED bool default y -config SOC_WIFI_SUPPORTED - bool - default y - config SOC_SUPPORTS_SECURE_DL_MODE bool default y diff --git a/components/soc/esp32c6/include/soc/soc_caps.h b/components/soc/esp32c6/include/soc/soc_caps.h index e12158cb92..53de8f529a 100644 --- a/components/soc/esp32c6/include/soc/soc_caps.h +++ b/components/soc/esp32c6/include/soc/soc_caps.h @@ -34,7 +34,7 @@ #define SOC_ASYNC_MEMCPY_SUPPORTED 1 #define SOC_USB_SERIAL_JTAG_SUPPORTED 1 // #define SOC_TEMP_SENSOR_SUPPORTED 1 // TODO: IDF-5322 -#define SOC_WIFI_SUPPORTED 1 +// #define SOC_WIFI_SUPPORTED 1 // TODO: IDF-5679 #define SOC_SUPPORTS_SECURE_DL_MODE 1 //#define SOC_RISCV_COPROC_SUPPORTED 1 // TODO: IDF-5816 #define SOC_EFUSE_KEY_PURPOSE_FIELD 1