esp-idf/components/esp32s2/CMakeLists.txt

14 lines
380 B
CMake
Raw Normal View History

idf_build_get_property(target IDF_TARGET)
2020-01-17 11:47:08 +08:00
if(NOT "${target}" STREQUAL "esp32s2")
return()
endif()
2021-03-19 20:03:13 +08:00
if(NOT BOOTLOADER_BUILD)
# [refactor-todo] propagate these requirements for compatibility
# remove in the future
set(legacy_reqs driver efuse soc)
endif()
2019-05-10 11:34:06 +08:00
idf_component_register(REQUIRES xtensa "${legacy_reqs}"
2021-03-19 20:03:13 +08:00
REQUIRED_IDF_TARGETS esp32s2)