{"id":19639990,"url":"https://github.com/openthread/ot-b91","last_synced_at":"2025-04-28T11:30:58.162Z","repository":{"id":36976490,"uuid":"375477287","full_name":"openthread/ot-b91","owner":"openthread","description":"OpenThread on Telink B91 example.","archived":false,"fork":false,"pushed_at":"2025-04-22T14:39:22.000Z","size":930,"stargazers_count":12,"open_issues_count":0,"forks_count":10,"subscribers_count":17,"default_branch":"main","last_synced_at":"2025-04-22T15:44:18.289Z","etag":null,"topics":["openthread"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openthread.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-06-09T20:09:55.000Z","updated_at":"2025-04-22T14:39:19.000Z","dependencies_parsed_at":"2023-10-24T06:24:12.377Z","dependency_job_id":"41e19b35-c8a8-40df-896a-dbbbaf2bd403","html_url":"https://github.com/openthread/ot-b91","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openthread%2Fot-b91","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openthread%2Fot-b91/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openthread%2Fot-b91/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openthread%2Fot-b91/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openthread","download_url":"https://codeload.github.com/openthread/ot-b91/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251304742,"owners_count":21567927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["openthread"],"created_at":"2024-11-11T14:04:11.744Z","updated_at":"2025-04-28T11:30:55.761Z","avatar_url":"https://github.com/openthread.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenThread on B91 Example\n\nThis directory contains example platform drivers for the Telink B91.\n\nThe 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.\n\nThis platform is intended for exprimentation and exploration of OpenThread, not a production ready environment.\n\n## Build Environment\n\nBuilding the examples for the b91 requires [CMake][cmake], [Ninja][ninja], and the [Telink risc-v toolchain][telink-toolchain].\n\n[cmake]: https://cmake.org/\n[ninja]: https://ninja-build.org/\n[telink-toolchain]: http://wiki.telink-semi.cn/tools_and_sdk/Tools/IDE/telink_riscv_linux_toolchain.zip\n\nAfter these tools are installed, follow the instruction below to install other necessary tools.\n\n```bash\n$ cd \u003cpath-to-ot-b91\u003e\n$ ./script/bootstrap\n```\n\n## Building\n\nIn a Bash terminal, follow these instructions to build the b91 examples.\n\n```bash\n$ cd \u003cpath-to-ot-b91\u003e\n$ ./script/build\n```\n\n## Flash Binaries\n\nIf the build completed successfully, the `elf` files may be found in `\u003cpath-to-ot-b91\u003e/build/bin`.\n\nYou can download the [BDT tool][bdt-tool] and refer to the [user guide][user-guide] provided by Telink to burn the images to the board, in order to load the images with the [BDT tool][bdt-tool], the images must be converted to `bin`. This is done using `riscv32-elf-objcopy`\n\n```bash\n$ cd \u003cpath-to-ot-b91\u003e/build/bin\n$ riscv32-elf-objcopy -S -O binary ot-cli-ftd ot-cli-ftd.bin\n```\n\n[bdt-tool]: http://wiki.telink-semi.cn/tools_and_sdk/Tools/BDT/BDT.zip\n[user-guide]: http://wiki.telink-semi.cn/tools_and_sdk/Tools/BDT/BDT%20%20User%20Guide.zip\n\n## Interact\n\n### CLI example\n\n1. With a terminal client (putty, minicom, etc.) open the com port associated with the b91 UART. The serial port settings are:\n   - 115200 baud\n   - 8 data bits\n   - no parity bit\n   - 1 stop bit\n2. Type `help` for a list of commands\n3. See [OpenThread CLI Reference README.md][cli] to learn more.\n\n[cli]: https://github.com/openthread/openthread/blob/main/src/cli/README.md\n\n# Contributing\n\nWe would love for you to contribute to OpenThread and help make it even better than it is today! See our [Contributing Guidelines](https://github.com/openthread/openthread/blob/main/CONTRIBUTING.md) for more information.\n\nContributors are required to abide by our [Code of Conduct](https://github.com/openthread/openthread/blob/main/CODE_OF_CONDUCT.md) and [Coding Conventions and Style Guide](https://github.com/openthread/openthread/blob/main/STYLE_GUIDE.md).\n\n# License\n\nOpenThread is released under the [BSD 3-Clause license](https://github.com/openthread/ot-cc2538/blob/main/LICENSE). See the [`LICENSE`](https://github.com/openthread/ot-cc2538/blob/main/LICENSE) file for more information.\n\nPlease 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.\n\n# Need help?\n\nOpenThread support is available on GitHub:\n\n- Bugs and feature requests pertaining to the OpenThread on B91 Example — [submit to the openthread/ot-b91 Issue Tracker](https://github.com/openthread/ot-b91/issues)\n- OpenThread bugs and feature requests — [submit to the OpenThread Issue Tracker](https://github.com/openthread/openthread/issues)\n- Community Discussion - [ask questions, share ideas, and engage with other community members](https://github.com/openthread/openthread/discussions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenthread%2Fot-b91","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenthread%2Fot-b91","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenthread%2Fot-b91/lists"}