{"id":19639989,"url":"https://github.com/openthread/ot-cc2538","last_synced_at":"2025-04-28T11:30:57.711Z","repository":{"id":37083471,"uuid":"318585801","full_name":"openthread/ot-cc2538","owner":"openthread","description":"OpenThread on Texas Instruments CC2538 example.","archived":false,"fork":false,"pushed_at":"2025-04-22T14:40:05.000Z","size":872,"stargazers_count":6,"open_issues_count":0,"forks_count":5,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-22T15:44:30.372Z","etag":null,"topics":["openthread"],"latest_commit_sha":null,"homepage":"https://openthread.io/","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":"2020-12-04T17:17:44.000Z","updated_at":"2025-04-22T14:40:02.000Z","dependencies_parsed_at":"2024-01-17T00:37:31.575Z","dependency_job_id":"a167200b-116b-495c-84c4-953541eb5c1f","html_url":"https://github.com/openthread/ot-cc2538","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-cc2538","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openthread%2Fot-cc2538/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openthread%2Fot-cc2538/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openthread%2Fot-cc2538/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openthread","download_url":"https://codeload.github.com/openthread/ot-cc2538/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251304741,"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.508Z","updated_at":"2025-04-28T11:30:55.749Z","avatar_url":"https://github.com/openthread.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build][ot-gh-action-build-svg]][ot-gh-action-build]\n\n[ot-gh-action-build]: https://github.com/openthread/ot-cc2538/actions?query=workflow%3ABuild+branch%3Amain+event%3Apush\n[ot-gh-action-build-svg]: https://github.com/openthread/ot-cc2538/workflows/Build/badge.svg?branch=main\u0026event=push\n\n---\n\n# OpenThread on CC2538 Example\n\nThis repo contains example platform drivers for the [Texas Instruments CC2538][cc2538].\n\n[cc2538]: http://www.ti.com/product/CC2538\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\n## Toolchain\n\nDownload and install the [GNU toolchain for ARM Cortex-M][gnu-toolchain].\n\n[gnu-toolchain]: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm\n\nIn a Bash terminal, follow these instructions to install the GNU toolchain and other dependencies.\n\n```bash\n$ cd \u003cpath-to-ot-cc2538\u003e\n$ ./script/bootstrap\n```\n\n## Building\n\nIn a Bash terminal, follow these instructions to build the cc2538 examples.\n\n```bash\n$ cd \u003cpath-to-ot-cc2538\u003e\n$ ./script/build\n```\n\n## Flash Binaries\n\nIf the build completed successfully, the `elf` files may be found in `\u003cpath-to-cc2538\u003e/build/bin/`.\n\nTo flash the images with [Flash Programmer 2][ti-flash-programmer-2], the files must have the `*.elf` extension.\n\n```bash\n$ cd \u003cpath-to-cc2538\u003e/build/bin/cli/ot-cli-ftd\n$ cp ot-cli-ftd ot-cli-ftd.elf\n```\n\nTo load the images with the [serial bootloader][ti-cc2538-bootloader], the images must be converted to `bin`. This is done using `arm-none-eabi-objcopy`\n\n```bash\n$ cd \u003cpath-to-cc2538\u003e/build/bin/cli/ot-cli-ftd\n$ arm-none-eabi-objcopy -O binary ot-cli-ftd ot-cli-ftd.bin\n```\n\nThe [cc2538-bsl.py script][cc2538-bsl-tool] provides a convenient method for flashing a CC2538 via the UART. To enter the bootloader backdoor for flashing, hold down SELECT for CC2538DK (corresponds to logic '0') while you press the Reset button.\n\n[ti-flash-programmer-2]: http://www.ti.com/tool/flash-programmer\n[ti-cc2538-bootloader]: http://www.ti.com/lit/an/swra466a/swra466a.pdf\n[cc2538-bsl-tool]: https://github.com/JelmerT/cc2538-bsl\n\n## Interact\n\n1. Open terminal to `/dev/ttyUSB1` (serial port settings: 115200 8-N-1).\n2. Type `help` for 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 CC2538 Example — [submit to the openthread/ot-cc2538 Issue Tracker](https://github.com/openthread/ot-cc2538/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-cc2538","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenthread%2Fot-cc2538","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenthread%2Fot-cc2538/lists"}