User Tools

Site Tools


iotivity_porting_to_arm_based_platforms

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
iotivity_porting_to_arm_based_platforms [2017/12/04 15:43]
Phil Coval
iotivity_porting_to_arm_based_platforms [2017/12/30 15:57] (current)
Mats Wichmann [The procedure to port IoTivity to arm based platforms is provided here]
Line 3: Line 3:
 =====The procedure to port IoTivity to arm based platforms is provided here===== =====The procedure to port IoTivity to arm based platforms is provided here=====
  
-1) Download and install an ARM toolchain (available at: https://​developer.arm.com/​open-source/​gnu-toolchain/​gnu-rm/​downloads,​ or may be packaged for certain systems - Fedora has packages named arm-none-eabi-*)+1) Download and install an ARM toolchain (tarball or zipfile ​available at: https://​developer.arm.com/​open-source/​gnu-toolchain/​gnu-rm/​downloads,​ or it may be packaged for certain systems - Fedora has packages named arm-none-eabi-*)
  
-2) Keep track of the path to the toolchain, and whether the commands have a prefix. These will become the TC_PATH TC_PREFIX used in step 6 below. ​Example+2) Keep track of the path to the toolchain, and whether the commands have a prefix. These will become the TC_PATH ​and TC_PREFIX used in step 6 below. ​Here's an example
-    TC_PREFIX=arm-none-eabi- TC_PATH=/opt/gcc-arm-none-eabi-6-2017-q2-update/bin+    TC_PREFIX=arm-none-eabi- TC_PATH=gcc-arm-none-eabi-7-2017-q4-major/bin
     ​     ​
-3) Download the Boost libraries from internet ​and place it in iotivity/​extlibs/​boost/​. Update the CPPPATH for BOOST header in **iotivity\build_common\linux\SConscript** ​   ​+3) Download the Boost libraries from the Internet ​and place it in iotivity/​extlibs/​boost/​. Update the CPPPATH for BOOST header in **iotivity/build_common/linux/SConscript** ​   ​
        
 {{:​boost.png?​200|}} {{:​boost.png?​200|}}
  
-4) Download the UUID Header/​Libraries for arm architecture from Internet or from link{{:​uuid-arm.zip|}}. Place the UUID Headers/​Libraries inside IoTivity folder **(For ​Eg: iotivity/​extlibs/​)**. Update the CPPPATH/​LIBPATH for UUID Headers/​Libraries in required SConscript+4) Download the UUID Header/​Libraries for arm architecture from the Internet or from link{{:​uuid-arm.zip|}}. Place the UUID Headers/​Libraries inside IoTivity folder **(For ​example: iotivity/​extlibs/​)**. Update the CPPPATH/​LIBPATH for UUID Headers/​Libraries in required SConscript
    For E.g.: env.AppendUnique(CPPPATH = [ '<​uuid header path>'​])    For E.g.: env.AppendUnique(CPPPATH = [ '<​uuid header path>'​])
              ​env.AppendUnique(LIBPATH =  ['<​uuid Library Path>'​])              ​env.AppendUnique(LIBPATH =  ['<​uuid Library Path>'​])
iotivity_porting_to_arm_based_platforms.txt · Last modified: 2017/12/30 15:57 by Mats Wichmann