diff --git a/drivers/Kconfig.net b/drivers/Kconfig.net index 9d43acd141..4979cf290f 100644 --- a/drivers/Kconfig.net +++ b/drivers/Kconfig.net @@ -10,5 +10,6 @@ source "$(RIOTCPU)/nrf52/radio/nrf802154/Kconfig" endmenu # Network Device Drivers menu "Sensor Device Drivers" +rsource "ads101x/Kconfig" rsource "hdc1000/Kconfig" endmenu # Sensor Device Drivers diff --git a/drivers/ads101x/Kconfig b/drivers/ads101x/Kconfig new file mode 100644 index 0000000000..4c4cd61118 --- /dev/null +++ b/drivers/ads101x/Kconfig @@ -0,0 +1,24 @@ +# Copyright (c) 2020 Freie Universitaet Berlin +# +# 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 KCONFIG_MODULE_ADS101X + bool "Configure ADS101X driver" + depends on MODULE_ADS101X + help + Configure the ADS101X driver using Kconfig. + +if KCONFIG_MODULE_ADS101X + +config ADS101X_I2C_ADDRESS + hex "Default I2C address" + range 0x48 0x51 + default 0x48 + help + ADS101X allows for upto 4 devices on Single Bus. The value depends on + the state of ADDR Pin. Default value (0x48) corresponds to ADDR pin tied + to GND. For more information refer I2C Address Selection in Datasheet. + +endif # KCONFIG_MODULE_ADS101X