summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-06-30 16:28:16 +0800
committerGitHub <[email protected]>2018-06-30 16:28:16 +0800
commit9df6acc067bbba41099e501aa4d8efcdddfbaee2 (patch)
treedb12ead6255877100fdc1cadb9936c90f95df02e
parente474861a4b7747c0dee224163201075cf8f71e52 (diff)
parent985db0e3bf09a4540ca1c77b5b7467018497bc47 (diff)
Merge pull request #1593 from Bluebear233/patch-5
[KCONFIG]添加pipe缓冲区大小配置
-rwxr-xr-xcomponents/drivers/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 53468e1f90..8d8e0aa596 100755
--- a/components/drivers/Kconfig
+++ b/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