1
0
Эх сурвалжийг харах

Merge pull request #1593 from Bluebear233/patch-5

[KCONFIG]添加pipe缓冲区大小配置
Bernard Xiong 6 жил өмнө
parent
commit
9df6acc067

+ 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