Some features like IP fragmenting are default disabled to keep the network stack compact for small devices. In bigger applications as well as for the Maxwell Pro tests it required to have the full functionality enabled. This can also work as example for new projects. Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
25 lines
767 B
Plaintext
25 lines
767 B
Plaintext
# This configuration is designed to enable feature that might be disabled by default in the network stack
|
|
CONFIG_NET_CONFIG_NEED_IPV4=y
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.168.11.111"
|
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.168.11.100"
|
|
CONFIG_NET_CONFIG_MY_IPV4_GW="192.168.11.1"
|
|
|
|
# Optimized networking settings for performance
|
|
CONFIG_NET_PKT_RX_COUNT=32
|
|
CONFIG_NET_PKT_TX_COUNT=64
|
|
CONFIG_NET_BUF_RX_COUNT=256
|
|
CONFIG_NET_BUF_TX_COUNT=512
|
|
|
|
# enable fragmenting
|
|
CONFIG_NET_IPV4_FRAGMENT=y
|
|
CONFIG_NET_IPV4_FRAGMENT_MAX_COUNT=16
|
|
CONFIG_NET_IPV4_FRAGMENT_TIMEOUT=15
|
|
CONFIG_NET_IPV4_FRAGMENT_MAX_PKT=8
|
|
|
|
CONFIG_NET_IPV6_FRAGMENT=y
|
|
CONFIG_NET_IPV6_FRAGMENT_MAX_COUNT=16
|
|
CONFIG_NET_IPV6_FRAGMENT_TIMEOUT=15
|
|
CONFIG_NET_IPV6_FRAGMENT_MAX_PKT=8
|
|
|
|
CONFIG_NET_SAMPLE_NUM_HANDLERS=20
|