esp-idf-lib/components/mhz19b/CMakeLists.txt@df8564c9701e
esp-idf-lib/components/mhz19b/CMakeLists.txt
Fri, 07 Apr 2023 14:31:17 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Fri, 07 Apr 2023 14:31:17 +0200
- changeset 21
- df8564c9701e
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
The esp-idf-lib apds9930 component is now working. In nvsio stop logging not updated values. Store gain and aglbit values in nvs.
if(${IDF_VERSION_MAJOR} STREQUAL 4 AND ${IDF_VERSION_MINOR} STREQUAL 1 AND ${IDF_VERSION_PATCH} STREQUAL 3)
set(req log esp_idf_lib_helpers driver)
else()
set(req log esp_idf_lib_helpers driver esp_timer)
endif()
idf_component_register(SRCS "mhz19b.c"
INCLUDE_DIRS "."
REQUIRES ${req})