kopia lustrzana https://github.com/espressif/esp-idf
20 wiersze
396 B
CMake
20 wiersze
396 B
CMake
set(srcs "rtc_clk_init.c"
|
|
"rtc_clk.c"
|
|
"rtc_init.c"
|
|
"rtc_pm.c"
|
|
"rtc_sleep.c"
|
|
"rtc_time.c"
|
|
"chip_info.c"
|
|
)
|
|
|
|
if(NOT BOOTLOADER_BUILD)
|
|
|
|
list(APPEND srcs "esp_crypto_lock.c"
|
|
"sar_periph_ctrl.c")
|
|
|
|
endif()
|
|
|
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
|
|
|
|
target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
|