1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/si1133: add module to Kconfig

Also remove auto-dependency from Makefile.dep
This commit is contained in:
Leandro Lanzieri 2021-01-05 19:07:05 +01:00
parent 60f60798d1
commit 3d480c1d33
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
3 changed files with 14 additions and 4 deletions

View File

@ -117,6 +117,7 @@ rsource "sht3x/Kconfig"
rsource "shtc1/Kconfig"
rsource "si70xx/Kconfig"
rsource "si114x/Kconfig"
rsource "si1133/Kconfig"
rsource "sps30/Kconfig"
rsource "tcs37727/Kconfig"
rsource "tmp00x/Kconfig"

View File

@ -127,10 +127,6 @@ ifneq (,$(filter sht1%,$(USEMODULE)))
USEMODULE += sht1x
endif
ifneq (,$(filter si1133,$(USEMODULE)))
USEMODULE += si1133
endif
ifneq (,$(filter si114%,$(USEMODULE)))
USEMODULE += si114x
endif

13
drivers/si1133/Kconfig Normal file
View File

@ -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_SI1133
bool "Si1133 UV Index/Ambient Light Sensor with I2C"
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
select MODULE_XTIMER