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

39 lines
1.1 KiB
Plaintext

# Copyright (c) 2020 Viktor Gal
# 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.
#
config MODULE_SEESAW_SOIL
bool "Adafruit Seesaw Soil Moisture and Temperature Sensor"
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
select MODULE_XTIMER
config HAVE_SEESAW_SOIL
bool
select MODULE_SEESAW_SOIL if MODULE_SAUL_DEFAULT
help
Indicates that a Adafruit Seesaw Soil Moisture and Temperature Sensor is present.
menuconfig KCONFIG_MODULE_SEESAW_SOIL
bool "Configure SEESAW_SOIL driver"
depends on MODULE_SEESAW_SOIL
help
Configure the SEESAW_SOIL driver using Kconfig.
if KCONFIG_MODULE_SEESAW_SOIL
config SEESAW_SOIL_I2C_ADDRESS
hex "I2C default address"
range 0x36 0x39
default 0x36
help
SEESAW_SOIL allows for up to 4 devices on single bus. The value depends on
the state of AD1 and AD0 pins.
endif # KCONFIG_MODULE_SEESAW_SOIL