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

drivers/sdp3x: Update kconfig model

This commit is contained in:
MrKevinWeiss 2022-03-02 14:03:54 +01:00
parent 6434c8c328
commit 7f6c1def8a
No known key found for this signature in database
GPG Key ID: 3514539D7808D123

View File

@ -6,7 +6,9 @@
#
menuconfig MODULE_SDP3X
bool "SDP3X temperature and differential pressure sensor"
bool
prompt "SDP3X temperature and differential pressure sensor" if !(MODULE_SAUL_DEFAULT && HAVE_SDP3X)
default (MODULE_SAUL_DEFAULT && HAVE_SDP3X)
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
@ -15,8 +17,21 @@ menuconfig MODULE_SDP3X
config MODULE_SDP3X_IRQ
bool "GPIO interrupt support"
default HAVE_SDP3X_IRQ
depends on HAS_PERIPH_GPIO
depends on HAS_PERIPH_GPIO_IRQ
depends on MODULE_SDP3X
select MODULE_PERIPH_GPIO
select MODULE_PERIPH_GPIO_IRQ
config HAVE_SDP3X
bool
help
Indicates that a SDP3X temperature and differential pressure sensor is present.
config HAVE_SDP3X_IRQ
bool
select HAVE_SDP3X
help
Indicates that a SDP3X temperature and differential pressure sensor is
present with the interrupt pin wired.