We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaed251 commit 959e910Copy full SHA for 959e910
1 file changed
ports/stm32/lwip_inc/lwipopts.h
@@ -10,6 +10,15 @@
10
11
#define LWIP_RAND() rng_get()
12
13
+// Increase memory for lwIP to get better performance.
14
+#if defined(STM32N6)
15
+#define MEM_SIZE (16 * 1024)
16
+#define TCP_MSS (1460)
17
+#define TCP_WND (8 * TCP_MSS)
18
+#define TCP_SND_BUF (8 * TCP_MSS)
19
+#define MEMP_NUM_TCP_SEG (32)
20
+#endif
21
+
22
// Include common lwIP configuration.
23
#include "extmod/lwip-include/lwipopts_common.h"
24
0 commit comments