This directory contains example platform drivers for the Telink B91.
The example platform drivers are intended to present the minimal code necessary to support OpenThread. As a result, the example platform drivers do not necessarily highlight the platform's full capabilities.
This platform is intended for exprimentation and exploration of OpenThread, not a production ready environment.
Building the examples for the b91 requires CMake, Ninja, and the Telink risc-v toolchain.
After these tools are installed, follow the instruction below to install other necessary tools.
$ cd <path-to-ot-b91>
$ ./script/bootstrap
In a Bash terminal, follow these instructions to build the b91 examples.
$ cd <path-to-ot-b91>
$ ./script/build
If the build completed successfully, the elf
files may be found in <path-to-ot-b91>/build/bin
.
You can download the BDT tool and refer to the user guide provided by Telink to burn the images to the board, in order to load the images with the BDT tool, the images must be converted to bin
. This is done using riscv32-elf-objcopy
$ cd <path-to-ot-b91>/build/bin
$ riscv32-elf-objcopy -S -O binary ot-cli-ftd ot-cli-ftd.bin
- With a terminal client (putty, minicom, etc.) open the com port associated with the b91 UART. The serial port settings are:
- 115200 baud
- 8 data bits
- no parity bit
- 1 stop bit
- Type
help
for a list of commands - See OpenThread CLI Reference README.md to learn more.
We would love for you to contribute to OpenThread and help make it even better than it is today! See our Contributing Guidelines for more information.
Contributors are required to abide by our Code of Conduct and Coding Conventions and Style Guide.
OpenThread is released under the BSD 3-Clause license. See the LICENSE
file for more information.
Please only use the OpenThread name and marks when accurately referencing this software distribution. Do not use the marks in a way that suggests you are endorsed by or otherwise affiliated with Nest, Google, or The Thread Group.
There are numerous avenues for OpenThread support:
- Bugs and feature requests — submit to the Issue Tracker
- Stack Overflow — post questions using the
openthread
tag - Google Groups — discussion and announcements at openthread-users
The openthread-users Google Group is the recommended place for users to discuss OpenThread and interact directly with the OpenThread team.