This directory contains example platform drivers for Qorvo gp712 on RPi.
This example uses the GNU GCC toolchain on the Raspberry Pi. To build on the Pi:
$ make tools
Note that you may need to install additional packages to make this build work, depending on your actual RPi OS version. The build process will complain if additional packages are required.
$ cd <path-to-openthread> $ ./script/bootstrap $ ./bootstrap $ REFERENCE_DEVICE=1 CLI_LOGGING=1 COMMISSIONER=1 JOINER=1 DHCP6_CLIENT=1 DHCP6_SERVER=1 BORDER_ROUTER=1 make -f examples/Makefile-gp712
After a successful build, the elf
files are found in <path-to-openthread>/output/gp712/bin
.
Make sure arm-linux-gnueabihf-gcc compiler installed in $PATH
cd <path-to-openthread> ./script/cmake-build gp712
After a successful build, binary files will be generated:
./build/gp712/examples/apps/ncp/ot-rcp ./build/gp712/examples/apps/cli/ot-cli-ftd
$ cd <path-to-openthread>/output/gp712/bin $ ./gp712-ot-cli-ftd
help
for list of commands.> help help channel childtimeout contextreusedelay extaddr extpanid ipaddr keysequence leaderweight masterkey mode netdata register networkidtimeout networkname panid ping prefix releaserouterid rloc16 route routerupgradethreshold scan start state stop