nuttx-apps/system/lm75/Kconfig
2017-10-14 15:24:38 -06:00

42 lines
825 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menuconfig SYSTEM_LM75
bool "Temperature"
default n
depends on LM75_I2C
---help---
Enable support for the NSH temp command. This command will read the
current temperature from an LM-75 (or compatible) temperature sensor
and show the temperature on stdout.
if SYSTEM_LM75
config SYSTEM_LM75_DEVNAME
string "Temperature sensing device"
default "/dev/temp"
choice
prompt "Temperature units"
default SYSTEM_LM75_FAHRENHEIT
config SYSTEM_LM75_FAHRENHEIT
bool "Fahrenheit"
config SYSTEM_LM75_CENTIGRADE
bool "Centigrade"
endchoice
config SYSTEM_LM75_STACKSIZE
int "Stack size (bytes)"
default 1024
config SYSTEM_LM75_PRIORITY
int "Command priority"
default 100
endif