Skip to content

Commit 51fbfb7

Browse files
authored
Merge pull request arduino#88 from bcmi-labs/lwip_mem
Enable lwip memory allocator to reduce RAM fragmentation
2 parents da5a1f2 + 2358419 commit 51fbfb7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

extras/net/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ make
1717

1818
### Move libraries inside SSLClient
1919
```bash
20-
cp liblwIP.a ../../libraries/Ethernet/src/cortex-m33/
20+
cp liblwIP.a ../../libraries/lwIpWrapper/src/cortex-m33/
2121
```

extras/net/lwipopts.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
* already use it.
112112
*/
113113
#ifndef MEM_LIBC_MALLOC
114-
#define MEM_LIBC_MALLOC 1
114+
#define MEM_LIBC_MALLOC 0
115115
#endif
116116

117117
/**
1.65 KB
Binary file not shown.

0 commit comments

Comments
 (0)