1# ST Microelectronics LIS2DU12 3-axis accelerometer sensor driver 2 3# Copyright (c) 2023 STMicroelectronics 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig LIS2DU12 7 bool "LIS2DU12 I2C/SPI smartxl Chip" 8 default y 9 depends on DT_HAS_ST_LIS2DU12_ENABLED 10 depends on ZEPHYR_HAL_ST_MODULE 11 select I2C if $(dt_compat_on_bus,$(DT_COMPAT_ST_LIS2DU12),i2c) 12 select SPI if $(dt_compat_on_bus,$(DT_COMPAT_ST_LIS2DU12),spi) 13 select HAS_STMEMSC 14 select USE_STDC_LIS2DU12 15 help 16 Enable driver for LIS2DU12 smartxl sensor. 17 18if LIS2DU12 19 20module = LIS2DU12 21thread_priority = 10 22thread_stack_size = 1024 23source "drivers/sensor/Kconfig.trigger_template" 24 25endif # LIS2DU12 26