mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-01 04:07:38 +08:00
[SAL][Kconfig]使用网络检测才依赖workqueue
This commit is contained in:
parent
9490f8818d
commit
4117872c4c
@ -1,13 +1,13 @@
|
|||||||
menuconfig RT_USING_SAL
|
menuconfig RT_USING_SAL
|
||||||
bool "SAL: socket abstraction layer"
|
bool "SAL: socket abstraction layer"
|
||||||
select RT_USING_NETDEV
|
select RT_USING_NETDEV
|
||||||
select RT_USING_SYSTEM_WORKQUEUE
|
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_SAL
|
if RT_USING_SAL
|
||||||
|
|
||||||
config SAL_INTERNET_CHECK
|
config SAL_INTERNET_CHECK
|
||||||
bool "Enable the ability that check internet status"
|
bool "Enable the ability that check internet status"
|
||||||
|
select RT_USING_SYSTEM_WORKQUEUE
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
The ability that check internet status is provided by RT-Thread.
|
The ability that check internet status is provided by RT-Thread.
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* check system workqueue stack size */
|
/* check system workqueue stack size */
|
||||||
#if RT_SYSTEM_WORKQUEUE_STACKSIZE < 1536
|
#ifdef SAL_INTERNET_CHECK && #if RT_SYSTEM_WORKQUEUE_STACKSIZE < 1536
|
||||||
#error "The system workqueue stack size must more than 1536 bytes"
|
#error "The system workqueue stack size must more than 1536 bytes"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user