Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. menu "POSIX (Portable Operating System Interface) layer"
  2. config RT_USING_POSIX_FS
  3. bool "Enable POSIX file system and I/O"
  4. select RT_USING_DFS
  5. select DFS_USING_POSIX
  6. default n
  7. if RT_USING_POSIX_FS
  8. config RT_USING_POSIX_DEVIO
  9. bool "Enable devices as file descriptors"
  10. select RT_USING_DFS_DEVFS
  11. default n
  12. config RT_USING_POSIX_POLL
  13. bool "Enable I/O Multiplexing poll() <poll.h>"
  14. default n
  15. config RT_USING_POSIX_SELECT
  16. bool "Enable I/O Multiplexing select() <sys/select.h>"
  17. select RT_USING_POSIX_POLL
  18. default n
  19. config RT_USING_POSIX_TERMIOS
  20. bool "Enable Terminal I/O <termios.h>"
  21. select RT_USING_POSIX_DEVIO
  22. default n
  23. config RT_USING_POSIX_AIO
  24. bool "Enable Asynchronous I/O <aio.h>"
  25. default n
  26. config RT_USING_POSIX_MMAP
  27. bool "Enable Memory-Mapped I/O <sys/mman.h>"
  28. default n
  29. endif
  30. config RT_USING_POSIX_DELAY
  31. bool "Enable delay APIs, sleep()/usleep()/msleep() etc"
  32. default n
  33. config RT_USING_POSIX_GETLINE
  34. bool "Enable getline()/getdelim()"
  35. select RT_USING_LIBC
  36. select RT_LIBC_USING_FILEIO
  37. default n
  38. config RT_USING_PTHREADS
  39. bool "Enable pthreads APIs"
  40. default n
  41. if RT_USING_PTHREADS
  42. config PTHREAD_NUM_MAX
  43. int "Maximum number of pthreads"
  44. default 8
  45. endif
  46. source "$RTT_DIR/components/libc/posix/ipc/Kconfig"
  47. endmenu