Kconfig 1.5 KB

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