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.
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
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
Put the CYW30739 in to the recovery mode before running the flash script.
- Press and hold the
RECOVERY
button on the board. - Press and hold the
RESET
button on the board. - Release the
RESET
button. - After one second, release the
RECOVERY
button.
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
- Connect the CYW30739 board UART pins to an external UART board pins.
CYW30739 D10
↔️ UART TX
CYW30739 D11
↔️ UART RX
- Open terminal to the external UART board (serial port settings: 3,000,000 8-N-1).
- Type
help
for 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 Infineon CYW30739 Examples — submit to the openthread/ot-ifx 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