feat: added esp-idf v6.0.0 support

This commit is contained in:
aZholtikov committed 2026-03-22 14:49:37 +03:00
1 parent 4e4f4047a1
commit 851e665412
2 files changed
+8 -2

No files matched your search

+7 -1
View File
@@ -1 +1,7 @@
idf_component_register(SRCS "zh_tachometer.c" INCLUDE_DIRS "include" REQUIRES driver esp_timer)
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})
+1 -1
View File
@@ -1 +1 @@
1.0.0
1.1.0