52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
CONFIG_CPLUSPLUS=y
|
|
|
|
CONFIG_BT=n
|
|
|
|
# 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_IPV6=y
|
|
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_NET_TX_STACK_SIZE=2048
|
|
CONFIG_NET_RX_STACK_SIZE=5120
|
|
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_NET_CONFIG_MY_IPV6_ADDR="fdde:ad00:beef::2"
|
|
CONFIG_NET_CONFIG_PEER_IPV6_ADDR="fdde:ad00:beef::1"
|
|
|
|
# Thread by default registers quite a lot addresses.
|
|
CONFIG_NET_IF_UNICAST_IPV6_ADDR_COUNT=6
|
|
CONFIG_NET_IF_MCAST_IPV6_ADDR_COUNT=8
|
|
|
|
# Other OpenThread dependencies
|
|
CONFIG_FLASH=y
|
|
CONFIG_FLASH_PAGE_LAYOUT=y
|
|
CONFIG_FLASH_MAP=y
|
|
CONFIG_MPU_ALLOW_FLASH_WRITE=y
|
|
CONFIG_NVS=y
|
|
CONFIG_SETTINGS=y
|
|
|
|
CONFIG_REBOOT=y
|
|
|
|
# mbedTLS tweaks
|
|
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=768
|
|
|
|
# A sample configuration to enable Thread Commissioner, uncomment if needed
|
|
#CONFIG_OPENTHREAD_COMMISSIONER=y
|
|
#CONFIG_MBEDTLS_HEAP_SIZE=8192
|