forked from xuos/xiuos
Modify the priority of main function Enable lwip(XiZi) receive timeout, send timeout, and socket forced shutdown from Zhang_caiqian
it is OK
This commit is contained in:
commit
fc100708c2
|
@ -7,7 +7,7 @@ menu "Applications"
|
||||||
config MAIN_KTASK_PRIORITY
|
config MAIN_KTASK_PRIORITY
|
||||||
int
|
int
|
||||||
default 4 if KTASK_PRIORITY_8
|
default 4 if KTASK_PRIORITY_8
|
||||||
default 10 if KTASK_PRIORITY_32
|
default 16 if KTASK_PRIORITY_32
|
||||||
default 85 if KTASK_PRIORITY_256
|
default 85 if KTASK_PRIORITY_256
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
|
@ -204,7 +204,28 @@ The STM32F4x7 allows computing and verifying the IP, UDP, TCP and ICMP checksums
|
||||||
/**
|
/**
|
||||||
* LWIP_SO_RCVBUF==1: Enable SO_RCVBUF processing.
|
* LWIP_SO_RCVBUF==1: Enable SO_RCVBUF processing.
|
||||||
*/
|
*/
|
||||||
#define LWIP_SO_RCVBUF 1
|
#define LWIP_SO_RCVBUF 1
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LWIP_SO_SNDTIMEO==1: Enable send timeout for sockets/netconns and
|
||||||
|
* SO_SNDTIMEO processing.
|
||||||
|
*/
|
||||||
|
#ifndef LWIP_SO_SNDTIMEO
|
||||||
|
#define LWIP_SO_SNDTIMEO 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LWIP_SO_RCVTIMEO==1: Enable receive timeout for sockets/netconns and
|
||||||
|
* SO_RCVTIMEO processing.
|
||||||
|
*/
|
||||||
|
#ifndef LWIP_SO_RCVTIMEO
|
||||||
|
#define LWIP_SO_RCVTIMEO 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LWIP_SO_LINGER==1: Enable SO_LINGER processing.
|
||||||
|
*/
|
||||||
|
#define LWIP_SO_LINGER 1
|
||||||
|
|
||||||
/*
|
/*
|
||||||
---------------------------------
|
---------------------------------
|
||||||
|
|
Loading…
Reference in New Issue