zephyr/subsys/sensing/CMakeLists.txt
Zhang Lixu 18a257cbe4 sensing: add hinge angle sensor
Add hinge angle virtual sensor for sensing subsystem, hinge angle sensor
takes both base accel and lid accel as reporter.

Signed-off-by: Zhang Lixu <lixu.zhang@intel.com>
2024-01-24 10:32:10 +01:00

15 lines
342 B
CMake

# SPDX-License-Identifier: Apache-2.0
zephyr_library()
zephyr_library_include_directories(include)
zephyr_library_sources(
sensor_mgmt.c
dispatch.c
sensing.c
sensing_sensor.c
)
add_subdirectory_ifdef(CONFIG_SENSING_SENSOR_PHY_3D_SENSOR sensor/phy_3d_sensor)
add_subdirectory_ifdef(CONFIG_SENSING_SENSOR_HINGE_ANGLE sensor/hinge_angle)