Explorar el Código

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

Bluebear233 hace 7 años
padre
commit
985db0e3bf
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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