diff --git a/components/esp_wifi/CMakeLists.txt b/components/esp_wifi/CMakeLists.txt index 0fe1899f3b..62a6dd7f00 100644 --- a/components/esp_wifi/CMakeLists.txt +++ b/components/esp_wifi/CMakeLists.txt @@ -8,6 +8,14 @@ if(${idf_target} STREQUAL "esp32s3") return() endif() +# remove these when wifi support is ready on esp32-c3 +if(${idf_target} STREQUAL "esp32c3") + idf_component_register(INCLUDE_DIRS "include" + REQUIRES esp_event + PRIV_REQUIRES wpa_supplicant nvs_flash esp_netif) + return() +endif() + if(CONFIG_ESP32_NO_BLOBS OR CONFIG_ESP32S2_NO_BLOBS) set(link_binary_libs 0) set(ldfragments) diff --git a/components/freemodbus/CMakeLists.txt b/components/freemodbus/CMakeLists.txt index 43765eab94..3af4831360 100644 --- a/components/freemodbus/CMakeLists.txt +++ b/components/freemodbus/CMakeLists.txt @@ -1,3 +1,8 @@ +idf_build_get_property(target IDF_TARGET) +if(${target} STREQUAL "esp32c3") + return() # TODO ESP32-C3 IDF-2173 +endif() + # The following five lines of boilerplate have to be in your project's # CMakeLists in this exact order for cmake to work correctly set(srcs diff --git a/components/perfmon/CMakeLists.txt b/components/perfmon/CMakeLists.txt index 3f2efc3e92..bf463e4f73 100644 --- a/components/perfmon/CMakeLists.txt +++ b/components/perfmon/CMakeLists.txt @@ -1,3 +1,8 @@ +idf_build_get_property(target IDF_TARGET) +if(${target} STREQUAL "esp32c3") + return() +endif() + set(xtensa_perfmon_srcs "xtensa_perfmon_access.c" "xtensa_perfmon_apis.c" "xtensa_perfmon_masks.c")