Files
zh_tachometer/CMakeLists.txt
T
2026-03-23 19:58:35 +03:00

6 lines
236 B
CMake
Executable File

if(${IDF_VERSION_MAJOR} STREQUAL 6)
set(requires esp_driver_gpio esp_driver_pcnt esp_timer)
else()
set(requires driver esp_timer)
endif()
idf_component_register(SRCS "zh_tachometer.c" INCLUDE_DIRS "include" REQUIRES ${requires})