From deaf97465096d37ccd6cefe8b5513ada5fee23d1 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 7 Dec 2020 17:23:08 +0100 Subject: [PATCH] drivers/lsm6dsl: add module to Kconfig --- drivers/Kconfig | 1 + drivers/lsm6dsl/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/lsm6dsl/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index e91459c41c..e5790ffc00 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -84,6 +84,7 @@ rsource "lis3dh/Kconfig" rsource "lis3mdl/Kconfig" rsource "lpd8808/Kconfig" rsource "lpsxxx/Kconfig" +rsource "lsm6dsl/Kconfig" rsource "mag3110/Kconfig" rsource "mma8x5x/Kconfig" rsource "opt3001/Kconfig" diff --git a/drivers/lsm6dsl/Kconfig b/drivers/lsm6dsl/Kconfig new file mode 100644 index 0000000000..9cfc920094 --- /dev/null +++ b/drivers/lsm6dsl/Kconfig @@ -0,0 +1,13 @@ +# 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_LSM6DSL + bool "LSM6DSL 3D accelerometer/gyroscope" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER