summaryrefslogtreecommitdiff
path: root/components/finsh
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-01-31 11:54:12 +0800
committerbernard <[email protected]>2017-01-31 11:54:12 +0800
commitd692001fd576c68942a1eb7cad18974d07c8dc7a (patch)
tree199c9826e5be5dc7ecea21f4ff894eced2b145b4 /components/finsh
parentcb61d1ffbc9d1d27328c52de49ded58388750ba4 (diff)
[tools] Add KConfig files.
Diffstat (limited to 'components/finsh')
-rw-r--r--components/finsh/KConfig43
1 files changed, 43 insertions, 0 deletions
diff --git a/components/finsh/KConfig b/components/finsh/KConfig
new file mode 100644
index 0000000000..e735517f4b
--- /dev/null
+++ b/components/finsh/KConfig
@@ -0,0 +1,43 @@
+menu "Command shell"
+
+config RT_USING_FINSH
+ bool "finsh shell"
+ default y
+
+if RT_USING_FINSH
+
+config FINSH_USING_SYMTAB
+ bool "Using symbol table for commands"
+ default y
+
+config FINSH_USING_DESCRIPTION
+ bool "Keeping description in symbol table"
+ default y
+
+config FINSH_THREAD_STACK_SIZE
+ int "The stack size for finsh thread"
+ default 4096
+
+config FINSH_USING_AUTH
+ bool "shell support authentication"
+ default n
+
+config FINSH_DEFAULT_PASSWORD
+ string "The default password for shell authentication"
+ default "rtthread"
+
+config FINSH_USING_MSH
+ bool "Using module shell"
+ default y
+
+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
+
+endif
+
+endmenu