mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-04 20:26:38 +03:00
15 lines
458 B
CMake
15 lines
458 B
CMake
idf_build_get_property(target IDF_TARGET)
|
|
|
|
if(${target} STREQUAL "linux")
|
|
return() # This component is not supported by the POSIX/Linux simulator
|
|
endif()
|
|
|
|
if(CONFIG_SOC_PM_SUPPORTED)
|
|
list(APPEND srcs "pm_locks.c" "pm_trace.c" "pm_impl.c")
|
|
endif()
|
|
|
|
idf_component_register(SRCS "${srcs}"
|
|
INCLUDE_DIRS include
|
|
PRIV_REQUIRES esp_system esp_driver_gpio esp_timer
|
|
LDFRAGMENTS linker.lf)
|