From 22bc6a7935f8da1b056017f4adeef2b1684692ac Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 8 Dec 2020 15:28:07 +0100 Subject: [PATCH] drivers/mag3110: add module to Kconfig --- drivers/mag3110/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/mag3110/Kconfig b/drivers/mag3110/Kconfig index 0e74d34360..484cf3b0e5 100644 --- a/drivers/mag3110/Kconfig +++ b/drivers/mag3110/Kconfig @@ -1,9 +1,17 @@ # Copyright (c) 2020 Freie Universitaet Berlin +# 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. # + +config MODULE_MAG3110 + bool "MAG3110 3-Axis Digital Magnetometer" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + menuconfig KCONFIG_USEMODULE_MAG3110 bool "Configure MAG3110 driver" depends on USEMODULE_MAG3110