Sfoglia il codice sorgente

[shell] Add FINSH_CMD_SIZE option.

Bernard Xiong 10 anni fa
parent
commit
8de629c0b0
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      components/finsh/shell.h

+ 2 - 0
components/finsh/shell.h

@@ -50,7 +50,9 @@
 #ifndef FINSH_THREAD_STACK_SIZE
 #ifndef FINSH_THREAD_STACK_SIZE
 #define FINSH_THREAD_STACK_SIZE 2048
 #define FINSH_THREAD_STACK_SIZE 2048
 #endif
 #endif
+#ifndef FINSH_CMD_SIZE
 #define FINSH_CMD_SIZE		80
 #define FINSH_CMD_SIZE		80
+#endif
 
 
 #define FINSH_OPTION_ECHO	0x01
 #define FINSH_OPTION_ECHO	0x01
 #if defined(FINSH_USING_MSH) || (defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR))
 #if defined(FINSH_USING_MSH) || (defined(RT_USING_DFS) && defined(DFS_USING_WORKDIR))