Kconfig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. menu "POSIX (Portable Operating System Interface) layer"
  2. config RT_USING_POSIX_FS
  3. bool "Enable POSIX file system, open()/read()/write()/close() etc"
  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 poll()"
  14. default n
  15. config RT_USING_POSIX_SELECT
  16. bool "Enable select()"
  17. select RT_USING_POSIX_POLL
  18. default n
  19. endif
  20. config RT_USING_POSIX_DELAY
  21. bool "Enable delay APIs, sleep()/usleep()/msleep() etc"
  22. default n
  23. config RT_USING_POSIX_GETLINE
  24. bool "Enable getline()/getdelim()"
  25. select RT_USING_LIBC
  26. select RT_LIBC_USING_FILEIO
  27. default n
  28. config RT_USING_POSIX_MMAP
  29. bool "Enable mmap()"
  30. select RT_USING_POSIX_FS
  31. default n
  32. config RT_USING_POSIX_TERMIOS
  33. bool "Enable termios APIs"
  34. default n
  35. config RT_USING_POSIX_AIO
  36. bool "Enable AIO APIs"
  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. endmenu