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

Thu, 06 Apr 2023 20:49:52 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 06 Apr 2023 20:49:52 +0200
changeset 18
12506716211c
parent 1
1c9894662795
permissions
-rw-r--r--

Added nvsio utilities to make read/write to nvs namespace easier. Added variables for deep sleep to nvs namespace. In task_wifi, removed some init parameters that might add to instable wifi connect problems.

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