Kconfig 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. menu "POSIX layer and C standard library"
  2. config RT_USING_LIBC
  3. bool "Enable libc APIs from toolchain"
  4. default y
  5. config RT_USING_PTHREADS
  6. bool "Enable pthreads APIs"
  7. default n
  8. if RT_USING_PTHREADS
  9. config PTHREAD_NUM_MAX
  10. int "Maximum number of pthreads"
  11. default 8
  12. endif
  13. if RT_USING_LIBC && RT_USING_DFS
  14. config RT_USING_POSIX
  15. bool "Enable POSIX layer for poll/select, stdin etc"
  16. select RT_USING_DFS_DEVFS
  17. default y
  18. if RT_USING_POSIX
  19. config RT_USING_POSIX_MMAP
  20. bool "Enable mmap() API"
  21. default n
  22. config RT_USING_POSIX_TERMIOS
  23. bool "Enable termios APIs"
  24. default n
  25. config RT_USING_POSIX_AIO
  26. bool "Enable AIO"
  27. default n
  28. endif
  29. endif
  30. if RT_USING_LIBC
  31. config RT_USING_MODULE
  32. bool "Enable dynamic module with dlopen/dlsym/dlclose feature"
  33. default n
  34. endif
  35. if RT_USING_LIBC != y
  36. config RT_LIBC_USING_TIME
  37. bool "Enable TIME FUNCTIONS WITHOUT COMPILER'S LIBC"
  38. default y
  39. endif
  40. endmenu