Kconfig 2.0 KB

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