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

LIS3MDL magnetometer

Type: bool

Help

Enable driver for LIS3MDL I2C-based magnetometer.

Direct dependencies

I2C && SENSOR

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At drivers/sensor/lis3mdl/Kconfig:4

Included via Kconfig:8Kconfig.zephyr:32drivers/Kconfig:62drivers/sensor/Kconfig:119

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

menuconfig LIS3MDL
    bool "LIS3MDL magnetometer"
    depends on I2C && SENSOR
    help
      Enable driver for LIS3MDL I2C-based magnetometer.

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