mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-23 01:48:50 +08:00
[net][sal] Modify SAL configure judgment.
This commit is contained in:
@@ -9,20 +9,22 @@ config RT_USING_SAL
|
|||||||
|
|
||||||
if RT_USING_SAL
|
if RT_USING_SAL
|
||||||
|
|
||||||
menu "protocol stack implement"
|
if RT_USING_LWIP || AT_USING_SOCKET
|
||||||
|
|
||||||
config SAL_USING_LWIP
|
menu "protocol stack implement"
|
||||||
bool "Support lwIP stack"
|
|
||||||
default y if RT_USING_LWIP
|
|
||||||
default n
|
|
||||||
depends on RT_USING_LWIP
|
|
||||||
|
|
||||||
config SAL_USING_AT
|
config SAL_USING_LWIP
|
||||||
bool "Support AT Commands stack"
|
bool "Support lwIP stack"
|
||||||
default y if AT_USING_SOCKET
|
default y
|
||||||
default n
|
depends on RT_USING_LWIP
|
||||||
depends on AT_USING_SOCKET
|
|
||||||
endmenu
|
config SAL_USING_AT
|
||||||
|
bool "Support AT Commands stack"
|
||||||
|
default y
|
||||||
|
depends on AT_USING_SOCKET
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
config SAL_USING_POSIX
|
config SAL_USING_POSIX
|
||||||
bool "Enable BSD socket operated by file system API"
|
bool "Enable BSD socket operated by file system API"
|
||||||
|
Reference in New Issue
Block a user