2022-12-29 03:01:13 +00:00
|
|
|
set(srcs "rtc_clk_init.c"
|
|
|
|
"rtc_clk.c"
|
2023-02-09 07:39:38 +00:00
|
|
|
"pmu_param.c"
|
|
|
|
"pmu_init.c"
|
|
|
|
"pmu_sleep.c"
|
2022-12-29 03:01:13 +00:00
|
|
|
"rtc_time.c"
|
|
|
|
"chip_info.c"
|
|
|
|
)
|
|
|
|
|
2023-01-30 04:09:28 +00:00
|
|
|
if(NOT BOOTLOADER_BUILD)
|
2023-02-02 06:46:44 +00:00
|
|
|
list(APPEND srcs "sar_periph_ctrl.c"
|
|
|
|
"esp_crypto_lock.c")
|
2023-01-30 04:09:28 +00:00
|
|
|
endif()
|
|
|
|
|
2022-12-29 03:01:13 +00:00
|
|
|
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
|
|
|
|
|
|
|
|
target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
|
|
|
|
target_include_directories(${COMPONENT_LIB} PUBLIC . private_include)
|
|
|
|
target_include_directories(${COMPONENT_LIB} PRIVATE ../hal)
|