We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9438dc commit df80144Copy full SHA for df80144
scripts/lwipopts.h
@@ -1,5 +1,6 @@
1
-#ifndef __LWIPOPTS_H__
2
-#define __LWIPOPTS_H__
+#ifndef _LWIPOPTS_EXAMPLE_COMMONH_H
+#define _LWIPOPTS_EXAMPLE_COMMONH_H
3
+
4
5
// Common settings used in most of the pico_w examples
6
// (see https://www.nongnu.org/lwip/2_1_x/group__lwip__opts.html for details)
@@ -19,7 +20,9 @@
19
20
#define MEM_LIBC_MALLOC 0
21
#endif
22
#define MEM_ALIGNMENT 4
23
+#ifndef MEM_SIZE
24
#define MEM_SIZE 4000
25
+#endif
26
#define MEMP_NUM_TCP_SEG 32
27
#define MEMP_NUM_ARP_QUEUE 10
28
#define PBUF_POOL_SIZE 24
0 commit comments