Kconfig 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. menuconfig RT_USING_DEVICE_IPC
  2. bool "Using device drivers IPC"
  3. default y
  4. select RT_USING_MUTEX
  5. select RT_USING_SEMAPHORE
  6. help
  7. Enable the device-layer IPC helpers (pipes, message queues, workqueues)
  8. that many drivers rely on for buffering and deferred processing. Disable
  9. only on extremely small systems that do not load drivers needing mutex or
  10. semaphore-based IPC primitives.
  11. if RT_USING_DEVICE_IPC
  12. config RT_UNAMED_PIPE_NUMBER
  13. int "The number of unamed pipe"
  14. default 64
  15. help
  16. Maximum number of anonymous pipes that can be created at runtime.
  17. Reduce this to save memory if your application uses few pipes.
  18. config RT_USING_SYSTEM_WORKQUEUE
  19. bool "Using system default workqueue"
  20. default n
  21. help
  22. Create a global system workqueue thread so drivers can defer work out
  23. of interrupt context without allocating their own threads.
  24. if RT_USING_SYSTEM_WORKQUEUE
  25. config RT_SYSTEM_WORKQUEUE_STACKSIZE
  26. int "The stack size for system workqueue thread"
  27. default 2048
  28. help
  29. Stack size in bytes for the common workqueue thread; increase when
  30. queued jobs perform complex tasks or call into heavy subsystems.
  31. config RT_SYSTEM_WORKQUEUE_PRIORITY
  32. int "The priority level of system workqueue thread"
  33. default 23
  34. help
  35. Scheduler priority assigned to the workqueue thread. Lower numbers
  36. mean higher priority; adjust relative to other timing-sensitive
  37. threads in your system.
  38. endif
  39. endif