Kconfig 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. config RT_USING_LWP
  2. bool "Using light-weight process"
  3. select RT_USING_DFS
  4. select RT_USING_LIBC
  5. select RT_USING_POSIX_CLOCKTIME
  6. depends on ARCH_ARM_CORTEX_M || ARCH_ARM_ARM9 || ARCH_ARM_CORTEX_A || ARCH_RISCV64
  7. default n
  8. help
  9. The lwP is a light weight process running in user mode.
  10. if RT_USING_LWP
  11. config RT_LWP_MAX_NR
  12. int "The max number of light-weight process"
  13. default 30
  14. endif
  15. config LWP_TASK_STACK_SIZE
  16. int "The lwp thread kernel stack size"
  17. default 16384
  18. depends on RT_USING_LWP
  19. config RT_CH_MSG_MAX_NR
  20. int "The maximum number of channel messages"
  21. default 1024
  22. depends on RT_USING_LWP
  23. config RT_LWP_SHM_MAX_NR
  24. int "The maximum number of shared memory"
  25. default 64
  26. depends on RT_USING_LWP
  27. config LWP_CONSOLE_INPUT_BUFFER_SIZE
  28. int "The input buffer size of lwp console device"
  29. default 1024
  30. depends on RT_USING_LWP
  31. config LWP_TID_MAX_NR
  32. int "The maximum number of lwp thread id"
  33. default 64
  34. depends on RT_USING_LWP
  35. config LWP_UNIX98_PTY
  36. bool "The unix98 PTY support"
  37. default n
  38. depends on RT_USING_LWP
  39. config LWP_PTY_INPUT_BFSZ
  40. int "The unix98 PTY input buffer size"
  41. default 1024
  42. depends on RT_USING_LWP
  43. depends on LWP_UNIX98_PTY
  44. config LWP_PTY_PTS_SIZE
  45. int "The unix98 PTY device max num"
  46. default 3
  47. depends on RT_USING_LWP
  48. depends on LWP_UNIX98_PTY
  49. config LWP_PTY_USING_DEBUG
  50. bool "The unix98 PTY debug output"
  51. default n
  52. depends on RT_USING_LWP
  53. depends on LWP_UNIX98_PTY