diff --git a/drivers/Kconfig b/drivers/Kconfig index 3992409b3e..a3840a2a26 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -50,6 +50,7 @@ rsource "bmx280/Kconfig" rsource "ccs811/Kconfig" rsource "dcf77/Kconfig" rsource "dht/Kconfig" +rsource "ds18/Kconfig" rsource "fxos8700/Kconfig" rsource "gp2y10xx/Kconfig" rsource "hdc1000/Kconfig" diff --git a/drivers/ds18/Kconfig b/drivers/ds18/Kconfig new file mode 100644 index 0000000000..93c7ff824a --- /dev/null +++ b/drivers/ds18/Kconfig @@ -0,0 +1,20 @@ +# Copyright (c) 2020 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_DS18 + bool "DS18 temperature sensors" + depends on HAS_PERIPH_GPIO + depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_XTIMER + +config MODULE_DS18_OPTIMIZED + bool "Optimized mode" + depends on MODULE_DS18 + help + Say y to use the optimized mode if the board can handle ~3us resolution + with the xtimer.