Kconfig 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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_MMAN
  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_CLOCK
  34. bool "Enable clock/time functions, clock_gettime()/clock_settime()/clock_getres() etc"
  35. select RT_USING_POSIX_DELAY
  36. default n
  37. config RT_USING_POSIX_GETLINE
  38. bool "Enable getline()/getdelim()"
  39. select RT_USING_POSIX_FS
  40. select RT_USING_POSIX_DEVIO
  41. default n
  42. config RT_USING_PTHREADS
  43. bool "Enable pthreads APIs"
  44. select RT_USING_POSIX_CLOCK
  45. default n
  46. if RT_USING_PTHREADS
  47. config PTHREAD_NUM_MAX
  48. int "Maximum number of pthreads"
  49. default 8
  50. endif
  51. source "$RTT_DIR/components/libc/posix/ipc/Kconfig"
  52. endmenu