summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2022-01-21 11:45:33 +0800
committerBernard Xiong <[email protected]>2022-01-21 21:48:45 +0800
commit1aa96f34cd327dbb913bb90147bb96a1f19f0d92 (patch)
tree62f8f091416f5fa363a65fe0b30ccf9182adcb86
parent03f46c6694056a6284b06422bc7b1329b0e3e003 (diff)
[lwip]Improve lwip support for 64-bit architecture
-rw-r--r--components/net/Kconfig3
1 files changed, 3 insertions, 0 deletions
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