Skip to content

Commit 3e9addf

Browse files
mlaschkartben
authored andcommitted
samples: net: sockets: echo_service: Use ZVFS default settings
This sample works without increasing ZVFS_OPEN_MAX and ZVFS_POLL_MAX to some arbitrary number. This also removes a duplicate entry for ZVFS_OPEN_MAX. ZVFS_OPEN_MAX already defaults to a reasonably large value of 16 if POSIX_API is enabled, which is the case for the echo_service sample. Signed-off-by: Marc Lasch <[email protected]>
1 parent 6b10383 commit 3e9addf

File tree

1 file changed

+0
-3
lines changed
  • samples/net/sockets/echo_service

1 file changed

+0
-3
lines changed

samples/net/sockets/echo_service/prj.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@ CONFIG_NET_IPV6=y
1010
CONFIG_NET_TCP=y
1111
CONFIG_NET_SOCKETS=y
1212
CONFIG_NET_IPV4_MAPPING_TO_IPV6=y
13-
CONFIG_ZVFS_OPEN_MAX=10
1413
CONFIG_NET_MAX_CONN=5
1514
CONFIG_NET_SOCKETS_SERVICE=y
16-
CONFIG_ZVFS_OPEN_MAX=20
17-
CONFIG_ZVFS_POLL_MAX=20
1815

1916
# Network driver config
2017
CONFIG_TEST_RANDOM_GENERATOR=y

0 commit comments

Comments
 (0)