2017-10-17 22:27:06 +08:00
|
|
|
menu "POSIX layer and C standard library"
|
2017-01-31 11:54:12 +08:00
|
|
|
|
|
|
|
config RT_USING_LIBC
|
2017-10-13 12:44:54 +08:00
|
|
|
bool "Enable libc APIs from toolchain"
|
|
|
|
default y
|
2017-01-31 11:54:12 +08:00
|
|
|
|
|
|
|
config RT_USING_PTHREADS
|
2017-10-13 12:44:54 +08:00
|
|
|
bool "Enable pthreads APIs"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if RT_USING_LIBC
|
2017-10-17 22:27:06 +08:00
|
|
|
config RT_USING_POSIX
|
|
|
|
bool "Enable POSIX layer for poll/select, stdin etc"
|
2017-10-13 12:44:54 +08:00
|
|
|
select RT_USING_DFS
|
|
|
|
select RT_USING_DFS_DEVFS
|
|
|
|
default y
|
|
|
|
|
2017-10-17 22:27:06 +08:00
|
|
|
if RT_USING_POSIX
|
2017-10-13 12:44:54 +08:00
|
|
|
config RT_USING_POSIX_MMAP
|
|
|
|
bool "Enable mmap() api"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_POSIX_TERMIOS
|
|
|
|
bool "Enable termios feature"
|
|
|
|
default n
|
2017-10-17 22:27:06 +08:00
|
|
|
endif
|
2017-10-13 12:44:54 +08:00
|
|
|
endif
|
2017-01-31 11:54:12 +08:00
|
|
|
|
|
|
|
endmenu
|