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 <marc.lasch@husqvarnagroup.com>
This commit is contained in:
Marc Lasch 2024-12-23 15:08:20 +01:00 committed by Benjamin Cabé
parent 6b103837a5
commit 3e9addfd96

View file

@ -10,11 +10,8 @@ CONFIG_NET_IPV6=y
CONFIG_NET_TCP=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_IPV4_MAPPING_TO_IPV6=y
CONFIG_ZVFS_OPEN_MAX=10
CONFIG_NET_MAX_CONN=5
CONFIG_NET_SOCKETS_SERVICE=y
CONFIG_ZVFS_OPEN_MAX=20
CONFIG_ZVFS_POLL_MAX=20
# Network driver config
CONFIG_TEST_RANDOM_GENERATOR=y