2021-12-01 03:50:10 +08:00
|
|
|
menu "POSIX (Portable Operating System Interface) layer"
|
|
|
|
|
|
|
|
config RT_USING_POSIX_FS
|
2021-12-06 07:52:59 +08:00
|
|
|
bool "Enable POSIX file system and I/O"
|
2021-12-01 03:50:10 +08:00
|
|
|
select RT_USING_DFS
|
|
|
|
select DFS_USING_POSIX
|
|
|
|
default n
|
|
|
|
|
|
|
|
if RT_USING_POSIX_FS
|
|
|
|
config RT_USING_POSIX_DEVIO
|
|
|
|
bool "Enable devices as file descriptors"
|
|
|
|
select RT_USING_DFS_DEVFS
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_POSIX_POLL
|
2021-12-06 07:52:59 +08:00
|
|
|
bool "Enable I/O Multiplexing poll() <poll.h>"
|
2021-12-01 03:50:10 +08:00
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_POSIX_SELECT
|
2021-12-06 07:52:59 +08:00
|
|
|
bool "Enable I/O Multiplexing select() <sys/select.h>"
|
2021-12-01 03:50:10 +08:00
|
|
|
select RT_USING_POSIX_POLL
|
|
|
|
default n
|
2021-12-06 07:52:59 +08:00
|
|
|
|
|
|
|
config RT_USING_POSIX_TERMIOS
|
|
|
|
bool "Enable Terminal I/O <termios.h>"
|
|
|
|
select RT_USING_POSIX_DEVIO
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_POSIX_AIO
|
|
|
|
bool "Enable Asynchronous I/O <aio.h>"
|
|
|
|
default n
|
|
|
|
|
2021-12-08 04:47:00 +08:00
|
|
|
config RT_USING_POSIX_MMAN
|
2021-12-06 07:52:59 +08:00
|
|
|
bool "Enable Memory-Mapped I/O <sys/mman.h>"
|
|
|
|
default n
|
2021-12-01 03:50:10 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
config RT_USING_POSIX_DELAY
|
|
|
|
bool "Enable delay APIs, sleep()/usleep()/msleep() etc"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_POSIX_GETLINE
|
|
|
|
bool "Enable getline()/getdelim()"
|
|
|
|
select RT_USING_LIBC
|
|
|
|
select RT_LIBC_USING_FILEIO
|
|
|
|
default n
|
|
|
|
|
|
|
|
config RT_USING_PTHREADS
|
|
|
|
bool "Enable pthreads APIs"
|
|
|
|
default n
|
|
|
|
|
|
|
|
if RT_USING_PTHREADS
|
|
|
|
config PTHREAD_NUM_MAX
|
|
|
|
int "Maximum number of pthreads"
|
|
|
|
default 8
|
|
|
|
endif
|
|
|
|
|
2021-12-07 15:18:58 +08:00
|
|
|
source "$RTT_DIR/components/libc/posix/ipc/Kconfig"
|
|
|
|
|
2021-12-01 03:50:10 +08:00
|
|
|
endmenu
|