esp-idf-lib/components/hts221/CMakeLists.txt@66aeab4ed38d
esp-idf-lib/components/hts221/CMakeLists.txt
Thu, 06 Apr 2023 20:53:06 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Thu, 06 Apr 2023 20:53:06 +0200
- changeset 19
- 66aeab4ed38d
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
Set the new measured deep sleep current consumption. This is half of the Wemos D1 system.
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}
)