1menuconfig RT_USING_MSH 2 bool "MSH: command shell" 3 default n if RT_USING_NANO 4 default y 5 6if RT_USING_MSH 7 8 config RT_USING_FINSH 9 bool 10 default y 11 12 config FINSH_USING_MSH 13 bool 14 default y 15 16 config FINSH_THREAD_NAME 17 string "The msh thread name" 18 default "tshell" 19 20 config FINSH_THREAD_PRIORITY 21 int "The priority level value of thread" 22 default 20 23 24 config FINSH_THREAD_STACK_SIZE 25 int "The stack size for thread" 26 default 4096 27 28 config FINSH_USING_HISTORY 29 bool "Enable command history feature" 30 default y 31 32 if FINSH_USING_HISTORY 33 config FINSH_HISTORY_LINES 34 int "The command history line number" 35 default 5 36 endif 37 38 config FINSH_USING_WORD_OPERATION 39 bool "Enable word-based cursor operations" 40 default n 41 help 42 Enable Ctrl+Backspace to delete words and Ctrl+Arrow to move cursor by word 43 44 config FINSH_USING_SYMTAB 45 bool "Using symbol table for commands" 46 default y 47 48 config FINSH_CMD_SIZE 49 int "The command line size for shell" 50 default 80 51 52 config MSH_USING_BUILT_IN_COMMANDS 53 bool "Enable built-in commands, such as list_thread" 54 default y 55 56 config FINSH_USING_DESCRIPTION 57 bool "Keeping description in symbol table" 58 default y 59 60 config FINSH_ECHO_DISABLE_DEFAULT 61 bool "Disable the echo mode in default" 62 default n 63 64 config FINSH_USING_AUTH 65 bool "shell support authentication" 66 default n 67 68 if FINSH_USING_AUTH 69 config FINSH_DEFAULT_PASSWORD 70 string "The default password for shell authentication" 71 default "rtthread" 72 73 config FINSH_PASSWORD_MIN 74 int "The password min length" 75 default 6 76 77 config FINSH_PASSWORD_MAX 78 int "The password max length" 79 default RT_NAME_MAX 80 endif 81 82 config FINSH_ARG_MAX 83 int "The number of arguments for a shell command" 84 default 10 85 86 config FINSH_USING_OPTION_COMPLETION 87 bool "command option completion enable" 88 default y 89 90endif 91