diff --git a/drivers/Kconfig b/drivers/Kconfig index 83bb4ef051..d9800eca65 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -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" diff --git a/drivers/hmc5883l/Kconfig b/drivers/hmc5883l/Kconfig new file mode 100644 index 0000000000..e21791afe6 --- /dev/null +++ b/drivers/hmc5883l/Kconfig @@ -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.