feat: initial

This commit is contained in:
aZholtikov committed 2026-05-17 21:42:28 +03:00
1 parent 28f857f877
commit ac973f18a6
8 files changed
+336 -3

No files matched your search

+6 -1
View File
@@ -1 +1,6 @@
idf_component_register(SRCS "main.c" INCLUDE_DIRS "include")
if(${IDF_VERSION_MAJOR} STREQUAL 6)
set(requires esp_driver_i2c)
else()
set(requires driver)
endif()
idf_component_register(SRCS "zh_bh1750.c" INCLUDE_DIRS "include" REQUIRES ${requires})