mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-03 22:08:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			324 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			324 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
set(srcs)
 | 
						|
 | 
						|
if(CONFIG_SPIRAM_MODE_QUAD)
 | 
						|
    if(NOT ${target} STREQUAL "esp32" AND NOT ${target} STREQUAL "esp32s2")
 | 
						|
        list(APPEND srcs "esp_psram_impl_ap_quad.c")
 | 
						|
    endif()
 | 
						|
endif()
 | 
						|
 | 
						|
if(CONFIG_SPIRAM_MODE_HEX)
 | 
						|
    list(APPEND srcs "esp_psram_impl_ap_hex.c")
 | 
						|
endif()
 | 
						|
 | 
						|
target_sources(${COMPONENT_LIB} PRIVATE "${srcs}")
 |