CMakeLists.txt 367 B

12345678910111213
  1. idf_build_get_property(target IDF_TARGET)
  2. if(NOT (IDF_TARGET STREQUAL "esp32c3") AND NOT (IDF_TARGET STREQUAL "esp32h2"))
  3. set(srcs "ulp.c"
  4. "ulp_macro.c")
  5. if(CONFIG_ESP32S2_ULP_COPROC_RISCV)
  6. list(APPEND srcs "ulp_riscv.c")
  7. endif()
  8. idf_component_register(SRCS ${srcs}
  9. INCLUDE_DIRS include)
  10. endif()