diff --git a/components/finsh/shell.h b/components/finsh/shell.h index 06b81de518..21b67ba8cb 100644 --- a/components/finsh/shell.h +++ b/components/finsh/shell.h @@ -57,6 +57,10 @@ const char* finsh_get_prompt(void); #endif #endif +#ifndef FINSH_ENABLE_ECHO +#define FINSH_ENABLE_ECHO 1 +#endif + #ifdef FINSH_USING_AUTH #ifndef FINSH_PASSWORD_MAX #define FINSH_PASSWORD_MAX RT_NAME_MAX