This repo contains example platform drivers for the Realtek RTL8777G.
In a Bash terminal, follow these instructions to clone all submodules.
$ cd <path-to-ot-realtek>
$ git submodule update --init --recursiveIn a Bash terminal, follow these instructions to build the RTL8777G examples.
$ cd <path-to-ot-realtek>
$ OT_CMAKE_NINJA_TARGET="ot-cli-ftd" ./script/build bee4 sdk rtl8777gIf the build completed successfully, the bin files may be found in <path-to-realtek>/build/bin/.
To flash the images with MPCli tool, we should copy image file to MPCli tool file.
$ cd <path-to-ot-realtek>
$ cp ./build/bin/<ot-cli-ftd_MP_dev_0.0.0.0_XXXX.bin> ./third_party/Realtek/tool/mpcli/binThen we should modify mptool config file.
$ vim ./third_party/Realtek/tool/mpcli/mptoolconfig.jsonReplace <ot-cli-ftd.bin> with image file name.
Program file with MPCli.
$ cd ./third_party/Realtek/tool/mpcli
$ sudo mpcli -f mptoolconfig.json -c <serial port> -a -rExample: sudo mpcli -f mptoolconfig.json -c /dev/ttyUSB0 -a -r
- Open terminal to
/dev/ttyACM0(serial port settings: 115200 8-N-1). - Type
helpfor 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.
OpenThread support is available on GitHub:
- Bugs and feature requests pertaining to the OpenThread on Realtek Example — submit to the openthread/ot-realtek Issue Tracker
- OpenThread bugs and feature requests — submit to the OpenThread Issue Tracker
- Community Discussion - ask questions, share ideas, and engage with other community members