39 lines
944 B
Plaintext
39 lines
944 B
Plaintext
|
CONFIG_NETWORKING=y
|
||
|
CONFIG_NET_L2_OPENTHREAD=y
|
||
|
|
||
|
# Disable certain parts of Zephyr IPv6 stack
|
||
|
CONFIG_NET_IPV6_NBR_CACHE=n
|
||
|
CONFIG_NET_IPV6_MLD=n
|
||
|
|
||
|
# Logging
|
||
|
CONFIG_LOG=y
|
||
|
CONFIG_LOG_MAX_LEVEL=1
|
||
|
CONFIG_LOG_MINIMAL=n
|
||
|
CONFIG_LOG_BACKEND_SPINEL=y
|
||
|
CONFIG_LOG_BACKEND_RTT=y
|
||
|
CONFIG_LOG_BACKEND_UART=n
|
||
|
CONFIG_BOOT_BANNER=n
|
||
|
|
||
|
# Kernel options
|
||
|
CONFIG_MAIN_STACK_SIZE=2048
|
||
|
CONFIG_INIT_STACKS=y
|
||
|
|
||
|
# Increase logging thread stack size due to Spinel backend needs
|
||
|
CONFIG_LOG_PROCESS_THREAD_STACK_SIZE=2048
|
||
|
|
||
|
# Set OpenThread NCP architecture
|
||
|
CONFIG_OPENTHREAD_COPROCESSOR=y
|
||
|
CONFIG_OPENTHREAD_COPROCESSOR_NCP=y
|
||
|
|
||
|
# Add features required for NCP
|
||
|
CONFIG_OPENTHREAD_DIAG=y
|
||
|
CONFIG_OPENTHREAD_DHCP6_SERVER=y
|
||
|
CONFIG_OPENTHREAD_COMMISSIONER=y
|
||
|
CONFIG_OPENTHREAD_BORDER_AGENT=y
|
||
|
CONFIG_OPENTHREAD_BORDER_ROUTER=y
|
||
|
CONFIG_OPENTHREAD_UDP_FORWARD=y
|
||
|
CONFIG_OPENTHREAD_ENABLE_SERVICE=y
|
||
|
|
||
|
# Move console to other UART to not interfere with NCP
|
||
|
CONFIG_UART_CONSOLE_ON_DEV_NAME="UART_1"
|