mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 09:01:40 +01:00 
			
		
		
		
	
		
			
	
	
		
			9 lines
		
	
	
		
			405 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
		
		
			
		
	
	
			9 lines
		
	
	
		
			405 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| 
								 | 
							
								if(CONFIG_SPIRAM_CACHE_WORKAROUND)
							 | 
						||
| 
								 | 
							
								    # We do this here as well as in CMakeLists.txt, because targets that
							 | 
						||
| 
								 | 
							
								    # are not part of the ESP-IDF build system (for cases where a generic
							 | 
						||
| 
								 | 
							
								    # non-IDF CMakeLists.txt file is imported into a component) don't depend
							 | 
						||
| 
								 | 
							
								    # on the esp32 component so don't get the extra flag. This handles that case.
							 | 
						||
| 
								 | 
							
								    add_compile_options(-mfix-esp32-psram-cache-issue)
							 | 
						||
| 
								 | 
							
								endif()
							 | 
						||
| 
								 | 
							
								
							 |