1CONFIG_REQUIRES_FULL_LIBC=y
2
3# CPP library
4CONFIG_CPP=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
16CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=8192
17CONFIG_MAIN_STACK_SIZE=32768
18CONFIG_INIT_STACKS=y
19
20# Enable OpenThread shell
21CONFIG_SHELL=y
22CONFIG_OPENTHREAD_SHELL=y
23CONFIG_SHELL_STACK_SIZE=8192
24
25CONFIG_NET_L2_OPENTHREAD=y
26
27# Use NVS as settings backend
28CONFIG_NVS=y
29
30# Enable Openthread rcp host
31CONFIG_HDLC_RCP_IF=y
32
33# Enable OpenThread features set
34CONFIG_OPENTHREAD_THREAD_STACK_SIZE=8192
35CONFIG_OPENTHREAD_THREAD_VERSION_1_3=y
36#CONFIG_OPENTHREAD_DEBUG=y
37#CONFIG_OPENTHREAD_L2_DEBUG=y
38#CONFIG_OPENTHREAD_L2_LOG_LEVEL_INF=y
39
40# mbedTLS tweaks
41CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=768
42
43# A sample configuration to enable Thread Joiner, uncomment if needed
44CONFIG_OPENTHREAD_JOINER=y
45
46# Enable diagnostic module, uncomment if needed
47#CONFIG_OPENTHREAD_DIAG=y
48
49# To have OTBR On-Mesh address assigned (fd11:22:0:0:)
50CONFIG_OPENTHREAD_SLAAC=y
51
52# Setup the communication to echo-server
53CONFIG_NET_CONFIG_PEER_IPV6_ADDR="fd11:db8:1::1"
54CONFIG_NET_CONFIG_INIT_TIMEOUT=60
55
56# Configure the OpenThread manually
57CONFIG_OPENTHREAD_MANUAL_START=y
58
59CONFIG_EVENTS=y
60