Kconfig 1.7 KB

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