summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-06 13:23:35 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-06 13:23:35 -0600
commit628b77d359d73eace31e1b7eac1eabde538dba69 (patch)
tree3410049907508dd8fea4045d74bd12089da96f16
parentb03c4a2ef5784e3122571930d8b46c5a6ebeba56 (diff)
downloadnuttx-628b77d359d73eace31e1b7eac1eabde538dba69.tar.gz
nuttx-628b77d359d73eace31e1b7eac1eabde538dba69.tar.bz2
nuttx-628b77d359d73eace31e1b7eac1eabde538dba69.zip
DK-TM42129X: Support for the TMP100 temperature sensor is enabled by default in the NSH configuration
-rw-r--r--nuttx/configs/dk-tm4c129x/nsh/defconfig23
1 files changed, 19 insertions, 4 deletions
diff --git a/nuttx/configs/dk-tm4c129x/nsh/defconfig b/nuttx/configs/dk-tm4c129x/nsh/defconfig
index a6cd6e6b2..0eaa909ab 100644
--- a/nuttx/configs/dk-tm4c129x/nsh/defconfig
+++ b/nuttx/configs/dk-tm4c129x/nsh/defconfig
@@ -468,7 +468,12 @@ CONFIG_ARCH_PHY_INTERRUPT=y
# CONFIG_PIPES is not set
# CONFIG_PM is not set
# CONFIG_POWER is not set
-# CONFIG_SENSORS is not set
+CONFIG_SENSORS=y
+# CONFIG_LIS331DL is not set
+# CONFIG_SENSORS_ADXL345 is not set
+CONFIG_I2C_LM75=y
+CONFIG_LM75=y
+# CONFIG_QENCODER is not set
# CONFIG_SERCOMM_CONSOLE is not set
CONFIG_SERIAL=y
# CONFIG_DEV_LOWCONSOLE is not set
@@ -710,9 +715,9 @@ CONFIG_STDIO_BUFFER_SIZE=64
CONFIG_STDIO_LINEBUFFER=y
CONFIG_NUNGET_CHARS=2
CONFIG_LIB_HOMEDIR="/"
-# CONFIG_LIBM is not set
+CONFIG_LIBM=y
# CONFIG_NOPRINTF_FIELDWIDTH is not set
-# CONFIG_LIBC_FLOATINGPOINT is not set
+CONFIG_LIBC_FLOATINGPOINT=y
# CONFIG_LIBC_IOCTL_VARIADIC is not set
CONFIG_LIB_RAND_ORDER=1
# CONFIG_EOL_IS_CR is not set
@@ -937,7 +942,7 @@ CONFIG_NSH_FILEIOSIZE=512
# Console Configuration
#
CONFIG_NSH_CONSOLE=y
-# CONFIG_NSH_ARCHINIT is not set
+CONFIG_NSH_ARCHINIT=y
#
# Networking Configuration
@@ -1075,6 +1080,16 @@ CONFIG_READLINE_ECHO=y
# CONFIG_SYSTEM_SYSINFO is not set
#
+# Temperature
+#
+CONFIG_SYSTEM_LM75=y
+CONFIG_SYSTEM_LM75_DEVNAME="/dev/temp"
+CONFIG_SYSTEM_LM75_FAHRENHEIT=y
+# CONFIG_SYSTEM_LM75_CENTIGRADE is not set
+CONFIG_SYSTEM_LM75_STACKSIZE=1024
+CONFIG_SYSTEM_LM75_PRIORITY=100
+
+#
# VI Work-Alike Editor
#
# CONFIG_SYSTEM_VI is not set