42 lines
897 B
Plaintext
42 lines
897 B
Plaintext
# Generic networking options
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_UDP=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_IPV6=n
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_POSIX_API=y
|
|
CONFIG_ZVFS_OPEN_MAX=6
|
|
CONFIG_NET_CONNECTION_MANAGER=y
|
|
|
|
# Kernel options
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
CONFIG_INIT_STACKS=y
|
|
|
|
# Logging
|
|
CONFIG_NET_LOG=y
|
|
CONFIG_LOG=y
|
|
CONFIG_PRINTK=y
|
|
|
|
# Network buffers
|
|
CONFIG_NET_PKT_RX_COUNT=16
|
|
CONFIG_NET_PKT_TX_COUNT=16
|
|
CONFIG_NET_BUF_RX_COUNT=64
|
|
CONFIG_NET_BUF_TX_COUNT=64
|
|
CONFIG_NET_CONTEXT_NET_PKT_POOL=y
|
|
|
|
# IP address options
|
|
CONFIG_NET_MAX_CONTEXTS=10
|
|
|
|
# Network application options and configuration
|
|
CONFIG_NET_CONFIG_SETTINGS=y
|
|
CONFIG_NET_CONFIG_NEED_IPV4=y
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
|
|
|
|
# MQTT-SN
|
|
CONFIG_MQTT_SN_LIB=y
|
|
CONFIG_MQTT_SN_TRANSPORT_UDP=y
|
|
CONFIG_NET_SAMPLE_MQTT_SN_GATEWAY_IP="192.0.2.2"
|
|
CONFIG_NET_SAMPLE_MQTT_SN_GATEWAY_PORT=10000
|