Enable TMPFS and NSH_QUOTE to get CONFIG_NSH_CMDPARMS working

This commit is contained in:
Alan Carvalho de Assis 2023-01-12 16:55:29 -03:00 committed by Alin Jerpelea
parent e769d53471
commit 4ed5bec472

View File

@ -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