stm32/lwip_inc: Increase lwIP memory on N6.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -10,6 +10,15 @@
|
|||||||
|
|
||||||
#define LWIP_RAND() rng_get()
|
#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 common lwIP configuration.
|
||||||
#include "extmod/lwip-include/lwipopts_common.h"
|
#include "extmod/lwip-include/lwipopts_common.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user