2015-01-06 12:31:33 -06:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 08:14:53 -06:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2015-01-06 12:31:33 -06:00
|
|
|
#
|
|
|
|
|
2015-04-07 13:23:39 -06:00
|
|
|
menuconfig SYSTEM_LM75
|
2018-09-03 09:29:56 -06:00
|
|
|
tristate "Temperature"
|
2015-01-06 12:31:33 -06:00
|
|
|
default n
|
2017-10-14 15:24:38 -06:00
|
|
|
depends on LM75_I2C
|
2015-01-06 12:31:33 -06:00
|
|
|
---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"
|
|
|
|
|
2017-10-15 07:26:55 -06:00
|
|
|
config SYSTEM_LM75_CELSIUS
|
|
|
|
bool "Celsius"
|
2015-01-06 12:31:33 -06:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config SYSTEM_LM75_STACKSIZE
|
|
|
|
int "Stack size (bytes)"
|
|
|
|
default 1024
|
|
|
|
|
|
|
|
config SYSTEM_LM75_PRIORITY
|
|
|
|
int "Command priority"
|
|
|
|
default 100
|
|
|
|
|
|
|
|
endif
|