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