CONFIG_LIS2MDL¶
LIS2MDL Magnetometer
Type: bool
Help¶
Enable driver for LIS2MDL I2C-based magnetometer sensor.
Defaults¶
No defaults. Implicitly defaults to n.
Symbols selected by this symbol¶
Kconfig definition¶
At <Zephyr Driver>/sensor/lis2mdl/Kconfig:4
Included via Kconfig:8 → Kconfig.zephyr:42 → <Zephyr Driver>/Kconfig:64 → <Zephyr Driver>/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.)