Skip to content

Commit

Permalink
Enable TMPFS and NSH_QUOTE to get CONFIG_NSH_CMDPARMS working
Browse files Browse the repository at this point in the history
  • Loading branch information
acassis authored and jerpelea committed Jan 24, 2023
1 parent e769d53 commit 4ed5bec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nshlib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4ed5bec

Please sign in to comment.