2019-02-04 02:07:02 -05:00
|
|
|
message(WARNING "Embedding ULP binary by including \
|
|
|
|
${IDF_PATH}/components/ulp/component_ulp_common.cmake is deprecated. Use `ulp_embed_binary` instead. \
|
|
|
|
See API Guide for more details.")
|
2018-09-13 02:54:59 -04:00
|
|
|
|
2019-02-04 02:07:02 -05:00
|
|
|
spaces2list(ULP_S_SOURCES)
|
|
|
|
spaces2list(ULP_EXP_DEP_SRCS)
|
2018-09-13 02:54:59 -04:00
|
|
|
|
2019-02-04 02:07:02 -05:00
|
|
|
foreach(ulp_s_source ${ULP_S_SOURCES})
|
|
|
|
get_filename_component(ulp_src ${ulp_s_source} ABSOLUTE BASE_DIR ${COMPONENT_DIR})
|
|
|
|
list(APPEND ulp_srcs ${ulp_src})
|
|
|
|
endforeach()
|
2018-09-13 02:54:59 -04:00
|
|
|
|
2019-02-04 02:07:02 -05:00
|
|
|
foreach(ulp_exp_dep_src ${ULP_EXP_DEP_SRCS})
|
|
|
|
get_filename_component(ulp_dep_src ${ulp_exp_dep_src} ABSOLUTE BASE_DIR ${COMPONENT_DIR})
|
|
|
|
list(APPEND ulp_dep_srcs ${ulp_dep_src})
|
|
|
|
endforeach()
|
2018-09-13 02:54:59 -04:00
|
|
|
|
2020-02-14 01:20:11 -05:00
|
|
|
ulp_embed_binary(${ULP_APP_NAME} "${ulp_srcs}" "${ulp_dep_srcs}")
|