From 1aa96f34cd327dbb913bb90147bb96a1f19f0d92 Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Fri, 21 Jan 2022 11:45:33 +0800 Subject: [PATCH] [lwip]Improve lwip support for 64-bit architecture --- components/net/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/net/Kconfig b/components/net/Kconfig index f4531375c0..2ad34567e9 100644 --- a/components/net/Kconfig +++ b/components/net/Kconfig @@ -138,6 +138,7 @@ config RT_USING_LWIP config RT_LWIP_MEM_ALIGNMENT int "Memory alignment" + default 8 if ARCH_CPU_64BIT default 4 config RT_LWIP_IGMP @@ -258,6 +259,7 @@ config RT_USING_LWIP config RT_LWIP_TCPTHREAD_STACKSIZE int "the stack size of lwIP thread" + default 2048 if ARCH_CPU_64BIT default 1024 config LWIP_NO_RX_THREAD @@ -274,6 +276,7 @@ config RT_USING_LWIP config RT_LWIP_ETHTHREAD_STACKSIZE int "the stack size of ethernet thread" + default 2048 if ARCH_CPU_64BIT default 1024 config RT_LWIP_ETHTHREAD_MBOX_SIZE -- GitLab