Browse Source

[KCONFIG]添加pipe缓冲区大小配置

Bluebear233 7 năm trước cách đây
mục cha
commit
985db0e3bf
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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