1
0

Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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_SYMTAB
  36. bool "Using symbol table for commands"
  37. default y
  38. config FINSH_CMD_SIZE
  39. int "The command line size for shell"
  40. default 80
  41. config MSH_USING_BUILT_IN_COMMANDS
  42. bool "Enable built-in commands, such as list_thread"
  43. default y
  44. config FINSH_USING_DESCRIPTION
  45. bool "Keeping description in symbol table"
  46. default y
  47. config FINSH_ECHO_DISABLE_DEFAULT
  48. bool "Disable the echo mode in default"
  49. default n
  50. config FINSH_USING_AUTH
  51. bool "shell support authentication"
  52. default n
  53. if FINSH_USING_AUTH
  54. config FINSH_DEFAULT_PASSWORD
  55. string "The default password for shell authentication"
  56. default "rtthread"
  57. config FINSH_PASSWORD_MIN
  58. int "The password min length"
  59. default 6
  60. config FINSH_PASSWORD_MAX
  61. int "The password max length"
  62. default RT_NAME_MAX
  63. endif
  64. config FINSH_ARG_MAX
  65. int "The number of arguments for a shell command"
  66. default 10
  67. config FINSH_USING_OPTION_COMPLETION
  68. bool "command option completion enable"
  69. default y
  70. endif