1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/ds18: add module to Kconfig

This commit is contained in:
Leandro Lanzieri 2020-11-19 10:02:32 +01:00
parent 14ea7a676d
commit 0eb1f03c45
No known key found for this signature in database
GPG Key ID: F4E9A721761C7593
2 changed files with 21 additions and 0 deletions

View File

@ -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"

20
drivers/ds18/Kconfig Normal file
View File

@ -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.