This repo contains example platform drivers for the NXP(Freescale) Kinetis MKW41Z512 based on FRDM-KW41Z hardware platform.
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.
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-kw41z>
$ ./script/bootstrap
In a Bash terminal, follow these instructions to build the kw41z examples.
$ cd <path-to-ot-kw41z>
$ ./script/build
If the build completed successfully, the elf
files may be found in <path-to-ot-kw41z>/build/bin/
. You can convert them to bin
files using arm-none-eabi-objcopy
:
$ arm-none-eabi-objcopy -O binary ot-cli-ftd ot-cli-ftd.bin
Compiled binaries may be flashed onto the MKW41Z512 using drag-and-drop into the board's MSD Bootloader or the NXP(Freescale) Test Tool or JTAG interface. The NXP(Freescale) Test Tool provides a convenient method for flashing a MKW41Z512 via the J-Link.
- The CLI example uses a UART connection (serial port settings: 115200 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.
There are numerous avenues for OpenThread support:
- Bugs and feature requests — submit to the Issue Tracker
- Stack Overflow — post questions using the
openthread
tag - Google Groups — discussion and announcements at openthread-users
The openthread-users Google Group is the recommended place for users to discuss OpenThread and interact directly with the OpenThread team.