summaryrefslogtreecommitdiff
path: root/components/finsh/Kconfig
blob: 2d9d768e239c3a89f0a7e9e1e582ced2a9d2a03a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
menuconfig RT_USING_MSH
    bool "MSH: command shell"
    default y

if RT_USING_MSH

    config RT_USING_FINSH
        bool
        default y

    config FINSH_USING_MSH
        bool
        default y

    config FINSH_THREAD_NAME
        string "The msh thread name"
        default "tshell"

    config FINSH_THREAD_PRIORITY
        int "The priority level value of thread"
        default 20

    config FINSH_THREAD_STACK_SIZE
        int "The stack size for thread"
        default 4096

    config FINSH_USING_HISTORY
        bool "Enable command history feature"
        default y

    if FINSH_USING_HISTORY
        config FINSH_HISTORY_LINES
            int "The command history line number"
            default 5
    endif

    config FINSH_USING_SYMTAB
        bool "Using symbol table for commands"
        default y

    config FINSH_CMD_SIZE
        int "The command line size for shell"
        default 80

    config MSH_USING_BUILT_IN_COMMANDS
        bool "Enable built-in commands, such as list_thread"
        default y

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

    config FINSH_ECHO_DISABLE_DEFAULT
        bool "Disable the echo mode in default"
        default n

    config FINSH_USING_AUTH
        bool "shell support authentication"
        default n

    if FINSH_USING_AUTH
        config FINSH_DEFAULT_PASSWORD
            string "The default password for shell authentication"
            default "rtthread"

        config FINSH_PASSWORD_MIN
            int "The password min length"
            default 6

        config FINSH_PASSWORD_MAX
            int "The password max length"
            default RT_NAME_MAX
    endif

    config FINSH_ARG_MAX
        int "The number of arguments for a shell command"
        default 10

endif