From 336c946b8499727c4678bd3893b1878f9620a142 Mon Sep 17 00:00:00 2001 From: "moebius.ever" Date: Thu, 15 Mar 2018 10:50:00 +0800 Subject: [PATCH] [finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not and fix the bsp compile error --- components/finsh/shell.h | 4 ++++ 1 file changed, 4 insertions(+) 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