Pārlūkot izejas kodu

Merge pull request #1593 from Bluebear233/patch-5

[KCONFIG]添加pipe缓冲区大小配置
Bernard Xiong 7 gadi atpakaļ
vecāks
revīzija
9df6acc067
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6 0
      components/drivers/Kconfig

+ 6 - 0
components/drivers/Kconfig

@@ -4,6 +4,12 @@ config RT_USING_DEVICE_IPC
     bool "Using device drivers IPC"
     default y
 
+if RT_USING_DEVICE_IPC
+    config RT_PIPE_BUFSZ
+        int "Set pipe buffer size"
+        default 512
+endif
+
 config RT_USING_SERIAL
     bool "Using serial device drivers"
     select RT_USING_DEVICE_IPC