Projects STRLCPY CatSniffer Files
🤬
56 lines | ISO-8859-1 | 2 KB

OpenThread on CC1352 Example

This directory contains example platform drivers for the Texas Instruments CC1352R1.

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. Consult the SimpleLink CC26X2R1 SDK for more development option. The platform drivers were built for the CC1352R1 LAUNCHXL, usage on other boards with a cc1352r1 may require changes to the peripheral drivers.

Toolchain

Building the examples for the cc1352 requires GNU AutoConf, GNU AutoMake, Python, and the ARM gcc toolchain.

With the exception of the arm toolchain, most of these tools are installed by default on modern Posix systems. It is recommended to setup a Linux virtual machine for building on a Windows host system. For help setting up VirtualBox with Ubuntu, consult this community help wiki article.

In a Bash terminal, follow these instructions to install the GNU toolchain and other dependencies.

$ cd <path-to-ot-cc13x2-cc26x2>
$ ./script/bootstrap

Building

In a Bash terminal, follow these instructions to build the cc1352 examples.

$ cd <path-to-ot-cc13x2-cc26x2>
$ ./script/build -DTI_PLATFORM=cc1352

Flash Binaries

If the build completed successfully, the elf files may be found in <path-to-ot-cc13x2-cc26x2>/build/bin/.

Flash the images with Uniflash. Make sure to deselect the binary check-box, Uniflash assumes a file without an extension is a binary file.

Interact

  1. Open terminal to the com port associated with the cc1352 UART (serial port settings: 115200 8-N-1).
  2. Type help for list of commands.
  3. See OpenThread CLI Reference README.md to learn more.
Please wait...
Page is in error, reload to recover