esp-idf/components/esp32c3/CMakeLists.txt

14 lines
366 B
CMake
Raw Normal View History

2020-12-01 07:03:10 -05:00
idf_build_get_property(target IDF_TARGET)
if(NOT "${target}" STREQUAL "esp32c3")
return()
endif()
2021-03-19 08:03:13 -04:00
if(NOT BOOTLOADER_BUILD)
# [refactor-todo] propagate these requirements for compatibility
# remove in the future
set(legacy_reqs soc)
2021-03-19 08:03:13 -04:00
endif()
2020-12-01 07:03:10 -05:00
idf_component_register(REQUIRES riscv "${legacy_reqs}"
2021-03-19 08:03:13 -04:00
REQUIRED_IDF_TARGETS esp32c3)