CMakeLists.txt 380 B

12345678910111213
  1. idf_build_get_property(target IDF_TARGET)
  2. if(NOT "${target}" STREQUAL "esp32s2")
  3. return()
  4. endif()
  5. if(NOT BOOTLOADER_BUILD)
  6. # [refactor-todo] propagate these requirements for compatibility
  7. # remove in the future
  8. set(legacy_reqs driver efuse soc)
  9. endif()
  10. idf_component_register(REQUIRES xtensa "${legacy_reqs}"
  11. REQUIRED_IDF_TARGETS esp32s2)