From 8778e6c53855714b6daa43daa64f1af77bf89fd4 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Mon, 4 Jan 2021 11:33:40 +0100 Subject: [PATCH] drivers/opt3001: add module to Kconfig --- drivers/opt3001/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/opt3001/Kconfig b/drivers/opt3001/Kconfig index aa5622d529..46bc1799be 100644 --- a/drivers/opt3001/Kconfig +++ b/drivers/opt3001/Kconfig @@ -1,9 +1,18 @@ # 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_OPT3001 + bool "OPT3001 Ambient Light Sensor" + depends on HAS_PERIPH_I2C + depends on TEST_KCONFIG + select MODULE_PERIPH_I2C + select MODULE_XTIMER + menuconfig KCONFIG_USEMODULE_OPT3001 bool "Configure OPT3001 driver" depends on USEMODULE_OPT3001