Skip to content

Commit 9049964

Browse files
Cristib05jhedberg
authored andcommitted
samples: net: openthread: border_router: Fix compile issues
This commits fixes OpenThread border router application compile issues generated by latest upstream changes Signed-off-by: Cristian Bulacu <[email protected]>
1 parent ba5b5de commit 9049964

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Private config options for OpenThread Border Router sample app
2+
3+
# Copyright 2025 NXP
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
mainmenu "OpenThread Border Router sample application"
7+
8+
source "samples/net/common/Kconfig"
9+
source "Kconfig.zephyr"

samples/net/openthread/border_router/prj.conf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ CONFIG_NET_ROUTE_MCAST=y
1616
CONFIG_NET_SOCKETS_SERVICE=y
1717
CONFIG_NET_CONTEXT_RECV_PKTINFO=y
1818
CONFIG_NET_CONTEXT_RECV_HOPLIMIT=y
19+
CONFIG_ZVFS_POLL_MAX=15
1920
CONFIG_NET_SOCKETS_SERVICE_STACK_SIZE=12288
20-
CONFIG_NET_MAX_CONN=12
21+
CONFIG_NET_MAX_CONN=15
2122
CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=2048
23+
# Number of socket descriptors might need adjusting
24+
# if there are more than 1 handlers defined.
25+
CONFIG_ZVFS_OPEN_ADD_SIZE_NET_SAMPLE=15
2226

2327
# printing of scan results puts pressure on queues in new locking
2428
# design in net_mgmt. So, use a higher timeout for a crowded
@@ -62,7 +66,7 @@ CONFIG_NET_PKT_RX_COUNT=16
6266
CONFIG_NET_PKT_TX_COUNT=16
6367
CONFIG_NET_BUF_RX_COUNT=64
6468
CONFIG_NET_BUF_TX_COUNT=64
65-
CONFIG_NET_MAX_CONTEXTS=10
69+
CONFIG_NET_MAX_CONTEXTS=15
6670
CONFIG_NET_CONTEXT_NET_PKT_POOL=y
6771

6872
# IP address options

0 commit comments

Comments
 (0)