diff options
| author | SummerGift <[email protected]> | 2017-12-11 15:51:18 +0800 |
|---|---|---|
| committer | SummerGift <[email protected]> | 2017-12-11 15:52:11 +0800 |
| commit | 7fc26a848699a0b29125e9790e1a8aea3cb78513 (patch) | |
| tree | 68f63979e987444c8398becb544ccde30a58ec45 /components | |
| parent | 2de2d6e43335e4f209423d7146f5e1fd2a1b71e9 (diff) | |
add MEMP_NUM_NETCONN option for lwip 1.4.1
Diffstat (limited to 'components')
| -rw-r--r-- | components/net/lwip-1.4.1/src/lwipopts.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/net/lwip-1.4.1/src/lwipopts.h b/components/net/lwip-1.4.1/src/lwipopts.h index 0b177b5894..8b4d38961e 100644 --- a/components/net/lwip-1.4.1/src/lwipopts.h +++ b/components/net/lwip-1.4.1/src/lwipopts.h @@ -93,6 +93,11 @@ should be set high. */ #define MEMP_NUM_PBUF 16 +/* the number of struct netconns */ +#ifdef RT_MEMP_NUM_NETCONN +#define MEMP_NUM_NETCONN RT_MEMP_NUM_NETCONN +#endif + /* the number of UDP protocol control blocks. One per active RAW "connection". */ #ifdef RT_LWIP_RAW_PCB_NUM #define MEMP_NUM_RAW_PCB RT_LWIP_RAW_PCB_NUM |
