Skip to content

Commit 6c0b1d3

Browse files
authored
Merge pull request #1376 from RostakaGmfun/KAA-1571
KAA-1571: Extend documentation for Edison platform according to QA Review
2 parents 7ab238e + f8172ce commit 6c0b1d3

File tree

1 file changed

+11
-4
lines changed
  • doc/Programming-guide/Using-Kaa-endpoint-SDKs/C/SDK-Edison

1 file changed

+11
-4
lines changed

doc/Programming-guide/Using-Kaa-endpoint-SDKs/C/SDK-Edison/index.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Refer to [the Linux guide]({{root_url}}Programming-guide/Using-Kaa-endpoint-SDKs
2727

2828
tar -xvf edison-toolchain-20150120-linux64.tar.bz2
2929

30-
2. Install toolchain.
30+
1. Install the toolchain.
3131

3232
cd i686
3333
./install_script.sh
@@ -36,16 +36,23 @@ Refer to [the Linux guide]({{root_url}}Programming-guide/Using-Kaa-endpoint-SDKs
3636

3737
sed -i 's:+111:/111:' install_script.sh
3838

39-
The cross compilation toolchain is installed to `/opt/poky-edison/1.6.1/` directory by default. On some configurations the script installs the toolchain only to its working directory.
39+
The cross compilation toolchain is installed to the current directory by default. On some configurations the script installs the toolchain to `/opt/poky-edison/1.6.1/`.
40+
41+
1. Install [Cmake](https://cmake.org/):
42+
43+
sudo apt-get install cmake
4044

4145
# Create application
4246

4347
Now, dependencies are installed and it is time to create Kaa application.
4448
Since Edison is running Linux, you can refer to [the Linux guide]({{root_url}}Programming-guide/Using-Kaa-endpoint-SDKs/C/SDK-Linux/#c-sdk-build) for detailed process of application creation.
4549
But remember, you must specify correct compiler when compiling your Kaa application for Intel Edison:
4650

47-
cmake -DKAA_MAX_LOG_LEVEL=3 -DCMAKE_TOOLCHAIN_FILE=PATH_TO_KAA_SDK/toolchains/edison.cmake -DBUILD_TESTING=OFF ..
48-
make
51+
cmake -DKAA_MAX_LOG_LEVEL=3 -DCMAKE_TOOLCHAIN_FILE=PATH_TO_KAA_SDK/toolchains/edison.cmake -DEDISON_SDK_ROOT=PATH_TO_EDISON_SDK -DBUILD_TESTING=OFF ..
52+
make
53+
54+
>**NOTE:** `PATH_TO_KAA_SDK` should be replaced with the path to Kaa C SDK relative to the `build` directory
55+
and `PATH_TO_EDISON_SDK` should be replaced with the absolute path to the Edison SDK installation directory (see above).
4956

5057
For more details on how to build, upload and run your application on Edison board, you may refer to official [user guide](https://software.intel.com/en-us/intel-edison-board-user-guide).
5158

0 commit comments

Comments
 (0)