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

Mon, 03 Apr 2023 11:08:09 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 03 Apr 2023 11:08:09 +0200
changeset 11
bdc123ae7b49
parent 1
1c9894662795
permissions
-rw-r--r--

Added untested port of the Arduino APDS9930 library as component into the esp-idf-lib.

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 hts221.c
    INCLUDE_DIRS .
    REQUIRES ${req}
)

mercurial