[feat][shell] add shell color support,add shell user print and prompt interface

This commit is contained in:
jzlv 2021-08-25 17:14:59 +08:00
parent 67c8532ae0
commit a155fb5e6c
4 changed files with 165 additions and 35 deletions

View file

@ -1,13 +1,15 @@
#ifndef __SHELL_CONFIG_H__
#define __SHELL_CONFIG_H__
#define SHELL_NAME "bouffalolab "
#define SHELL_DEFAULT_NAME "bouffalolab "
#define SHELL_CONSOLEBUF_SIZE 128
#define SHELL_PROMPT_SIZE 20
#define SHELL_HISTORY_LINES 5
#define SHELL_CMD_SIZE 50
#define SHELL_ARG_NUM 8
//#define SHELL_USING_FS
//#define SHELL_USING_COLOR
#endif