1.配置项优化。

This commit is contained in:
MacRsh
2024-01-10 16:47:46 +08:00
parent c1291a6c66
commit 7eea1155b3
2 changed files with 156 additions and 104 deletions

View File

@@ -6,9 +6,9 @@ menu "Components configure"
default n
help
"Use this option allows for the use of the shell."
menu "Msh configure"
depends on MR_USING_MSH
config MR_CFG_MSH_BUFSZ
int "Msh buffer size"
default 32
@@ -30,6 +30,25 @@ menu "Components configure"
help
"This option sets the max number of arguments."
config MR_CFG_MSH_DEV_NAME
string "Msh device name"
default "serial1"
help
"This option sets the name of the device used by the shell."
config MR_CFG_MSH_NONBLOCKING
bool "Use msh non-blocking"
default n
help
"Use this option allows for the use of the shell non-blocking."
config MR_CFG_MSH_PRINTF_BUFSZ
int "Printf buffer size"
default 128
range 32 2147483647
help
"This option sets the buffer size used by the printf function."
config MR_CFG_MSH_PROMPT
string "Msh prompt"
default "msh>"