44 lines
826 B
Plaintext
44 lines
826 B
Plaintext
# Generic networking options
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NEWLIB_LIBC=y
|
|
CONFIG_NET_UDP=y
|
|
|
|
# Socket
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
|
CONFIG_NET_SOCKETS_POLL_MAX=4
|
|
|
|
# CoAP
|
|
CONFIG_COAP=y
|
|
CONFIG_COAP_WELL_KNOWN_BLOCK_WISE=n
|
|
|
|
# Kernel options
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
# Logging
|
|
CONFIG_PRINTK=y
|
|
CONFIG_NET_LOG=y
|
|
|
|
# Network Shell
|
|
CONFIG_NET_SHELL=y
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_HEAP_MEM_POOL_SIZE=2048
|
|
|
|
# Configuration
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
|
|
# Enable only one protocol, if you enable both sources
|
|
# won't compile.
|
|
# IPv6 Support
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_CONFIG_NEED_IPV6=y
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="2001:db8::1"
|
|
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=5
|
|
|
|
#IPv4 Support
|
|
CONFIG_NET_IPV4=n
|
|
CONFIG_NET_CONFIG_NEED_IPV4=n
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|