1.通过统一的设备接口,提供msh设备命令:dlist、dopen、dclose、dselect、dioctl、dread、dwrite。

This commit is contained in:
MacRsh
2024-01-16 04:13:24 +08:00
parent 8e71805654
commit cb907160b1
4 changed files with 870 additions and 41 deletions

View File

@@ -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