Align all sensor drivers that are using stmemsc (STdC) HAL i/f to new APIs of stmemsc v2.02. Please note that now a new function callback, mdelay(), must be provided in case the stmemsc HAL requires to wait for a certain amount of milliseconds before or after some special operations. Requires https://github.com/zephyrproject-rtos/hal_st/pull/13 (merged as 5948f7b3304f1628a45ee928cd607619a7f53bbb) Signed-off-by: Armando Visconti <armando.visconti@st.com>
14 lines
345 B
CMake
14 lines
345 B
CMake
# ST Microelectronics STTS751 temperature sensor
|
|
#
|
|
# Copyright (c) 2019 STMicroelectronics
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(stts751.c)
|
|
zephyr_library_sources(stts751_i2c.c)
|
|
zephyr_library_sources_ifdef(CONFIG_STTS751_TRIGGER stts751_trigger.c)
|
|
|
|
zephyr_library_include_directories(../stmemsc)
|