34 lines
877 B
Plaintext
34 lines
877 B
Plaintext
# TRI n4m BR
|
|
# Use UART_0 for Shell/Console
|
|
CONFIG_UART_SHELL_ON_DEV_NAME="UART_0"
|
|
CONFIG_UART_CONSOLE_ON_DEV_NAME="UART_0"
|
|
CONFIG_SHELL_PROMPT_UART="ncp-uart:~$ "
|
|
|
|
# Use UART_1 for NCP
|
|
CONFIG_OPENTHREAD_NCP_SPINEL_ON_UART_DEV_NAME="UART_1"
|
|
|
|
# Use USB-CDC-ACM for NCP
|
|
CONFIG_OPENTHREAD_NCP_SPINEL_ON_UART_ACM=y
|
|
CONFIG_OPENTHREAD_NCP_SPINEL_ON_UART_DEV_NAME="CDC_ACM_0"
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
CONFIG_GPIO=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_DEVICE_STACK=y
|
|
CONFIG_USB_DEVICE_PRODUCT="OT BorderRouter K64"
|
|
CONFIG_LOG=y
|
|
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
|
|
CONFIG_USB_CDC_ACM=y
|
|
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
|
|
CONFIG_SERIAL=y
|
|
CONFIG_UART_INTERRUPT_DRIVEN=y
|
|
CONFIG_UART_LINE_CTRL=y
|
|
CONFIG_USB_REQUEST_BUFFER_SIZE=2048
|
|
|
|
# disable ethernet on K64
|
|
CONFIG_NET_L2_ETHERNET=n
|
|
CONFIG_ETH_MCUX_0=n
|
|
|
|
CONFIG_IEEE802154_RF2XX=y
|
|
CONFIG_NET_CONFIG_IEEE802154_DEV_NAME="RF2XX_0"
|
|
CONFIG_ISR_STACK_SIZE=4096
|