From a08fa462fa78a39fe5ef1d72841acab669db3c9c Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Wed, 11 Nov 2020 10:25:03 +0100 Subject: [PATCH] drivers/adxl345: add module to Kconfig --- drivers/Kconfig | 1 + drivers/adxl345/Kconfig | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 drivers/adxl345/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 3a2729cc47..b948bd4641 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -25,6 +25,7 @@ rsource "ad7746/Kconfig" rsource "adcxx1c/Kconfig" rsource "ads101x/Kconfig" rsource "adt7310/Kconfig" +rsource "adxl345/Kconfig" rsource "bmx055/Kconfig" rsource "fxos8700/Kconfig" rsource "gp2y10xx/Kconfig" diff --git a/drivers/adxl345/Kconfig b/drivers/adxl345/Kconfig new file mode 100644 index 0000000000..b0ee1109f0 --- /dev/null +++ b/drivers/adxl345/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_ADXL345 + bool "ADXL345 3-Axis accelerometer" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C