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

drivers/*: add HAVE*

This commit is contained in:
Francisco Molina 2021-12-07 20:16:20 +01:00
parent 738ec239b1
commit 69ac014664
5 changed files with 25 additions and 1 deletions

View File

@ -36,5 +36,10 @@ config ADS101X_I2C_ADDRESS
ADS101X allows for upto 4 devices on Single Bus. The value depends on
the state of ADDR Pin. Default value (0x48) corresponds to ADDR pin tied
to GND. For more information refer I2C Address Selection in Datasheet.
endif # KCONFIG_USEMODULE_ADS101X
config HAVE_ADS101X
bool
select MODULE_ADS101X if MODULE_SAUL_DEFAULT
help
Indicates that an ADS101X Analog-to-Digital converter is present.

View File

@ -78,5 +78,6 @@ config HAVE_BMP280_SPI
config HAVE_BMX280
bool
select MODULE_BMX280 if MODULE_SAUL_DEFAULT
help
Indicates that a bmx280 sensor is present.

View File

@ -10,3 +10,9 @@ config MODULE_HTS221
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
config HAVE_HTS221
bool
select MODULE_HTS221 if MODULE_SAUL_DEFAULT
help
Indicates that a ST HTS221 sensor is present.

View File

@ -11,3 +11,9 @@ config MODULE_LIS3MDL
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
select MODULE_XTIMER
config HAVE_LIS3MDL
bool
select MODULE_LIS3MDL if MODULE_SAUL_DEFAULT
help
Indicates that a lismdl sensor is present.

View File

@ -12,3 +12,9 @@ config MODULE_SHT3X
select MODULE_PERIPH_I2C
select MODULE_CHECKSUM
select MODULE_XTIMER
config HAVE_SHT3X
bool
select MODULE_SHT3X if MODULE_SAUL_DEFAULT
help
Indicates that a SHT30/SHT31/SHT35 sensor is present.