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

drivers: add Kconfig hardware feature to various drivers

- fxos8700
- hdc1000
- pir
- pulse_counter
This commit is contained in:
Leandro Lanzieri 2021-12-08 11:40:06 +01:00 committed by Francisco Molina
parent 31f5899c56
commit 14d986d25d
4 changed files with 14 additions and 2 deletions

View File

@ -17,7 +17,7 @@ config HAVE_FXOS8700
bool
select MODULE_FXOS8700 if MODULE_SAUL_DEFAULT
help
Indicates that an fxos8700 accelerometer/magnetometer is present.
Indicates that a FXOS8700 accelerometer/magnetometer is present.
menuconfig KCONFIG_USEMODULE_FXOS8700
bool "Configure FXOS8700 driver"

View File

@ -16,7 +16,7 @@ config HAVE_HDC1000
bool
select MODULE_HDC1000 if MODULE_SAUL_DEFAULT
help
Indicates that an hdc1000 humidity and temperature sensor is present.
Indicates that a HDC1000 humidity and temperature sensor is present.
menuconfig KCONFIG_USEMODULE_HDC1000
bool "Configure HDC1000 driver"

View File

@ -13,3 +13,9 @@ config MODULE_PIR
select MODULE_PERIPH_GPIO
select MODULE_PERIPH_GPIO_IRQ
select MODULE_XTIMER
config HAVE_PIR
bool
select MODULE_PIR if MODULE_SAUL_DEFAULT
help
Indicates that a pir motion sensor is present.

View File

@ -12,3 +12,9 @@ config MODULE_PULSE_COUNTER
depends on TEST_KCONFIG
select MODULE_PERIPH_GPIO
select MODULE_PERIPH_GPIO_IRQ
config HAVE_PULSE_COUNTER
bool
select MODULE_PULSE_COUNTER if MODULE_SAUL_DEFAULT
help
Indicates that a pulse counter is present.