drivers/si114x: add modules to Kconfig
This commit is contained in:
parent
f1f58018ad
commit
60f60798d1
@ -116,6 +116,7 @@ rsource "sht2x/Kconfig"
|
|||||||
rsource "sht3x/Kconfig"
|
rsource "sht3x/Kconfig"
|
||||||
rsource "shtc1/Kconfig"
|
rsource "shtc1/Kconfig"
|
||||||
rsource "si70xx/Kconfig"
|
rsource "si70xx/Kconfig"
|
||||||
|
rsource "si114x/Kconfig"
|
||||||
rsource "sps30/Kconfig"
|
rsource "sps30/Kconfig"
|
||||||
rsource "tcs37727/Kconfig"
|
rsource "tcs37727/Kconfig"
|
||||||
rsource "tmp00x/Kconfig"
|
rsource "tmp00x/Kconfig"
|
||||||
|
|||||||
36
drivers/si114x/Kconfig
Normal file
36
drivers/si114x/Kconfig
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
if TEST_KCONFIG
|
||||||
|
|
||||||
|
choice
|
||||||
|
bool "Si1145/6/7 UV/Ambient light/Proximity sensors"
|
||||||
|
optional
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
depends on TEST_KCONFIG
|
||||||
|
|
||||||
|
config MODULE_SI1145
|
||||||
|
bool "SI1145"
|
||||||
|
select MODULE_SI114X
|
||||||
|
|
||||||
|
config MODULE_SI1146
|
||||||
|
bool "SI1146"
|
||||||
|
select MODULE_SI114X
|
||||||
|
|
||||||
|
config MODULE_SI1147
|
||||||
|
bool "SI1147"
|
||||||
|
select MODULE_SI114X
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
config MODULE_SI114X
|
||||||
|
bool
|
||||||
|
depends on HAS_PERIPH_I2C
|
||||||
|
select MODULE_PERIPH_I2C
|
||||||
|
select MODULE_XTIMER
|
||||||
|
|
||||||
|
endif # TEST_KCONFIG
|
||||||
Loading…
x
Reference in New Issue
Block a user