stm32/lwip_inc: Further increase N6 lwIP memory.

This MCU has a lot of memory and gigabit ethernet, so it benefits from
improved lwIP performance.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2025-11-11 17:34:23 +11:00
parent c8a818cf13
commit 6c4b05d832

View File

@@ -14,11 +14,12 @@
// Increase memory for lwIP to get better performance.
#if defined(STM32N6)
#define MEM_SIZE (16 * 1024)
#define MEM_SIZE (64 * 1024)
#define PBUF_POOL_SIZE (32)
#define TCP_MSS (1460)
#define TCP_WND (8 * TCP_MSS)
#define TCP_SND_BUF (8 * TCP_MSS)
#define MEMP_NUM_TCP_SEG (32)
#define TCP_WND (16 * TCP_MSS)
#define TCP_SND_BUF (16 * TCP_MSS)
#define MEMP_NUM_TCP_SEG (64)
#endif
// Include common lwIP configuration.