1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/hmc5883l: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-11-26 15:17:22 +01:00
parent 3744996a97
commit 4a65b13db2
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 23 additions and 0 deletions

View File

@ -47,6 +47,7 @@ rsource "fxos8700/Kconfig"
rsource "gp2y10xx/Kconfig"
rsource "hdc1000/Kconfig"
rsource "hih6130/Kconfig"
rsource "hmc5883l/Kconfig"
rsource "isl29020/Kconfig"
rsource "l3g4200d/Kconfig"
rsource "lpsxxx/Kconfig"

22
drivers/hmc5883l/Kconfig Normal file
View File

@ -0,0 +1,22 @@
# Copyright (c) 2020 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.
#
menuconfig MODULE_HMC5883L
bool "HMC5883L 3-axis digital compass"
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
config MODULE_HMC5883L_INT
bool "Data-ready interrupt"
depends on MODULE_HMC5883L
depends on HAS_PERIPH_GPIO
depends on HAS_PERIPH_GPIO_IRQ
select MODULE_PERIPH_GPIO
select MODULE_PERIPH_GPIO_IRQ
help
Allows to configure an interrupt pin to get an event on data ready.