1# AOSONG DHT20 temperature and humidity sensor configuration options 2# This driver can also be used for AHT20 or AM2301B which seem to be the same sensor 3 4# Copyright (c) 2024 Nathan Olff 5# SPDX-License-Identifier: Apache-2.0 6 7config DHT20 8 bool "DHT20 / AHT20 / AM2301B Temperature and Humidity Sensor" 9 default y 10 depends on DT_HAS_AOSONG_DHT20_ENABLED \ 11 || DT_HAS_AOSONG_AHT20_ENABLED \ 12 || DT_HAS_AOSONG_AM2301B_ENABLED 13 select I2C 14 help 15 Enable driver for DHT20 / AHT20 / AM2301B temperature and humidity sensors. 16 17if DHT20 18 19config DHT20_CRC 20 bool "Use CRC error detection" 21 default n 22 select CRC 23 help 24 Verify CRC byte in RX data 25 26endif # DHT20 27