esp-idf/components/esp_hw_support/port/esp32s3/CMakeLists.txt

34 wiersze
768 B
CMake
Czysty Zwykły widok Historia

target_include_directories(${COMPONENT_LIB} PUBLIC .)
target_include_directories(${COMPONENT_LIB} PUBLIC private_include)
set(srcs
"rtc_clk.c"
"rtc_clk_init.c"
"rtc_init.c"
"rtc_pm.c"
"rtc_sleep.c"
2021-01-13 12:05:57 +00:00
"rtc_time.c"
2021-03-11 01:48:30 +00:00
"rtc_wdt.c"
2021-02-26 07:16:08 +00:00
"chip_info.c"
)
if(NOT BOOTLOADER_BUILD)
2021-03-03 10:21:07 +00:00
list(APPEND srcs "../async_memcpy_impl_gdma.c"
"dport_access.c"
"esp_hmac.c"
"esp_ds.c"
"esp_crypto_lock.c"
"memprot.c"
"spiram.c")
2021-03-19 07:54:30 +00:00
if(CONFIG_SPIRAM_MODE_QUAD)
list(APPEND srcs "spiram_psram.c")
elseif(CONFIG_SPIRAM_MODE_OCT)
list(APPEND srcs "opiram_psram.c")
endif()
endif()
add_prefix(srcs "${CMAKE_CURRENT_LIST_DIR}/" "${srcs}")
target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")