46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# Main
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
|
|
CONFIG_REQUIRES_FULL_LIBC=y
|
|
|
|
# Disable TCP and IPv4 (TCP disabled to avoid heavy traffic)
|
|
CONFIG_NET_TCP=n
|
|
CONFIG_NET_IPV4=n
|
|
|
|
CONFIG_NET_IPV6_NBR_CACHE=n
|
|
CONFIG_NET_IPV6_MLD=n
|
|
CONFIG_NET_CONFIG_NEED_IPV4=n
|
|
CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
|
|
CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
|
|
|
|
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
|
|
CONFIG_MAIN_STACK_SIZE=2560
|
|
|
|
# Enable OpenThread shell
|
|
CONFIG_SHELL=y
|
|
CONFIG_OPENTHREAD_SHELL=y
|
|
CONFIG_SHELL_STACK_SIZE=3072
|
|
|
|
CONFIG_NET_L2_OPENTHREAD=y
|
|
|
|
CONFIG_OPENTHREAD_DEBUG=y
|
|
CONFIG_OPENTHREAD_L2_DEBUG=y
|
|
CONFIG_OPENTHREAD_L2_LOG_LEVEL_INF=y
|
|
|
|
CONFIG_OPENTHREAD_CHANNEL=26
|
|
CONFIG_OPENTHREAD_NETWORKKEY="00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff"
|
|
|
|
CONFIG_NET_CONFIG_MY_IPV6_ADDR="fdde:ad00:beef::1"
|
|
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="fdde:ad00:beef::2"
|
|
CONFIG_LWM2M_APP_SERVER="coap://[fdde:ad00:beef::2]"
|
|
|
|
# mbedTLS tweaks
|
|
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=768
|
|
|
|
# A sample configuration to enable Thread Joiner, uncomment if needed
|
|
#CONFIG_OPENTHREAD_JOINER=y
|
|
#CONFIG_OPENTHREAD_JOINER_AUTOSTART=y
|
|
|
|
# Enable diagnostic module, uncomment if needed
|
|
#CONFIG_OPENTHREAD_DIAG=y
|