diff --git a/nshlib/Kconfig b/nshlib/Kconfig index 6a8a14362..c917ee86b 100644 --- a/nshlib/Kconfig +++ b/nshlib/Kconfig @@ -125,8 +125,9 @@ config NSH_QUOTE config NSH_CMDPARMS bool "Enable commands as parameters" - default !DEFAULT_SMALL + default !DEFAULT_SMALL && NSH_QUOTE depends on !DISABLE_MOUNTPOINT + depends on FS_TMPFS ---help--- If selected, then the output from commands, from file applications, and from NSH built-in commands can be used as arguments to other @@ -142,6 +143,8 @@ config NSH_CMDPARMS Because this feature commits significant resources, it is disabled by default. + This features requires TMPFS mounted at /tmp and NSH_QUOTE enabled. + config NSH_MAXARGUMENTS int "Maximum number of command arguments" default 7