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

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