Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. 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. config LWP_TASK_STACK_SIZE
  15. int "The lwp thread kernel stack size"
  16. default 16384
  17. config RT_CH_MSG_MAX_NR
  18. int "The maximum number of channel messages"
  19. default 1024
  20. config LWP_CONSOLE_INPUT_BUFFER_SIZE
  21. int "The input buffer size of lwp console device"
  22. default 1024
  23. config LWP_TID_MAX_NR
  24. int "The maximum number of lwp thread id"
  25. default 64
  26. if ARCH_MM_MMU
  27. config RT_LWP_SHM_MAX_NR
  28. int "The maximum number of shared memory"
  29. default 64
  30. endif
  31. if ARCH_MM_MPU
  32. config RT_LWP_MPU_MAX_NR
  33. int "The maximum number of mpu region"
  34. default 2
  35. config RT_LWP_USING_SHM
  36. bool "Enable shared memory"
  37. default y
  38. endif
  39. config LWP_UNIX98_PTY
  40. bool "The unix98 PTY support"
  41. default n
  42. if LWP_UNIX98_PTY
  43. config LWP_PTY_INPUT_BFSZ
  44. int "The unix98 PTY input buffer size"
  45. default 1024
  46. config LWP_PTY_PTS_SIZE
  47. int "The unix98 PTY device max num"
  48. default 3
  49. config LWP_PTY_USING_DEBUG
  50. bool "The unix98 PTY debug output"
  51. default n
  52. endif
  53. endif