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

driver/at30tse75x/Kconfig: enable as default sensor when present

This commit is contained in:
Leandro Lanzieri 2021-10-01 11:55:01 +02:00
parent e6789198f8
commit 0a19e58fcb
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593

View File

@ -5,8 +5,13 @@
# directory for more details.
#
comment "AT30TSE75X temperature sensor select by default for the current platform"
depends on MODULE_AT30TSE75X && MODULE_SAUL_DEFAULT && HAVE_AT30TSE75X
config MODULE_AT30TSE75X
bool "AT30TSE75X temperature sensor"
bool
prompt "AT30TSE75X temperature sensor" if !(MODULE_SAUL_DEFAULT && HAVE_AT30TSE75X)
default (MODULE_SAUL_DEFAULT && HAVE_AT30TSE75X)
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
@ -14,3 +19,8 @@ config MODULE_AT30TSE75X
select MODULE_ZTIMER_USEC
help
AT30TSE75x temperature sensor with serial EEPROM.
config HAVE_AT30TSE75X
bool
help
Indicates that a AT30TSE75x sensor is present on the board.