mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
841e4deee5
It is enabled by saul_default on microbit-v2. Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
21 lines
611 B
Plaintext
21 lines
611 B
Plaintext
# Copyright (c) 2022 HAW Hamburg
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
config MODULE_LSM303AGR
|
|
bool
|
|
prompt "LSM303AGR 3D accelerometer/magnetometer" if !(MODULE_SAUL_DEFAULT && HAVE_LSM303AGR)
|
|
default y if (MODULE_SAUL_DEFAULT && HAVE_LSM303AGR)
|
|
depends on HAS_PERIPH_I2C
|
|
depends on TEST_KCONFIG
|
|
select MODULE_RUST_RIOTMODULES
|
|
select MODULE_PERIPH_I2C
|
|
|
|
config HAVE_LSM303AGR
|
|
bool
|
|
help
|
|
Indicates that a lsm303agr sensor is present.
|