1.通过统一的设备接口,提供msh设备命令:dlist、dopen、dclose、dselect、dioctl、dread、dwrite。
This commit is contained in:
@@ -25,8 +25,8 @@ menu "Components configure"
|
||||
|
||||
config MR_CFG_MSH_ARGS_MAX
|
||||
int "Msh argument max number"
|
||||
default 4
|
||||
range 1 16
|
||||
default 16
|
||||
range 1 64
|
||||
help
|
||||
"This option sets the max number of arguments."
|
||||
|
||||
@@ -51,10 +51,16 @@ menu "Components configure"
|
||||
|
||||
config MR_CFG_MSH_PROMPT
|
||||
string "Msh prompt"
|
||||
default "msh>"
|
||||
default "msh"
|
||||
help
|
||||
"This option sets the prompt of the shell."
|
||||
|
||||
config MR_USING_MSH_PRINTF_COLOR
|
||||
bool "Use msh printf color"
|
||||
default n
|
||||
help
|
||||
"This option allows for the use of the printf color in the msh."
|
||||
|
||||
config MR_USING_MSH_ECHO
|
||||
bool "Use msh echo"
|
||||
default y
|
||||
|
||||
Reference in New Issue
Block a user