Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. menuconfig RT_USING_MSH
  2. bool "MSH: command shell"
  3. default n if RT_USING_NANO
  4. default y
  5. if RT_USING_MSH
  6. config RT_USING_FINSH
  7. bool
  8. default y
  9. config FINSH_USING_MSH
  10. bool
  11. default y
  12. config FINSH_THREAD_NAME
  13. string "The msh thread name"
  14. default "tshell"
  15. config FINSH_THREAD_PRIORITY
  16. int "The priority level value of thread"
  17. default 20
  18. config FINSH_THREAD_STACK_SIZE
  19. int "The stack size for thread"
  20. default 4096
  21. config FINSH_USING_HISTORY
  22. bool "Enable command history feature"
  23. default y
  24. if FINSH_USING_HISTORY
  25. config FINSH_HISTORY_LINES
  26. int "The command history line number"
  27. default 5
  28. endif
  29. config FINSH_USING_SYMTAB
  30. bool "Using symbol table for commands"
  31. default y
  32. config FINSH_CMD_SIZE
  33. int "The command line size for shell"
  34. default 80
  35. config MSH_USING_BUILT_IN_COMMANDS
  36. bool "Enable built-in commands, such as list_thread"
  37. default y
  38. config FINSH_USING_DESCRIPTION
  39. bool "Keeping description in symbol table"
  40. default y
  41. config FINSH_ECHO_DISABLE_DEFAULT
  42. bool "Disable the echo mode in default"
  43. default n
  44. config FINSH_USING_AUTH
  45. bool "shell support authentication"
  46. default n
  47. if FINSH_USING_AUTH
  48. config FINSH_DEFAULT_PASSWORD
  49. string "The default password for shell authentication"
  50. default "rtthread"
  51. config FINSH_PASSWORD_MIN
  52. int "The password min length"
  53. default 6
  54. config FINSH_PASSWORD_MAX
  55. int "The password max length"
  56. default RT_NAME_MAX
  57. endif
  58. config FINSH_ARG_MAX
  59. int "The number of arguments for a shell command"
  60. default 10
  61. config FINSH_USING_OPTION_COMPLETION
  62. bool "command option completion enable"
  63. default y
  64. endif