1# DHT Temperature and Humidity Sensor configuration options 2 3# Copyright (c) 2016 Intel Corporation 4# SPDX-License-Identifier: Apache-2.0 5 6menuconfig DHT 7 bool "DHT Temperature and Humidity Sensor" 8 default y 9 depends on DT_HAS_AOSONG_DHT_ENABLED 10 depends on GPIO 11 help 12 Enable driver for the DHT temperature and humidity sensor family. 13 14if DHT 15 16config DHT_LOCK_IRQS 17 bool "Lock IRQs for sensor measurement" 18 help 19 Locks IRQs when taking sensor readings, this greatly improves the chances of getting a 20 reading successfully from the sensor at the cost of delayed interrupt servicing (e.g. 21 Bluetooth). Note that other systems might need to be adjusted to account for this. 22 23endif # DHT 24