CMakeLists.txt 389 B

12345678910
  1. idf_build_get_property(target IDF_TARGET)
  2. if(${target} STREQUAL "linux")
  3. return() # This component is not supported by the POSIX/Linux simulator
  4. endif()
  5. idf_component_register(SRCS "pm_locks.c" "pm_trace.c" "pm_impl.c"
  6. INCLUDE_DIRS include
  7. PRIV_REQUIRES esp_system esp_driver_gpio esp_timer
  8. LDFRAGMENTS linker.lf)