Skip to content

Instantly share code, notes, and snippets.

@chrylarson
Last active June 11, 2016 12:59
Show Gist options
  • Save chrylarson/57336b9d5117e983c0e8 to your computer and use it in GitHub Desktop.
Save chrylarson/57336b9d5117e983c0e8 to your computer and use it in GitHub Desktop.
How to setup Iotivity on Ubuntu 14.04 to build for arduino using scons
Setup your environment and then clone the Iotivity git repo follow the instructions to the beginning of step 5
https://www.iotivity.org/documentation/linux/getting-started
$ sudo apt-get install libboost-dev libboost-program-options-dev libexpat1-dev libboost-thread-dev uuid-dev
$ sudo apt-get install dos2unix
cd to Iotivity root directory
$ scons TARGET_OS=arduino TARGET_ARCH=avr BOARD=megaADK
$ export LD_LIBRARY_PATH=/home/ubuntu/iotivity/out/linux/x86_64/release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment