stm32/lwip_inc: Increase lwIP memory on N6.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2025-06-11 13:31:40 +10:00
parent eaed2518fa
commit 959e910366

View File

@@ -10,6 +10,15 @@
#define LWIP_RAND() rng_get()
// Increase memory for lwIP to get better performance.
#if defined(STM32N6)
#define MEM_SIZE (16 * 1024)
#define TCP_MSS (1460)
#define TCP_WND (8 * TCP_MSS)
#define TCP_SND_BUF (8 * TCP_MSS)
#define MEMP_NUM_TCP_SEG (32)
#endif
// Include common lwIP configuration.
#include "extmod/lwip-include/lwipopts_common.h"