diff --git a/components/finsh/shell.h b/components/finsh/shell.h index 92fa4bccb26247f526b74a08913e7c3c92195187..751590366a0b227d9cda1cf2e2e3b34453f149a5 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))