2022-02-20 00:07:45 +08:00
|
|
|
menuconfig RT_USING_SAL
|
2022-03-25 23:07:18 +08:00
|
|
|
bool "SAL: socket abstraction layer"
|
2022-02-20 00:07:45 +08:00
|
|
|
select RT_USING_NETDEV
|
|
|
|
select RT_USING_SYSTEM_WORKQUEUE
|
|
|
|
default n
|
|
|
|
|
|
|
|
if RT_USING_SAL
|
|
|
|
|
|
|
|
config SAL_INTERNET_CHECK
|
|
|
|
bool "Enable the ability that check internet status"
|
|
|
|
default y
|
|
|
|
help
|
|
|
|
The ability that check internet status is provided by RT-Thread.
|
|
|
|
|
2022-05-16 02:52:00 +08:00
|
|
|
menu "Docking with protocol stacks"
|
|
|
|
config SAL_USING_LWIP
|
|
|
|
bool "Docking with lwIP stack"
|
2022-05-16 07:17:24 +08:00
|
|
|
default n
|
2022-05-16 02:52:00 +08:00
|
|
|
|
|
|
|
config SAL_USING_AT
|
|
|
|
bool "Docking with AT commands stack"
|
2022-05-16 07:17:24 +08:00
|
|
|
default n
|
2022-05-16 02:52:00 +08:00
|
|
|
|
|
|
|
config SAL_USING_TLS
|
|
|
|
bool "Docking with MbedTLS protocol"
|
2022-05-16 07:17:24 +08:00
|
|
|
default n
|
2022-05-16 02:52:00 +08:00
|
|
|
endmenu
|
2022-02-20 00:07:45 +08:00
|
|
|
|
|
|
|
config SAL_USING_POSIX
|
2022-03-29 13:39:55 +08:00
|
|
|
bool
|
|
|
|
depends on DFS_USING_POSIX
|
|
|
|
default y
|
2022-02-20 00:07:45 +08:00
|
|
|
help
|
2022-03-29 13:39:55 +08:00
|
|
|
Enable BSD socket operated by file system API
|
2022-02-20 00:07:45 +08:00
|
|
|
Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs.
|
|
|
|
|
2022-03-29 13:39:55 +08:00
|
|
|
config SAL_SOCKETS_NUM
|
|
|
|
int "the maximum number of sockets"
|
|
|
|
depends on !SAL_USING_POSIX
|
|
|
|
default 16
|
2022-02-20 00:07:45 +08:00
|
|
|
|
|
|
|
endif
|