File tree Expand file tree Collapse file tree 7 files changed +481
-0
lines changed
tests/drivers/build_all/sensor Expand file tree Collapse file tree 7 files changed +481
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ add_subdirectory_ifdef(CONFIG_LSM6DSV16X lsm6dsv16x)
33
33
add_subdirectory_ifdef (CONFIG_LSM9DS0_GYRO lsm9ds0_gyro )
34
34
add_subdirectory_ifdef (CONFIG_LSM9DS0_MFD lsm9ds0_mfd )
35
35
add_subdirectory_ifdef (CONFIG_LSM9DS1 lsm9ds1 )
36
+ add_subdirectory_ifdef (CONFIG_LSM9DS1_MAG lsm9ds1_mag )
36
37
add_subdirectory_ifdef (CONFIG_QDEC_STM32 qdec_stm32 )
37
38
add_subdirectory_ifdef (CONFIG_STM32_DIGI_TEMP stm32_digi_temp )
38
39
add_subdirectory_ifdef (CONFIG_STM32_TEMP stm32_temp )
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ source "drivers/sensor/st/lsm6dsv16x/Kconfig"
32
32
source "drivers/sensor/st/lsm9ds0_gyro/Kconfig"
33
33
source "drivers/sensor/st/lsm9ds0_mfd/Kconfig"
34
34
source "drivers/sensor/st/lsm9ds1/Kconfig"
35
+ source "drivers/sensor/st/lsm9ds1_mag/Kconfig"
35
36
source "drivers/sensor/st/qdec_stm32/Kconfig"
36
37
source "drivers/sensor/st/stm32_digi_temp/Kconfig"
37
38
source "drivers/sensor/st/stm32_temp/Kconfig"
Original file line number Diff line number Diff line change
1
+ # SPDX-License-Identifier: Apache-2.0
2
+
3
+ zephyr_library ()
4
+
5
+ zephyr_library_sources (lsm9ds1_mag.c )
6
+
7
+ zephyr_library_include_directories (../stmemsc )
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024 Bootlin
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ config LSM9DS1_MAG
5
+ bool "LSM9DS1 I2C magnetometer chip"
6
+ default y
7
+ depends on DT_HAS_ST_LSM9DS1_MAG_ENABLED
8
+ select I2C
9
+ select HAS_STMEMSC
10
+ select USE_STDC_LSM9DS1
You can’t perform that action at this time.
0 commit comments