esp-idf-lib/components/sht4x/CMakeLists.txt

Tue, 28 Mar 2023 11:25:46 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 28 Mar 2023 11:25:46 +0200
changeset 2
3462a53e548f
parent 1
1c9894662795
permissions
-rw-r--r--

Finished the BMP280 task.

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}
)

mercurial