summaryrefslogtreecommitdiff
path: root/nuttx/configs/lpc4330-xplorer/nsh
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/lpc4330-xplorer/nsh')
-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 a96834cd3..97dace19f 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 417ddf583..179256e3d 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