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:
parent
31f5899c56
commit
14d986d25d
@ -17,7 +17,7 @@ config HAVE_FXOS8700
|
|||||||
bool
|
bool
|
||||||
select MODULE_FXOS8700 if MODULE_SAUL_DEFAULT
|
select MODULE_FXOS8700 if MODULE_SAUL_DEFAULT
|
||||||
help
|
help
|
||||||
Indicates that an fxos8700 accelerometer/magnetometer is present.
|
Indicates that a FXOS8700 accelerometer/magnetometer is present.
|
||||||
|
|
||||||
menuconfig KCONFIG_USEMODULE_FXOS8700
|
menuconfig KCONFIG_USEMODULE_FXOS8700
|
||||||
bool "Configure FXOS8700 driver"
|
bool "Configure FXOS8700 driver"
|
||||||
|
@ -16,7 +16,7 @@ config HAVE_HDC1000
|
|||||||
bool
|
bool
|
||||||
select MODULE_HDC1000 if MODULE_SAUL_DEFAULT
|
select MODULE_HDC1000 if MODULE_SAUL_DEFAULT
|
||||||
help
|
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
|
menuconfig KCONFIG_USEMODULE_HDC1000
|
||||||
bool "Configure HDC1000 driver"
|
bool "Configure HDC1000 driver"
|
||||||
|
@ -13,3 +13,9 @@ config MODULE_PIR
|
|||||||
select MODULE_PERIPH_GPIO
|
select MODULE_PERIPH_GPIO
|
||||||
select MODULE_PERIPH_GPIO_IRQ
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
select MODULE_XTIMER
|
select MODULE_XTIMER
|
||||||
|
|
||||||
|
config HAVE_PIR
|
||||||
|
bool
|
||||||
|
select MODULE_PIR if MODULE_SAUL_DEFAULT
|
||||||
|
help
|
||||||
|
Indicates that a pir motion sensor is present.
|
||||||
|
@ -12,3 +12,9 @@ config MODULE_PULSE_COUNTER
|
|||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
select MODULE_PERIPH_GPIO
|
select MODULE_PERIPH_GPIO
|
||||||
select MODULE_PERIPH_GPIO_IRQ
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user