OVMS3-idf/components/esp_adc_cal/CMakeLists.txt
2020-01-16 17:41:31 +08:00

9 lines
266 B
CMake

idf_build_get_property(target IDF_TARGET)
# ToDo: re-enable adc-cal for other target
if(NOT ${target} STREQUAL "esp32")
return()
endif()
idf_component_register(SRCS "esp_adc_cal.c"
INCLUDE_DIRS "include"
REQUIRES driver)