CONFIG_ZVFS_POLL_MAX is now used to control the maximum number of poll() entires. Thereby, CONFIG_NET_SOCKETS_POLL_MAX is redundant and shall be deprecated. Modify the defaults for NET_SOCKETS_POLL_MAX and ZVS_POLL_MAX so that the deprecation actually makes sense instead of symbol removal. In case the application still sets the old config, it will modify the ZVS_POLL_MAX default. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
34 lines
688 B
Plaintext
34 lines
688 B
Plaintext
# Networking config
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_TEST=y
|
|
CONFIG_NET_DRIVERS=y
|
|
CONFIG_NET_LOOPBACK=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_ZVFS_OPEN_MAX=7
|
|
CONFIG_ZVFS_POLL_MAX=7
|
|
|
|
# Network driver config
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
CONFIG_MDNS_RESPONDER=y
|
|
CONFIG_NET_HOSTNAME_ENABLE=y
|
|
CONFIG_DNS_SD=y
|
|
CONFIG_DNS_SD_LOG_LEVEL_DBG=y
|
|
|
|
CONFIG_ZTEST=y
|
|
CONFIG_ZTEST_STACK_SIZE=2048
|
|
|
|
# Maybe avoid stack overflow on mps2/an385?
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
|
|
CONFIG_NET_MAX_CONTEXTS=8
|
|
CONFIG_NET_L2_DUMMY=y
|
|
CONFIG_NET_L2_ETHERNET=n
|
|
CONFIG_NET_LOOPBACK=n
|
|
CONFIG_NET_UDP=y
|
|
CONFIG_NET_UDP_CHECKSUM=n
|
|
CONFIG_NET_PKT_RX_COUNT=16
|
|
CONFIG_NET_PKT_TX_COUNT=16
|
|
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=4
|