:orphan: .. title:: LIS2MDL .. option:: CONFIG_LIS2MDL *LIS2MDL Magnetometer* Type: ``bool`` Help ==== .. code-block:: none Enable driver for LIS2MDL I2C-based magnetometer sensor. Direct dependencies =================== (\ :option:`I2C ` || \ :option:`SPI `) && \ :option:`SENSOR ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :option:`HAS_STMEMSC ` - \ :option:`USE_STDC_LIS2MDL ` Kconfig definition ================== At ``/sensor/lis2mdl/Kconfig:4`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``/Kconfig:62`` → ``/sensor/Kconfig:123`` Menu path: (Top) → Device Drivers → Sensor Drivers .. code-block:: kconfig 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.)*