Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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_SOCKET
  24. bool "Enable BSD Socket I/O <sys/socket.h> <netdb.h>"
  25. select RT_USING_POSIX_SELECT
  26. select RT_USING_SAL
  27. default n
  28. config RT_USING_POSIX_TERMIOS
  29. bool "Enable Terminal I/O <termios.h>"
  30. select RT_USING_POSIX_STDIO
  31. default n
  32. config RT_USING_POSIX_AIO
  33. bool "Enable Asynchronous I/O <aio.h>"
  34. default n
  35. config RT_USING_POSIX_MMAN
  36. bool "Enable Memory-Mapped I/O <sys/mman.h>"
  37. default n
  38. endif
  39. config RT_USING_POSIX_DELAY
  40. bool "Enable delay APIs, sleep()/usleep()/msleep() etc"
  41. default n
  42. config RT_USING_POSIX_CLOCK
  43. bool "Enable clock/time APIs, clock_gettime()/clock_settime() etc"
  44. select RT_USING_POSIX_DELAY
  45. default n
  46. config RT_USING_POSIX_TIMER
  47. select RT_USING_TIMER_SOFT
  48. select RT_USING_RESOURCE_ID
  49. bool "Enable timer APIs, timer_create()/timer_gettime() etc"
  50. default n
  51. config RT_USING_PTHREADS
  52. bool "Enable pthreads APIs"
  53. select RT_USING_POSIX_CLOCK
  54. default n
  55. if RT_USING_PTHREADS
  56. config PTHREAD_NUM_MAX
  57. int "Maximum number of pthreads"
  58. default 8
  59. endif
  60. config RT_USING_MODULE
  61. bool "Enable dynamic module APIs, dlopen()/dlsym()/dlclose() etc"
  62. default n
  63. if RT_USING_MODULE
  64. config RT_USING_CUSTOM_DLMODULE
  65. bool "Enable load dynamic module by custom"
  66. default n
  67. endif
  68. source "$RTT_DIR/components/libc/posix/ipc/Kconfig"
  69. endmenu