summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/finsh/shell.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/finsh/shell.h b/components/finsh/shell.h
index 92fa4bccb2..751590366a 100644
--- a/components/finsh/shell.h
+++ b/components/finsh/shell.h
@@ -50,7 +50,9 @@
#ifndef FINSH_THREAD_STACK_SIZE
#define FINSH_THREAD_STACK_SIZE 2048
#endif
+#ifndef FINSH_CMD_SIZE
#define FINSH_CMD_SIZE 80
+#endif
#define FINSH_OPTION_ECHO 0x01
#if defined(FINSH_USING_MSH) || (defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR))