summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-05-18 18:08:24 +0800
committerBernard Xiong <[email protected]>2015-05-18 18:08:24 +0800
commit326a7d7496eba1231a28c1681671ef0e54b4902f (patch)
treeacc88beb22d09c44aeaf93d2882d5d666752c08d
parent77b5098ae23d9071911878e908cd4f8353f64dcd (diff)
Add FINSH_CMD_SIZE option.
-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))