2017-01-31 11:54:12 +08:00
|
|
|
menu "Command shell"
|
|
|
|
|
|
|
|
config RT_USING_FINSH
|
|
|
|
bool "finsh shell"
|
|
|
|
default y
|
|
|
|
|
|
|
|
if RT_USING_FINSH
|
|
|
|
|
2018-01-16 21:45:20 +08:00
|
|
|
config FINSH_THREAD_NAME
|
|
|
|
string "The finsh thread name"
|
|
|
|
default "tshell"
|
2017-10-10 14:27:34 +08:00
|
|
|
config FINSH_USING_HISTORY
|
|
|
|
bool "Enable command history feature"
|
|
|
|
default y
|
2018-01-16 21:45:20 +08:00
|
|
|
if FINSH_USING_HISTORY
|
|
|
|
config FINSH_HISTORY_LINES
|
|
|
|
int "The command history line number"
|
|
|
|
default 5
|
|
|
|
endif
|
2017-10-10 14:27:34 +08:00
|
|
|
|
2017-01-31 11:54:12 +08:00
|
|
|
config FINSH_USING_SYMTAB
|
|
|
|
bool "Using symbol table for commands"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config FINSH_USING_DESCRIPTION
|
|
|
|
bool "Keeping description in symbol table"
|
|
|
|
default y
|
|
|
|
|
2017-10-13 11:50:18 +08:00
|
|
|
config FINSH_THREAD_PRIORITY
|
|
|
|
int "The priority level value of finsh thread"
|
|
|
|
default 20
|
|
|
|
|
2017-01-31 11:54:12 +08:00
|
|
|
config FINSH_THREAD_STACK_SIZE
|
|
|
|
int "The stack size for finsh thread"
|
|
|
|
default 4096
|
|
|
|
|
2017-10-10 14:27:34 +08:00
|
|
|
config FINSH_CMD_SIZE
|
|
|
|
int "The command line size for shell"
|
|
|
|
default 80
|
|
|
|
|
2017-01-31 11:54:12 +08:00
|
|
|
config FINSH_USING_AUTH
|
|
|
|
bool "shell support authentication"
|
|
|
|
default n
|
2017-10-10 14:27:34 +08:00
|
|
|
|
|
|
|
if FINSH_USING_AUTH
|
2017-01-31 11:54:12 +08:00
|
|
|
config FINSH_DEFAULT_PASSWORD
|
|
|
|
string "The default password for shell authentication"
|
|
|
|
default "rtthread"
|
2018-01-16 21:45:20 +08:00
|
|
|
config FINSH_PASSWORD_MIN
|
|
|
|
int "The password min length"
|
|
|
|
default 6
|
|
|
|
config FINSH_PASSWORD_MAX
|
|
|
|
int "The password max length"
|
|
|
|
default RT_NAME_MAX
|
2017-10-10 14:27:34 +08:00
|
|
|
endif
|
2017-01-31 11:54:12 +08:00
|
|
|
|
|
|
|
config FINSH_USING_MSH
|
|
|
|
bool "Using module shell"
|
|
|
|
default y
|
|
|
|
|
2017-10-10 14:27:34 +08:00
|
|
|
if FINSH_USING_MSH
|
2017-01-31 11:54:12 +08:00
|
|
|
config FINSH_USING_MSH_DEFAULT
|
|
|
|
bool "Using module shell in default"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config FINSH_USING_MSH_ONLY
|
|
|
|
bool "Only using module shell"
|
|
|
|
default n
|
2017-10-10 14:27:34 +08:00
|
|
|
endif
|
2017-01-31 11:54:12 +08:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
endmenu
|