mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-16 03:39:22 +08:00
8a38307e2c
1. Add macro check in rtdebug.h; 2. Use RT_USING_POSIX for poll/select, stdin etc. 3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
30 lines
599 B
Plaintext
30 lines
599 B
Plaintext
menu "POSIX layer and C standard library"
|
|
|
|
config RT_USING_LIBC
|
|
bool "Enable libc APIs from toolchain"
|
|
default y
|
|
|
|
config RT_USING_PTHREADS
|
|
bool "Enable pthreads APIs"
|
|
default n
|
|
|
|
if RT_USING_LIBC
|
|
config RT_USING_POSIX
|
|
bool "Enable POSIX layer for poll/select, stdin etc"
|
|
select RT_USING_DFS
|
|
select RT_USING_DFS_DEVFS
|
|
default y
|
|
|
|
if RT_USING_POSIX
|
|
config RT_USING_POSIX_MMAP
|
|
bool "Enable mmap() api"
|
|
default n
|
|
|
|
config RT_USING_POSIX_TERMIOS
|
|
bool "Enable termios feature"
|
|
default n
|
|
endif
|
|
endif
|
|
|
|
endmenu
|