net: openthread: Add config for NRF52840 DK OpenThread NCP
New config file to build an OpenThread NCP for the NRF52840-DK via CDC-ACM USB on the connector J3 (labelled 'nRF USB'). Signed-off-by: Markus Becker <markus.becker@tridonic.com>
This commit is contained in:
parent
6cec40e8cf
commit
df38b0911c
2 changed files with 19 additions and 1 deletions
|
@ -14,7 +14,7 @@ CONFIG_STDOUT_CONSOLE=y
|
|||
CONFIG_GPIO=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_DEVICE_STACK=y
|
||||
CONFIG_USB_DEVICE_PRODUCT="OT BorderRouter K64"
|
||||
CONFIG_USB_DEVICE_PRODUCT="OpenThread NCP K64"
|
||||
CONFIG_LOG=y
|
||||
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
|
||||
CONFIG_USB_CDC_ACM=y
|
||||
|
|
18
samples/net/openthread/ncp/overlay-usb-nrf-br.conf
Normal file
18
samples/net/openthread/ncp/overlay-usb-nrf-br.conf
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Nordic NCP USB CDC-ACM
|
||||
|
||||
# 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 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_USB=y
|
||||
CONFIG_USB_DEVICE_STACK=y
|
||||
CONFIG_USB_DEVICE_PRODUCT="OpenThread NCP NRF"
|
||||
CONFIG_USB_CDC_ACM=y
|
||||
CONFIG_UART_LINE_CTRL=y
|
||||
CONFIG_USB_REQUEST_BUFFER_SIZE=2048
|
||||
|
||||
CONFIG_ISR_STACK_SIZE=4096
|
Loading…
Add table
Add a link
Reference in a new issue