[net][sal] Modify SAL configure judgment.

This commit is contained in:
chenyong 2018-08-02 17:53:02 +08:00
parent ba1aedd1a5
commit a8d27156a3
1 changed files with 14 additions and 12 deletions

View File

@ -9,21 +9,23 @@ config RT_USING_SAL
if RT_USING_SAL
if RT_USING_LWIP || AT_USING_SOCKET
menu "protocol stack implement"
config SAL_USING_LWIP
bool "Support lwIP stack"
default y if RT_USING_LWIP
default n
default y
depends on RT_USING_LWIP
config SAL_USING_AT
bool "Support AT Commands stack"
default y if AT_USING_SOCKET
default n
default y
depends on AT_USING_SOCKET
endmenu
endif
config SAL_USING_POSIX
bool "Enable BSD socket operated by file system API"
select RT_USING_LIBC