Kconfig 1.5 KB
Newer Older
B
bernard 已提交
1 2 3 4 5 6 7 8
menu "Command shell"

config RT_USING_FINSH
    bool "finsh shell"
    default y

if RT_USING_FINSH

9 10 11
config FINSH_THREAD_NAME
    string "The finsh thread name"
    default "tshell"
12 13 14
config FINSH_USING_HISTORY
    bool "Enable command history feature"
    default y
15 16 17 18 19
if FINSH_USING_HISTORY
config FINSH_HISTORY_LINES
    int "The command history line number"
    default 5
endif
20

B
bernard 已提交
21 22 23 24 25 26 27 28
config FINSH_USING_SYMTAB
    bool "Using symbol table for commands"
    default y

config FINSH_USING_DESCRIPTION
    bool "Keeping description in symbol table"
    default y

29 30 31
config FINSH_ECHO_MODE_DEFAULT
    bool "Enble the command echo mode or not in default"
    default y
32
    
33 34 35 36
config FINSH_THREAD_PRIORITY
    int "The priority level value of finsh thread"
    default 20

B
bernard 已提交
37 38 39 40
config FINSH_THREAD_STACK_SIZE
    int "The stack size for finsh thread"
    default 4096

41 42 43 44
config FINSH_CMD_SIZE
    int "The command line size for shell"
    default 80

B
bernard 已提交
45 46 47
config FINSH_USING_AUTH
    bool "shell support authentication"
    default n
48 49

if FINSH_USING_AUTH
B
bernard 已提交
50 51 52
config FINSH_DEFAULT_PASSWORD
    string "The default password for shell authentication"
    default "rtthread"
53 54 55 56 57 58
config FINSH_PASSWORD_MIN
    int "The password min length"
    default 6
config FINSH_PASSWORD_MAX
    int "The password max length"
    default RT_NAME_MAX
59
endif
B
bernard 已提交
60 61 62 63 64

config FINSH_USING_MSH
    bool "Using module shell"
    default y

65
if FINSH_USING_MSH
B
bernard 已提交
66 67 68 69 70 71 72
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
73
endif
B
bernard 已提交
74 75 76 77

endif

endmenu