mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user