esp-idf-lib/components/dps310/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.

idf_component_register(

    # sources to compile
    SRCS src/dps310.c src/helper_i2c.c

    # public headers
    INCLUDE_DIRS include

    # private headers
    PRIV_INCLUDE_DIRS priv_include

    # Component Requirements
    # https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#component-requirements

    # components whose header files are #included from the public header files
    # of this component.
    REQUIRES log i2cdev

    # components whose header files are #included from any source files in
    # this component, unless already listed in REQUIRES
    PRIV_REQUIRES esp_idf_lib_helpers i2cdev
)

mercurial