mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/opt3001: add module to Kconfig
This commit is contained in:
parent
09463b73cb
commit
8778e6c538
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user