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

LIS2MDL Magnetometer

Type: bool

Help

Enable driver for LIS2MDL I2C-based magnetometer sensor.

Direct dependencies

I2C && HAS_DTS_I2C && SENSOR

(Includes any dependencies from if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/sensor/lis2mdl/Kconfig:6

Included via Kconfig:10Kconfig.zephyr:35drivers/Kconfig:62drivers/sensor/Kconfig:78

Menu path: (top menu) → Device Drivers → Sensor Drivers

menuconfig LIS2MDL
    bool
    prompt "LIS2MDL Magnetometer" if I2C && HAS_DTS_I2C && SENSOR
    depends on I2C && HAS_DTS_I2C && SENSOR
    help
      Enable driver for LIS2MDL I2C-based magnetometer sensor.

(Definitions include propagated dependencies, including from if’s and menus.)