drivers/ds18: add module to Kconfig
This commit is contained in:
parent
14ea7a676d
commit
0eb1f03c45
@ -50,6 +50,7 @@ rsource "bmx280/Kconfig"
|
|||||||
rsource "ccs811/Kconfig"
|
rsource "ccs811/Kconfig"
|
||||||
rsource "dcf77/Kconfig"
|
rsource "dcf77/Kconfig"
|
||||||
rsource "dht/Kconfig"
|
rsource "dht/Kconfig"
|
||||||
|
rsource "ds18/Kconfig"
|
||||||
rsource "fxos8700/Kconfig"
|
rsource "fxos8700/Kconfig"
|
||||||
rsource "gp2y10xx/Kconfig"
|
rsource "gp2y10xx/Kconfig"
|
||||||
rsource "hdc1000/Kconfig"
|
rsource "hdc1000/Kconfig"
|
||||||
|
|||||||
20
drivers/ds18/Kconfig
Normal file
20
drivers/ds18/Kconfig
Normal 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.
|
||||||
Loading…
x
Reference in New Issue
Block a user