Code Monkey home page Code Monkey logo

Comments (6)

jwhui avatar jwhui commented on July 3, 2024

To build RCP for nRF52840 direct from this GitHub repo, you can follow the steps in src/nrf52840/README.md.

Prepare the repo:

$ git clone https://github.com/openthread/ot-nrf528xx
$ cd ot-nrf528xx
$ git submodule update --init
$ ./script/bootstrap

For nRF52840-DK:

$ ./script/build nrf52840 USB_trans

For nRF52840 USB Dongle:

$ ./script/build nrf52840 USB_trans -DOT_BOOTLOADER=USB

from ot-nrf528xx.

HeneryH avatar HeneryH commented on July 3, 2024

The instructions for building RCP call for using the following build parameters that I just found out the correct syntax for.

This nRF52840 firmware image is built with the following build switches:

BORDER_AGENT=1 BORDER_ROUTER=1 COMMISSIONER=1 UDP_FORWARD=1 USB=1 LINK_RAW=1

The USB=1 switch enables native USB CDC ACM as a serial transport.

The following works with the OTBR as of today.

./script/build nrf52840 USB_trans -DOT_BORDER_AGENT=ON -DOT_BORDER_ROUTER=ON -DOT_COMMISSIONER=ON -DOT_UDP_FORWARD=ON -DOT_LINK_RAW=ON

arm-none-eabi-objcopy -O ihex build/bin/ot-rcp build/bin/ot-rcp.hex

from ot-nrf528xx.

HeneryH avatar HeneryH commented on July 3, 2024

Can this perhaps be a documentation enhancement?

from ot-nrf528xx.

jwhui avatar jwhui commented on July 3, 2024

Can this perhaps be a documentation enhancement?

Yes, we'll work to update the documentation. Thanks for pointing this out!

from ot-nrf528xx.

Vyrastas avatar Vyrastas commented on July 3, 2024

We have an internal bug logged to work on this.

from ot-nrf528xx.

jwhui avatar jwhui commented on July 3, 2024

Closing stale issue.

from ot-nrf528xx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.