The latest development version of this page may be more current than this released 2.7.5 version.

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 drivers/sensor/lis2mdl/Kconfig:4

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:64drivers/sensor/Kconfig:129

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.)