1# ST Microelectronics LIS2DE12 3-axis accelerometer sensor driver
2
3# Copyright (c) 2024 STMicroelectronics
4# SPDX-License-Identifier: Apache-2.0
5
6menuconfig LIS2DE12
7	bool "LIS2DE12 I2C/SPI smartxl Chip"
8	default y
9	depends on DT_HAS_ST_LIS2DE12_ENABLED
10	depends on ZEPHYR_HAL_ST_MODULE
11	select I2C if $(dt_compat_on_bus,$(DT_COMPAT_ST_LIS2DE12),i2c)
12	select SPI if $(dt_compat_on_bus,$(DT_COMPAT_ST_LIS2DE12),spi)
13	select HAS_STMEMSC
14	select USE_STDC_LIS2DE12
15	help
16	  Enable driver for LIS2DE12 smartxl sensor.
17
18if LIS2DE12
19
20module = LIS2DE12
21thread_priority = 10
22thread_stack_size = 1024
23source "drivers/sensor/Kconfig.trigger_template"
24
25config LIS2DE12_ENABLE_TEMP
26	bool "Die temperature sensor"
27	help
28	  Enable/disable die temperature sensor
29
30endif # LIS2DE12
31