Kconfig 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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_STDIO
  13. bool "Enable standard I/O devices, e.g. STDOUT_FILENO"
  14. select RT_USING_POSIX_DEVIO
  15. default n
  16. config RT_USING_POSIX_POLL
  17. bool "Enable I/O Multiplexing poll() <poll.h>"
  18. default n
  19. config RT_USING_POSIX_SELECT
  20. bool "Enable I/O Multiplexing select() <sys/select.h>"
  21. select RT_USING_POSIX_POLL
  22. default n
  23. config RT_USING_POSIX_EVENTFD
  24. bool "Enable I/O event eventfd <sys/eventfd.h>"
  25. select RT_USING_POSIX_POLL
  26. default n
  27. config RT_USING_POSIX_SOCKET
  28. bool "Enable BSD Socket I/O <sys/socket.h> <netdb.h>"
  29. select RT_USING_POSIX_SELECT
  30. select RT_USING_SAL
  31. default n
  32. config RT_USING_POSIX_TERMIOS
  33. bool "Enable Terminal I/O <termios.h>"
  34. select RT_USING_POSIX_STDIO
  35. default n
  36. config RT_USING_POSIX_AIO
  37. bool "Enable Asynchronous I/O <aio.h>"
  38. default n
  39. config RT_USING_POSIX_MMAN
  40. bool "Enable Memory-Mapped I/O <sys/mman.h>"
  41. default n
  42. endif
  43. config RT_USING_POSIX_DELAY
  44. select RT_USING_KTIME
  45. bool "Enable delay APIs, sleep()/usleep()/msleep() etc"
  46. default n
  47. config RT_USING_POSIX_CLOCK
  48. bool "Enable clock/time APIs, clock_gettime()/clock_settime() etc"
  49. select RT_USING_POSIX_DELAY
  50. default n
  51. config RT_USING_POSIX_TIMER
  52. select RT_USING_KTIME
  53. select RT_USING_RESOURCE_ID
  54. bool "Enable timer APIs, timer_create()/timer_gettime() etc"
  55. default n
  56. config RT_USING_PTHREADS
  57. bool "Enable pthreads APIs"
  58. select RT_USING_POSIX_CLOCK
  59. default n
  60. if RT_USING_PTHREADS
  61. config PTHREAD_NUM_MAX
  62. int "Maximum number of pthreads"
  63. default 8
  64. endif
  65. config RT_USING_MODULE
  66. bool "Enable dynamic module APIs, dlopen()/dlsym()/dlclose() etc"
  67. default n
  68. if RT_USING_MODULE
  69. config RT_USING_CUSTOM_DLMODULE
  70. bool "Enable load dynamic module by custom"
  71. default n
  72. endif
  73. source "$RTT_DIR/components/libc/posix/ipc/Kconfig"
  74. endmenu