Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
boards/ | 11-Mar-2024 | - | 33 | 26 | ||
src/ | 11-Mar-2024 | - | 18 | 7 | ||
CMakeLists.txt | D | 11-Mar-2024 | 311 | 16 | 10 | |
Kconfig | D | 11-Mar-2024 | 336 | 17 | 10 | |
README.rst | D | 11-Mar-2024 | 2.2 KiB | 70 | 52 | |
app.overlay | D | 11-Mar-2024 | 172 | 13 | 11 | |
overlay-rcp.conf | D | 11-Mar-2024 | 200 | 8 | 4 | |
overlay-tri-n4m-br.conf | D | 11-Mar-2024 | 555 | 24 | 18 | |
overlay-usb-nrf-br.conf | D | 11-Mar-2024 | 292 | 13 | 7 | |
prj.conf | D | 11-Mar-2024 | 852 | 36 | 23 | |
sample.yaml | D | 11-Mar-2024 | 774 | 25 | 24 | |
usb.overlay | D | 11-Mar-2024 | 269 | 19 | 16 |
README.rst
1.. _coprocessor-sample: 2 3OpenThread Co-Processor 4####################### 5 6Overview 7******** 8 9OpenThread Co-Processor allows building a Thread Border Router. The code in this 10sample is only the MCU target part of a complete Thread Border Router. 11The Co-Processor can act in two variants: Network Co-Processor (NCP) and Radio 12Co-Processor (RCP), see https://openthread.io/platforms/co-processor. 13 14Additional required host-side tools (e.g. otbr-agent) to build a Thread Border 15Router can be obtained by following 16https://openthread.io/guides/border-router/build#set-up-the-border-router. 17 18The preferred Co-Processor configuration of OpenThread is RCP now. 19 20The source code for this sample application can be found at: 21:zephyr_file:`samples/net/openthread/coprocessor`. 22 23Building and Running 24******************** 25 26Build the OpenThread NCP sample application like this: 27 28.. zephyr-app-commands:: 29 :zephyr-app: samples/net/openthread/coprocessor 30 :board: <board to use> 31 :conf: <config file to use> 32 :goals: build 33 :compact: 34 35Build the OpenThread NCP sample application which uses CDC ACM UART device: 36 37.. zephyr-app-commands:: 38 :zephyr-app: samples/net/openthread/coprocessor 39 :board: nrf52840dk_nrf52840 40 :goals: build flash 41 :gen-args: -DDTC_OVERLAY_FILE=usb.overlay -DOVERLAY_CONFIG=overlay-usb-nrf-br.conf 42 :compact: 43 44Example building for the nrf52840dk_nrf52840 for RCP: 45 46.. zephyr-app-commands:: 47 :zephyr-app: samples/net/openthread/coprocessor 48 :host-os: unix 49 :board: nrf52840dk_nrf52840 50 :conf: "prj.conf overlay-rcp.conf" 51 :goals: run 52 :compact: 53 54There are configuration files for different boards and setups in the 55coprocessor directory: 56 57- :file:`prj.conf` 58 Generic NCP config file. Use this, if you want the NCP configuration. 59 60- :file:`overlay-rcp.conf` 61 RCP overlay file. Use this in combination with prj.conf, if you want the RCP 62 configuration. 63 64- :file:`overlay-tri-n4m-br.conf` 65 This is an overlay for the dedicated Thread Border Router hardware 66 https://www.tridonic.com/com/en/products/net4more-borderROUTER-PoE-Thread.asp. 67 The board support is not part of the Zephyr repositories, but the 68 product is based on NXP K64 and AT86RF233. This file can be used as an 69 example for a development set-up based on development boards. 70