| 
									
										
										
										
											2019-02-04 15:07:02 +08: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 14:54:59 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 15:07:02 +08:00
										 |  |  | spaces2list(ULP_S_SOURCES)
 | 
					
						
							|  |  |  | spaces2list(ULP_EXP_DEP_SRCS)
 | 
					
						
							| 
									
										
										
										
											2018-09-13 14:54:59 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 15:07:02 +08: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 14:54:59 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-04 15:07:02 +08: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 14:54:59 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-02-14 11:20:11 +05:00
										 |  |  | ulp_embed_binary(${ULP_APP_NAME} "${ulp_srcs}" "${ulp_dep_srcs}")
 |