Kconfig 1.4 KB

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