1# Main
2CONFIG_MAIN_STACK_SIZE=2048
3
4CONFIG_REQUIRES_FULL_LIBC=y
5
6# Disable TCP and IPv4 (TCP disabled to avoid heavy traffic)
7CONFIG_NET_TCP=n
8CONFIG_NET_IPV4=n
9
10CONFIG_NET_IPV6_NBR_CACHE=n
11CONFIG_NET_IPV6_MLD=n
12CONFIG_NET_CONFIG_NEED_IPV4=n
13CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
14CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
15
16# Use NVS as settings backend
17CONFIG_NVS=y
18
19CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
20CONFIG_MAIN_STACK_SIZE=2560
21
22# Enable OpenThread shell
23CONFIG_SHELL=y
24CONFIG_OPENTHREAD_SHELL=y
25CONFIG_SHELL_STACK_SIZE=3072
26
27CONFIG_NET_L2_OPENTHREAD=y
28
29CONFIG_OPENTHREAD_DEBUG=y
30CONFIG_OPENTHREAD_L2_DEBUG=y
31CONFIG_OPENTHREAD_L2_LOG_LEVEL_INF=y
32
33CONFIG_OPENTHREAD_CHANNEL=26
34CONFIG_OPENTHREAD_NETWORKKEY="00:11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff"
35
36CONFIG_NET_CONFIG_MY_IPV6_ADDR="fdde:ad00:beef::1"
37CONFIG_NET_CONFIG_PEER_IPV6_ADDR="fdde:ad00:beef::2"
38CONFIG_LWM2M_APP_SERVER="coap://[fdde:ad00:beef::2]"
39
40# mbedTLS tweaks
41CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=768
42
43# A sample configuration to enable Thread Joiner, uncomment if needed
44#CONFIG_OPENTHREAD_JOINER=y
45#CONFIG_OPENTHREAD_JOINER_AUTOSTART=y
46
47# Enable diagnostic module, uncomment if needed
48#CONFIG_OPENTHREAD_DIAG=y
49