CONFIG_LIS2MDL

LIS2MDL Magnetometer

Type: bool

Help

Enable driver for LIS2MDL I2C-based magnetometer sensor.

Direct dependencies

((I2C && HAS_DTS_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:37drivers/Kconfig:54drivers/sensor/Kconfig:83

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

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

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