xref: /nrf52832-nimble/rt-thread/components/finsh/Kconfig (revision 104654410c56c573564690304ae786df310c91fc)
1menu "Command shell"
2
3config RT_USING_FINSH
4    bool "finsh shell"
5    default y
6
7if RT_USING_FINSH
8
9config FINSH_THREAD_NAME
10    string "The finsh thread name"
11    default "tshell"
12config FINSH_USING_HISTORY
13    bool "Enable command history feature"
14    default y
15if FINSH_USING_HISTORY
16config FINSH_HISTORY_LINES
17    int "The command history line number"
18    default 5
19endif
20
21config FINSH_USING_SYMTAB
22    bool "Using symbol table for commands"
23    default y
24
25config FINSH_USING_DESCRIPTION
26    bool "Keeping description in symbol table"
27    default y
28
29config FINSH_ECHO_DISABLE_DEFAULT
30    bool "Disable the echo mode in default"
31    default n
32
33config FINSH_THREAD_PRIORITY
34    int "The priority level value of finsh thread"
35    default 20
36
37config FINSH_THREAD_STACK_SIZE
38    int "The stack size for finsh thread"
39    default 4096
40
41config FINSH_CMD_SIZE
42    int "The command line size for shell"
43    default 80
44
45config FINSH_USING_AUTH
46    bool "shell support authentication"
47    default n
48
49if FINSH_USING_AUTH
50config FINSH_DEFAULT_PASSWORD
51    string "The default password for shell authentication"
52    default "rtthread"
53config FINSH_PASSWORD_MIN
54    int "The password min length"
55    default 6
56config FINSH_PASSWORD_MAX
57    int "The password max length"
58    default RT_NAME_MAX
59endif
60
61config FINSH_USING_MSH
62    bool "Using module shell"
63    default y
64
65if FINSH_USING_MSH
66config FINSH_USING_MSH_DEFAULT
67    bool "Using module shell in default"
68    default y
69
70config FINSH_USING_MSH_ONLY
71    bool "Only using module shell"
72    default n
73
74config FINSH_ARG_MAX
75    int "The command arg num for shell"
76    default 10
77endif
78
79endif
80
81endmenu
82