FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDS

This commit is contained in:
Meco Man
2021-08-28 16:48:08 -04:00
parent 3d5582380d
commit 1997113fbc
29 changed files with 95 additions and 95 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ if RT_USING_MSH
int "The command line size for shell"
default 80
config FINSH_USING_BUILT_IN_COMMANDS
config MSH_USING_BUILT_IN_COMMANDS
bool "Enable built-in commands, such as list_thread"
default y
+1 -1
View File
@@ -6,7 +6,7 @@ shell.c
msh.c
''')
if GetDepend('FINSH_USING_BUILT_IN_COMMANDS'):
if GetDepend('MSH_USING_BUILT_IN_COMMANDS'):
src += ['cmd.c']
if GetDepend('RT_USING_DFS'):
+2 -2
View File
@@ -54,7 +54,7 @@ int msh_help(int argc, char **argv)
}
MSH_CMD_EXPORT_ALIAS(msh_help, help, RT - Thread shell help.);
#ifdef FINSH_USING_BUILT_IN_COMMANDS
#ifdef MSH_USING_BUILT_IN_COMMANDS
int cmd_ps(int argc, char **argv)
{
extern long list_thread(void);
@@ -85,7 +85,7 @@ int cmd_free(int argc, char **argv)
}
MSH_CMD_EXPORT_ALIAS(cmd_free, free, Show the memory usage in the system.);
#endif /* RT_USING_HEAP */
#endif /* FINSH_USING_BUILT_IN_COMMANDS */
#endif /* MSH_USING_BUILT_IN_COMMANDS */
static int msh_split(char *cmd, rt_size_t length, char *argv[FINSH_ARG_MAX])
{