CONFIG_LIS2MDL

LIS2MDL Magnetometer

Type: bool

Help

Enable driver for LIS2MDL I2C-based magnetometer sensor.

Direct dependencies

(I2C || SPI) && SENSOR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/drivers/sensor/lis2mdl/Kconfig:4

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:62<Zephyr>/drivers/sensor/Kconfig:115

Menu path: (Top) → Device Drivers → Sensor Drivers

menuconfig LIS2MDL
    bool "LIS2MDL Magnetometer"
    select HAS_STMEMSC
    select USE_STDC_LIS2MDL
    depends on (I2C || SPI) && SENSOR
    help
      Enable driver for LIS2MDL I2C-based magnetometer sensor.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)