OVMS3-idf/components/ulp/test/CMakeLists.txt
2020-03-23 10:58:50 +08:00

10 lines
401 B
CMake

if(IDF_TARGET STREQUAL "esp32")
idf_component_register(SRC_DIRS esp32
PRIV_INCLUDE_DIRS .
PRIV_REQUIRES unity ulp soc esp_common)
set(ulp_app_name ulp_test_app)
set(ulp_s_sources "ulp/test_jumps_esp32.S")
set(ulp_exp_dep_srcs "esp32/test_ulp_as.c")
ulp_embed_binary(${ulp_app_name} "${ulp_s_sources}" "${ulp_exp_dep_srcs}")
endif()