-
CONFIG_LSM6DSL_I2C_MASTER_DEV_NAME
¶
I2C master name where LSM6DSL chip is connected
Type: string
Help¶
Specify the device name of the I2C master device to which LSM6DSL is connected.
Direct dependencies¶
LSM6DSL
&& LSM6DSL_I2C
&& !HAS_DTS_I2C_DEVICE
&& SENSOR
(Includes any dependencies from if’s and menus.)
Defaults¶
- “I2C_2” if
LSM6DSL
&&LSM6DSL_I2C
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
Kconfig definition¶
At drivers/sensor/lsm6dsl/Kconfig:50
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:64
→ drivers/sensor/Kconfig:92
Menu path: (top menu) → Device Drivers → Sensor Drivers
config LSM6DSL_I2C_MASTER_DEV_NAME string prompt "I2C master name where LSM6DSL chip is connected" ifLSM6DSL
&&LSM6DSL_I2C
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
default "I2C_2" ifLSM6DSL
&&LSM6DSL_I2C
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
depends onLSM6DSL
&&LSM6DSL_I2C
&& !HAS_DTS_I2C_DEVICE
&&SENSOR
help Specify the device name of the I2C master device to which LSM6DSL is connected.
(Definitions include propagated dependencies, including from if’s and menus.)