feat: added esp-idf v6.0.0 support
This commit is contained in:
1 parent
ae4364474f
commit
4d277e758e
3 files changed
+8
-3
No files matched your search
+6
-1
@@ -1 +1,6 @@
|
|||||||
idf_component_register(SRCS "zh_aht.c" INCLUDE_DIRS "include" REQUIRES driver)
|
if(${IDF_VERSION_MAJOR} STREQUAL 6)
|
||||||
|
set(requires esp_driver_i2c)
|
||||||
|
else()
|
||||||
|
set(requires driver)
|
||||||
|
endif()
|
||||||
|
idf_component_register(SRCS "zh_aht.c" INCLUDE_DIRS "include" REQUIRES ${requires})
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Tested on
|
## Tested on
|
||||||
|
|
||||||
1. ESP32 ESP-IDF v5.2
|
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
@@ -1 +1 @@
|
|||||||
3.2.0
|
3.3.0
|
||||||
Reference in new issue
Block a user