Kconfig 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  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 5 if RT_THREAD_PRIORITY_8
  19. default 20 if RT_THREAD_PRIORITY_32
  20. default 160 if RT_THREAD_PRIORITY_256
  21. config FINSH_THREAD_STACK_SIZE
  22. int "The stack size for thread"
  23. default 4096
  24. config FINSH_USING_HISTORY
  25. bool "Enable command history feature"
  26. default y
  27. if FINSH_USING_HISTORY
  28. config FINSH_HISTORY_LINES
  29. int "The command history line number"
  30. default 5
  31. endif
  32. config FINSH_USING_WORD_OPERATION
  33. bool "Enable word-based cursor operations"
  34. default n
  35. help
  36. Enable Ctrl+Backspace to delete words and Ctrl+Arrow to move cursor by word
  37. config FINSH_USING_FUNC_EXT
  38. bool "Enable function extension home end ins del"
  39. default n
  40. help
  41. Enable function extension home end ins del.
  42. config FINSH_USING_SYMTAB
  43. bool "Using symbol table for commands"
  44. default y
  45. config FINSH_CMD_SIZE
  46. int "The command line size for shell"
  47. default 80
  48. config MSH_USING_BUILT_IN_COMMANDS
  49. bool "Enable built-in commands, such as list_thread"
  50. default y
  51. config FINSH_USING_DESCRIPTION
  52. bool "Keeping description in symbol table"
  53. default y
  54. config FINSH_ECHO_DISABLE_DEFAULT
  55. bool "Disable the echo mode in default"
  56. default n
  57. config FINSH_USING_AUTH
  58. bool "shell support authentication"
  59. default n
  60. if FINSH_USING_AUTH
  61. config FINSH_DEFAULT_PASSWORD
  62. string "The default password for shell authentication"
  63. default "rtthread"
  64. config FINSH_PASSWORD_MIN
  65. int "The password min length"
  66. default 6
  67. config FINSH_PASSWORD_MAX
  68. int "The password max length"
  69. default RT_NAME_MAX
  70. endif
  71. config FINSH_ARG_MAX
  72. int "The number of arguments for a shell command"
  73. default 10
  74. config FINSH_USING_OPTION_COMPLETION
  75. bool "command option completion enable"
  76. default y
  77. endif