From a8d6e2757ef27a1588f46b1cbcebd9322fb0fe24 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 7 Dec 2020 17:25:57 +0100 Subject: [PATCH] drivers/lsm303dlhc: add module to Kconfig --- drivers/Kconfig | 1 + drivers/lsm303dlhc/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/lsm303dlhc/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index e5790ffc00..a8708af51b 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -85,6 +85,7 @@ rsource "lis3mdl/Kconfig" rsource "lpd8808/Kconfig" rsource "lpsxxx/Kconfig" rsource "lsm6dsl/Kconfig" +rsource "lsm303dlhc/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" diff --git a/drivers/lsm303dlhc/Kconfig b/drivers/lsm303dlhc/Kconfig new file mode 100644 index 0000000000..ee38830f4a --- /dev/null +++ b/drivers/lsm303dlhc/Kconfig @@ -0,0 +1,12 @@ +# 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. +# + +config MODULE_LSM303DLHC + bool "LSM303DLHC 3D accelerometer/magnetometer" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C