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.
OpenThread support is available on GitHub:
- Bugs and feature requests pertaining to the OpenThread on KW41Z Example — submit to the openthread/ot-kw41z 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