kopia lustrzana https://github.com/espressif/esp-idf
15 wiersze
757 B
CMake
15 wiersze
757 B
CMake
set(app_sources "test_app_main.c" "test_lp_core.c")
|
|
set(lp_core_sources "lp_core/test_main.c")
|
|
set(lp_core_sources_counter "lp_core/test_main_counter.c")
|
|
set(lp_core_sources_set_timer_wakeup "lp_core/test_main_set_timer_wakeup.c")
|
|
|
|
idf_component_register(SRCS ${app_sources}
|
|
INCLUDE_DIRS "lp_core"
|
|
REQUIRES ulp unity esp_timer
|
|
WHOLE_ARCHIVE)
|
|
|
|
set(lp_core_exp_dep_srcs ${app_sources})
|
|
ulp_embed_binary(lp_core_test_app "${lp_core_sources}" "${lp_core_exp_dep_srcs}")
|
|
ulp_embed_binary(lp_core_test_app_counter "${lp_core_sources_counter}" "${lp_core_exp_dep_srcs}")
|
|
ulp_embed_binary(lp_core_test_app_set_timer_wakeup "${lp_core_sources_set_timer_wakeup}" "${lp_core_exp_dep_srcs}")
|