Kconfig 1.5 KB

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