Skip to content

openthread/ot-ifx

Repository files navigation

Build


Table of Contents


OpenThread on Infineon CYW30739 Examples

This repo contains example platform drivers for the Infineon CYW30739.

The example platform drivers are intended to present the minimal code necessary to support OpenThread.

Toolchain

Download and install the GNU toolchain for ARM Cortex-M.

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

$ cd <path-to-ot-ifx>
$ git submodule update --init
$ ./script/bootstrap

Building

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

$ cd <path-to-ot-ifx>
$ ./script/build platform=XXX board=YYY or ./script/build all

Flash Binaries

Enter Recovery Mode

Put the CYW30739 in to the recovery mode before running the flash script.

  1. Press and hold the RECOVERY button on the board.
  2. Press and hold the RESET button on the board.
  3. Release the RESET button.
  4. After one second, release the RECOVERY button.

Run Flash Script

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

In a Bash terminal, follow these instructions to flash the binary.

$ cd <path-to-cyw30739>
$ ./script/flash [-h] [-v] -p <serial port> -b <board> -d <device_type: ftd, mtd>

After flash done, the log would be as below:

wiced_platform_bt_management_callback: event(21).
wiced_platform_application_thread_handler
system_post_init
Free RAM sizes: 256168

Interact

  1. Connect the CYW30739 board UART pins to an external UART board pins.
    • CYW30739 D10 ↔️ UART TX
    • CYW30739 D11 ↔️ UART RX
  2. Open terminal to the external UART board (serial port settings: 3,000,000 8-N-1).
  3. Type help for list of commands.
  4. See OpenThread CLI Reference README.md to learn more.

Contributing

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.

License

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.

Need help?

OpenThread support is available on GitHub:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published