zephyr/drivers/sensor/th02/Kconfig

42 lines
1.1 KiB
Plaintext

#
# Copyright (c) 2016 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
menuconfig TH02
bool
prompt "TH02 Temperature Sensor"
default n
depends on SENSOR && I2C && NANO_TIMERS && NANO_TIMEOUTS
help
Enable driver for the TH02 temperature sensor.
if TH02
config TH02_NAME
string
prompt "Driver name"
default "TH02"
help
Device name with which the TH02 sensor is identified.
config TH02_I2C_MASTER_DEV_NAME
string
prompt "I2C Master"
default "I2C_0"
help
The device name of the I2C master device to which the TH02
chip is connected.
endif