esp-idf-lib/components/sht4x/CMakeLists.txt@1599e696d947
esp-idf-lib/components/sht4x/CMakeLists.txt
Thu, 06 Apr 2023 13:22:03 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Thu, 06 Apr 2023 13:22:03 +0200
- changeset 17
- 1599e696d947
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
Code changes to try to fix the not working ADPS9930 driver.
if(${IDF_VERSION_MAJOR} STREQUAL 4 AND ${IDF_VERSION_MINOR} STREQUAL 1 AND ${IDF_VERSION_PATCH} STREQUAL 3)
set(req i2cdev log esp_idf_lib_helpers)
else()
set(req i2cdev log esp_idf_lib_helpers esp_timer)
endif()
idf_component_register(
SRCS sht4x.c
INCLUDE_DIRS .
REQUIRES ${req}
)