mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			327 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			327 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
idf_build_get_property(target IDF_TARGET)
 | 
						|
 | 
						|
if(NOT (IDF_TARGET STREQUAL "esp32c3"))
 | 
						|
    set(srcs "ulp.c"
 | 
						|
             "ulp_macro.c")
 | 
						|
 | 
						|
    if(CONFIG_ESP32S2_ULP_COPROC_RISCV)
 | 
						|
            list(APPEND srcs "ulp_riscv.c")
 | 
						|
    endif()
 | 
						|
 | 
						|
    idf_component_register(SRCS ${srcs}
 | 
						|
                           INCLUDE_DIRS include)
 | 
						|
endif()
 |