esp-idf-lib/components/dps310/CMakeLists.txt

Mon, 17 Apr 2023 16:20:58 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 17 Apr 2023 16:20:58 +0200
changeset 32
84e54b14e7db
parent 1
1c9894662795
permissions
-rw-r--r--

Version 0.4.1 Measure internal chip temperature, range -10 to 80. Result available in mqtt json payload.

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