mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
esp32c3: Disable components that are not yet supported
This commit is contained in:
committed by
Angus Gratton
parent
3458469204
commit
0301c66bf0
@ -8,6 +8,14 @@ if(${idf_target} STREQUAL "esp32s3")
|
|||||||
return()
|
return()
|
||||||
endif()
|
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)
|
if(CONFIG_ESP32_NO_BLOBS OR CONFIG_ESP32S2_NO_BLOBS)
|
||||||
set(link_binary_libs 0)
|
set(link_binary_libs 0)
|
||||||
set(ldfragments)
|
set(ldfragments)
|
||||||
|
@ -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
|
# The following five lines of boilerplate have to be in your project's
|
||||||
# CMakeLists in this exact order for cmake to work correctly
|
# CMakeLists in this exact order for cmake to work correctly
|
||||||
set(srcs
|
set(srcs
|
||||||
|
@ -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"
|
set(xtensa_perfmon_srcs "xtensa_perfmon_access.c"
|
||||||
"xtensa_perfmon_apis.c"
|
"xtensa_perfmon_apis.c"
|
||||||
"xtensa_perfmon_masks.c")
|
"xtensa_perfmon_masks.c")
|
||||||
|
Reference in New Issue
Block a user