Kconfig 2.3 KB

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