summaryrefslogtreecommitdiffstats
path: root/nuttx/configs
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-21 21:23:18 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-21 21:23:18 +0000
commit9af42286d2cec0434794a627a5871a6f9b6fb4e8 (patch)
tree70b7893243b8ee2e6b8b5fd95106c4ab962699c5 /nuttx/configs
parent8ec530935de7d757081163645ba1e2766cafbfb1 (diff)
Use NuttX types in FreeModBus port; Add FreeModBus demo at apps/examples/modbus; Add new termios APIs
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4964 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs')
-rw-r--r--nuttx/configs/lpc4330-xplorer/nsh/appconfig10
-rw-r--r--nuttx/configs/lpc4330-xplorer/nsh/defconfig2
2 files changed, 11 insertions, 1 deletions
diff --git a/nuttx/configs/lpc4330-xplorer/nsh/appconfig b/nuttx/configs/lpc4330-xplorer/nsh/appconfig
index a96834cd30..97dace19fa 100644
--- a/nuttx/configs/lpc4330-xplorer/nsh/appconfig
+++ b/nuttx/configs/lpc4330-xplorer/nsh/appconfig
@@ -58,6 +58,12 @@ CONFIGURED_APPS += netutils/telnetd
endif
endif
+# FreeModBus library
+
+ifeq ($(CONFIG_MODBUS),y)
+CONFIGURED_APPS += modbus
+endif
+
# Applications configured as an NX built-in commands
ifeq ($(CONFIG_ADC),y)
@@ -80,6 +86,10 @@ ifeq ($(CONFIG_WATCHDOG),y)
CONFIGURED_APPS += examples/watchdog
endif
+ifeq ($(CONFIG_MODBUS),y)
+CONFIGURED_APPS += examples/modbus
+endif
+
# Uncomment examples/ftpc to include the FTP client example
# Uncomment examples/ftpd to include the FTP daemon example
diff --git a/nuttx/configs/lpc4330-xplorer/nsh/defconfig b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
index 417ddf5836..179256e3de 100644
--- a/nuttx/configs/lpc4330-xplorer/nsh/defconfig
+++ b/nuttx/configs/lpc4330-xplorer/nsh/defconfig
@@ -492,7 +492,7 @@ CONFIG_DISABLE_SIGNALS=n
CONFIG_DISABLE_MQUEUE=n
CONFIG_DISABLE_MOUNTPOINT=n
CONFIG_DISABLE_ENVIRON=n
-CONFIG_DISABLE_POLL=y
+CONFIG_DISABLE_POLL=n
#
# Misc libc settings