2021-01-05 17:26:28 +01:00
|
|
|
# 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
|
2022-03-02 14:03:54 +01:00
|
|
|
bool
|
|
|
|
prompt "SDP3X temperature and differential pressure sensor" if !(MODULE_SAUL_DEFAULT && HAVE_SDP3X)
|
|
|
|
default (MODULE_SAUL_DEFAULT && HAVE_SDP3X)
|
2021-01-05 17:26:28 +01:00
|
|
|
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"
|
2022-03-02 14:03:54 +01:00
|
|
|
default HAVE_SDP3X_IRQ
|
2021-01-05 17:26:28 +01:00
|
|
|
depends on HAS_PERIPH_GPIO
|
|
|
|
depends on HAS_PERIPH_GPIO_IRQ
|
|
|
|
depends on MODULE_SDP3X
|
|
|
|
select MODULE_PERIPH_GPIO
|
|
|
|
select MODULE_PERIPH_GPIO_IRQ
|
2022-03-02 14:03:54 +01:00
|
|
|
|
|
|
|
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.
|