esp-idf-lib/components/example/CMakeLists.txt@50dbb626fbab
esp-idf-lib/components/example/CMakeLists.txt
Sun, 10 Sep 2023 17:29:15 +0200
- author
- Michiel Broek <mbroek@mbse.eu>
- date
- Sun, 10 Sep 2023 17:29:15 +0200
- changeset 37
- 50dbb626fbab
- parent 1
-
1c9894662795
- permissions
- -rw-r--r--
Version 0.4.3. Attempt to fix the sunlight overflow of the APDS9930 sensor in the private part of the esp-idf-lib. Removed some error checks from functions that always return OK. Store light sensor registers in the state record and report the values in the json result string.
if(${IDF_TARGET} STREQUAL esp8266)
set(req esp8266 log)
else()
set(req driver log)
endif()
idf_component_register(
SRCS example.c
INCLUDE_DIRS .
REQUIRES ${req}
)