1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/sdp3x/Kconfig
2022-03-04 14:15:52 +01:00

38 lines
1.1 KiB
Plaintext

# Copyright (c) 2021 HAW Hamburg
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
menuconfig MODULE_SDP3X
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
select MODULE_CHECKSUM
select MODULE_XTIMER
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.