summaryrefslogtreecommitdiff
path: root/components/libc/KConfig
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/KConfig')
-rw-r--r--components/libc/KConfig24
1 files changed, 20 insertions, 4 deletions
diff --git a/components/libc/KConfig b/components/libc/KConfig
index 155cb0d700..c245069e30 100644
--- a/components/libc/KConfig
+++ b/components/libc/KConfig
@@ -1,11 +1,27 @@
menu "libc"
config RT_USING_LIBC
- bool "Enable libc APIs from toolchain"
- default y
+ bool "Enable libc APIs from toolchain"
+ default y
config RT_USING_PTHREADS
- bool "Enable pthreads APIs"
- default y
+ bool "Enable pthreads APIs"
+ default n
+
+if RT_USING_LIBC
+ config RT_USING_POSIX_STDIN
+ bool "Enable stdin"
+ select RT_USING_DFS
+ select RT_USING_DFS_DEVFS
+ default y
+
+ config RT_USING_POSIX_MMAP
+ bool "Enable mmap() api"
+ default n
+
+ config RT_USING_POSIX_TERMIOS
+ bool "Enable termios feature"
+ default n
+endif
endmenu