From 13f1b70d253f382c8224d39216f8778cb1ac040c Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 7 Jan 2021 14:39:33 +0100 Subject: [PATCH] drivers/tsl2561: add module to Kconfig --- drivers/Kconfig | 1 + drivers/tsl2561/Kconfig | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 drivers/tsl2561/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index cfc34e2f93..081f427b07 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -107,6 +107,7 @@ rsource "qmc5883l/Kconfig" rsource "sps30/Kconfig" rsource "tcs37727/Kconfig" rsource "tmp00x/Kconfig" +rsource "tsl2561/Kconfig" endmenu # Sensor Device Drivers menu "Storage Device Drivers" diff --git a/drivers/tsl2561/Kconfig b/drivers/tsl2561/Kconfig new file mode 100644 index 0000000000..0d29518a8c --- /dev/null +++ b/drivers/tsl2561/Kconfig @@ -0,0 +1,13 @@ +# Copyright (c) 2021 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_TSL2561 + bool "TSL2561 illuminance sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER