Kconfig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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_THREAD_PRIORITY
  14. int "The priority level value of thread"
  15. default 20
  16. config FINSH_THREAD_STACK_SIZE
  17. int "The stack size for thread"
  18. default 4096
  19. config FINSH_USING_HISTORY
  20. bool "Enable command history feature"
  21. default y
  22. if FINSH_USING_HISTORY
  23. config FINSH_HISTORY_LINES
  24. int "The command history line number"
  25. default 5
  26. endif
  27. config FINSH_USING_SYMTAB
  28. bool "Using symbol table for commands"
  29. default y
  30. config FINSH_CMD_SIZE
  31. int "The command line size for shell"
  32. default 80
  33. config MSH_USING_BUILT_IN_COMMANDS
  34. bool "Enable built-in commands, such as list_thread"
  35. default y
  36. config FINSH_USING_DESCRIPTION
  37. bool "Keeping description in symbol table"
  38. default y
  39. config FINSH_ECHO_DISABLE_DEFAULT
  40. bool "Disable the echo mode in default"
  41. default n
  42. config FINSH_USING_AUTH
  43. bool "shell support authentication"
  44. default n
  45. if FINSH_USING_AUTH
  46. config FINSH_DEFAULT_PASSWORD
  47. string "The default password for shell authentication"
  48. default "rtthread"
  49. config FINSH_PASSWORD_MIN
  50. int "The password min length"
  51. default 6
  52. config FINSH_PASSWORD_MAX
  53. int "The password max length"
  54. default RT_NAME_MAX
  55. endif
  56. config FINSH_ARG_MAX
  57. int "The number of arguments for a shell command"
  58. default 10
  59. endif
  60. endmenu