Skip to content

Commit

Permalink
increase tcp_max_connections for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
scareything committed Jul 18, 2023
1 parent a4cb361 commit 44314fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ set(LWIP_MEM_SIZE 1048576 CACHE STRING "LWIP MEM_SIZE option")
set(LWIP_PBUF_POOL_SIZE 1024 CACHE STRING "LWIP PBUF_POOL_SIZE option")
set(UDP_MAX_CONNECTIONS 512 CACHE STRING "LWIP MEMP_NUM_UDP_PCB option")
set(TCP_MAX_QUEUED_SEGMENTS 2048 CACHE STRING "LWIP MEMP_NUM_TCP_SEG option")
set(TCP_MAX_CONNECTIONS 1024 CACHE STRING "LWIP MEMP_NUM_TCP_PCB option")
set(TCP_MAX_CONNECTIONS 4096 CACHE STRING "LWIP MEMP_NUM_TCP_PCB option")

target_compile_definitions(lwipcore
PUBLIC MEM_SIZE=${LWIP_MEM_SIZE}
Expand Down

0 comments on commit 44314fe

Please sign in to comment.