Kconfig 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_WINSOCK
  20. bool "Docking with Windows socket (winsock)"
  21. default n
  22. config SAL_USING_TLS
  23. bool "Docking with MbedTLS protocol"
  24. default n
  25. endmenu
  26. config SAL_USING_POSIX
  27. bool
  28. depends on DFS_USING_POSIX
  29. default y
  30. help
  31. Enable BSD socket operated by file system API
  32. Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs.
  33. config SAL_SOCKETS_NUM
  34. int "the maximum number of sockets"
  35. depends on !SAL_USING_POSIX
  36. default 16
  37. endif