This is documentation for the old, first-generation Kaa platform v0.x.
Next generation Kaa Enterprise IoT platform is now available! Try it free with a 30-days trial.
Kaa Enterprise documentation is here.
. . .

BeagleBone

This guide explains how to cross-compile Kaa C SDK for BeagleBone or BeagleBone Black. Alternatively, you can build the Kaa C SDK directly on the BeagleBone board. For more information, see Linux guide for Kaa C SDK.

NOTE: This guide is verified against:

Install the toolchain by running the below commands on the host machine.

mkdir bb_root && cd bb_root
wget -c https://releases.linaro.org/components/toolchain/binaries/5.3-2016.02/arm-linux-gnueabihf/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz
tar xf gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf.tar.xz
export TOOLCHAIN_PATH=$(pwd)/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin

After you installed the required dependencies and built the C SDK, you can build and run your Kaa application.

Since BeagleBone (BeagleBone Black) runs on Linux, you can use the Linux guide to build and run your application.

NOTE: Make sure to specify a CMake C Compiler when compiling your Kaa application for BeagleBone.

cmake -DKAA_MAX_LOG_LEVEL=3 -DCMAKE_C_COMPILER="$TOOLCHAIN_PATH/arm-linux-gnueabihf-gcc" -DBUILD_TESTING=OFF ..
make