Skip to content

Commit 1aa96f3

Browse files
GuozhanxinBernardXiong
authored andcommitted
[lwip]Improve lwip support for 64-bit architecture
1 parent 03f46c6 commit 1aa96f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/net/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ config RT_USING_LWIP
138138

139139
config RT_LWIP_MEM_ALIGNMENT
140140
int "Memory alignment"
141+
default 8 if ARCH_CPU_64BIT
141142
default 4
142143

143144
config RT_LWIP_IGMP
@@ -258,6 +259,7 @@ config RT_USING_LWIP
258259

259260
config RT_LWIP_TCPTHREAD_STACKSIZE
260261
int "the stack size of lwIP thread"
262+
default 2048 if ARCH_CPU_64BIT
261263
default 1024
262264

263265
config LWIP_NO_RX_THREAD
@@ -274,6 +276,7 @@ config RT_USING_LWIP
274276

275277
config RT_LWIP_ETHTHREAD_STACKSIZE
276278
int "the stack size of ethernet thread"
279+
default 2048 if ARCH_CPU_64BIT
277280
default 1024
278281

279282
config RT_LWIP_ETHTHREAD_MBOX_SIZE

0 commit comments

Comments
 (0)