mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 04:59:55 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			373 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			373 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| idf_build_get_property(target IDF_TARGET)
 | |
| if(NOT "${target}" STREQUAL "esp32s2")
 | |
|     return()
 | |
| endif()
 | |
| 
 | |
| if(NOT BOOTLOADER_BUILD)
 | |
|     # [refactor-todo] propagate these requirements for compatibility
 | |
|     # remove in the future
 | |
|     set(legacy_reqs efuse soc)
 | |
| endif()
 | |
| 
 | |
| idf_component_register(REQUIRES xtensa "${legacy_reqs}"
 | |
|                        REQUIRED_IDF_TARGETS esp32s2)
 | 
