Browse Source

Merge pull request #1593 from Bluebear233/patch-5

[KCONFIG]添加pipe缓冲区大小配置
Bernard Xiong 6 years ago
parent
commit
9df6acc067
1 changed files with 6 additions and 0 deletions
  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