feat: added esp-idf v6.0.0 support

This commit is contained in:
aZholtikov committed 2026-03-28 08:18:00 +03:00
1 parent d20d338c81
commit 011c759809
3 files changed
+8 -3

No files matched your search

+6 -1
View File
@@ -1 +1,6 @@
idf_component_register(SRCS "zh_inclinometer.c" INCLUDE_DIRS "include" REQUIRES driver) if(${IDF_VERSION_MAJOR} STREQUAL 6)
set(requires esp_driver_gpio esp_driver_pcnt)
else()
set(requires driver)
endif()
idf_component_register(SRCS "zh_inclinometer.c" INCLUDE_DIRS "include" REQUIRES ${requires})
+1 -1
View File
@@ -2,7 +2,7 @@
## Tested on ## Tested on
1. [ESP32 ESP-IDF v5.5.3](https://docs.espressif.com/projects/esp-idf/en/v5.5.3/esp32/index.html) 1. [ESP32 ESP-IDF v6.0.0](https://docs.espressif.com/projects/esp-idf/en/v6.0/esp32/index.html)
## SAST Tools ## SAST Tools
+1 -1
View File
@@ -1 +1 @@
2.1.1 2.2.0