mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-10-31 13:09:38 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			582 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			582 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| idf_build_get_property(target IDF_TARGET)
 | |
| 
 | |
| if(${target} STREQUAL "esp32")
 | |
|     idf_component_register(SRCS "esp_adc_cal_esp32.c"
 | |
|                     INCLUDE_DIRS "include"
 | |
|                     REQUIRES driver efuse)
 | |
| 
 | |
| elseif(${target} STREQUAL "esp32s2")
 | |
|     idf_component_register(SRCS "esp_adc_cal_esp32s2.c"
 | |
|                     INCLUDE_DIRS "include"
 | |
|                     REQUIRES driver efuse)
 | |
| 
 | |
| elseif(${target} STREQUAL "esp32c3")
 | |
|     idf_component_register(SRCS "esp_adc_cal_esp32c3.c"
 | |
|                     INCLUDE_DIRS "include"
 | |
|                     REQUIRES driver efuse)
 | |
| endif()
 | 
