diff options
| author | bernard.xiong <[email protected]> | 2009-12-06 23:50:17 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2009-12-06 23:50:17 +0000 |
| commit | 6db90b15afc65acb82983fcb4e7fbcd904cfd282 (patch) | |
| tree | 8fc36d57351db101b88813d614f89b8ffe047bf5 /net/lwip/src | |
| parent | af965befa929b4c1809e5dfba01402c1aad5fd74 (diff) | |
fix the cortex-m3 context switch bug when interrupt preempts pendsv exception; add RT_LWIP_ETH_PAD_SIZE option; fix device activate flag set issue in init function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@193 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'net/lwip/src')
| -rw-r--r-- | net/lwip/src/lwipopts.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/net/lwip/src/lwipopts.h b/net/lwip/src/lwipopts.h index c17573bb78..b31df7684f 100644 --- a/net/lwip/src/lwipopts.h +++ b/net/lwip/src/lwipopts.h @@ -46,6 +46,9 @@ #define LWIP_DEBUG #endif +/* Enable SO_RCVTIMEO processing. */ +#define LWIP_SO_RCVTIMEO 1 + /* ---------- Debug options ---------- */ #ifdef LWIP_DEBUG #define SYS_DEBUG LWIP_DBG_OFF @@ -142,7 +145,9 @@ link level header. */ #define PBUF_LINK_HLEN 16 -#define ETH_PAD_SIZE 2 // default is 0 +#ifdef RT_LWIP_ETH_PAD_SIZE +#define ETH_PAD_SIZE RT_LWIP_ETH_PAD_SIZE +#endif /** SYS_LIGHTWEIGHT_PROT * define SYS_LIGHTWEIGHT_PROT in lwipopts.h if you want inter-task protection |
