esp32c3: Disable components that are not yet supported

This commit is contained in:
Marius Vikhammer 2020-12-29 12:17:54 +08:00 committed by Angus Gratton
parent 3458469204
commit 0301c66bf0
3 changed files with 18 additions and 0 deletions

View File

@ -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)

View File

@ -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

View File

@ -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")