1if(IDF_TARGET STREQUAL "esp32s3") 2 return() 3endif() 4idf_component_register(SRC_DIRS ${IDF_TARGET} 5PRIV_INCLUDE_DIRS . 6PRIV_REQUIRES cmock ulp soc esp_common) 7 8if(IDF_TARGET STREQUAL "esp32") 9 set(ulp_sources "ulp/test_jumps_esp32.S") 10elseif(IDF_TARGET STREQUAL "esp32s2") 11 set(ulp_sources "ulp_riscv/test_main.c") 12endif() 13 14set(ulp_app_name ulp_test_app) 15set(ulp_exp_dep_srcs ${IDF_TARGET}) 16ulp_embed_binary(${ulp_app_name} "${ulp_sources}" "${ulp_exp_dep_srcs}") 17