Kconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. menuconfig RT_USING_SAL
  2. bool "SAL: socket abstraction layer"
  3. select RT_USING_NETDEV
  4. select RT_USING_SYSTEM_WORKQUEUE
  5. default n
  6. if RT_USING_SAL
  7. config SAL_INTERNET_CHECK
  8. bool "Enable the ability that check internet status"
  9. default y
  10. help
  11. The ability that check internet status is provided by RT-Thread.
  12. menu "Docking with protocol stacks"
  13. config SAL_USING_LWIP
  14. bool "Docking with lwIP stack"
  15. default n
  16. config SAL_USING_AT
  17. bool "Docking with AT commands stack"
  18. default n
  19. config SAL_USING_TLS
  20. bool "Docking with MbedTLS protocol"
  21. default n
  22. endmenu
  23. config SAL_USING_POSIX
  24. bool
  25. depends on DFS_USING_POSIX
  26. default y
  27. help
  28. Enable BSD socket operated by file system API
  29. Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs.
  30. config SAL_USING_AF_UNIX
  31. bool "Enable support AF_UNIX socket"
  32. default n
  33. default y if RT_USING_SMART
  34. config SAL_SOCKETS_NUM
  35. int "the maximum number of sockets"
  36. depends on !SAL_USING_POSIX
  37. default 16
  38. endif