esp-idf/components/esp32c2/CMakeLists.txt

14 lines
379 B
CMake
Raw Normal View History

idf_build_get_property(target IDF_TARGET)
2022-01-17 21:32:56 -05:00
if(NOT "${target}" STREQUAL "esp32c2")
return()
endif()
if(NOT BOOTLOADER_BUILD)
# [refactor-todo] propagate these requirements for compatibility
# remove in the future
set(legacy_reqs driver efuse soc)
endif()
idf_component_register(REQUIRES riscv "${legacy_reqs}"
2022-01-17 21:32:56 -05:00
REQUIRED_IDF_TARGETS esp32c2)