From 5b96af038dbd073df11c6e99496b1eb8a45ede4b Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 21 Jul 2012 21:23:18 +0000 Subject: [PATCH] Use NuttX types in FreeModBus port; Add FreeModBus demo at apps/examples/modbus; Add new termios APIs git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4964 42af7a65-404d-4744-a932-0658087f49c3 --- configs/lpc4330-xplorer/nsh/appconfig | 10 ++++++++++ configs/lpc4330-xplorer/nsh/defconfig | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/configs/lpc4330-xplorer/nsh/appconfig b/configs/lpc4330-xplorer/nsh/appconfig index a96834cd305..97dace19faa 100644 --- a/configs/lpc4330-xplorer/nsh/appconfig +++ b/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/configs/lpc4330-xplorer/nsh/defconfig b/configs/lpc4330-xplorer/nsh/defconfig index 417ddf58363..179256e3de8 100644 --- a/configs/lpc4330-xplorer/nsh/defconfig +++ b/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