mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
20c068ef3b
* changing dependencies from unity->cmock * added component.mk and Makefile.projbuild * ignore test dir in gen_esp_err_to_name.py * added some brief introduction of CMock in IDF
14 lines
417 B
CMake
14 lines
417 B
CMake
idf_component_register(SRC_DIRS ${IDF_TARGET}
|
|
PRIV_INCLUDE_DIRS .
|
|
PRIV_REQUIRES cmock ulp soc esp_common)
|
|
|
|
if(IDF_TARGET STREQUAL "esp32")
|
|
set(ulp_sources "ulp/test_jumps_esp32.S")
|
|
elseif(IDF_TARGET STREQUAL "esp32s2")
|
|
set(ulp_sources "ulp_riscv/test_main.c")
|
|
endif()
|
|
|
|
set(ulp_app_name ulp_test_app)
|
|
set(ulp_exp_dep_srcs ${IDF_TARGET})
|
|
ulp_embed_binary(${ulp_app_name} "${ulp_sources}" "${ulp_exp_dep_srcs}")
|