Hi Uday,


I assume you are trying to build Iotivity stack from master branch.

Download arduino-1.5.7.

Download Time library from here (http://www.pjrc.com/teensy/td_libs_Time.html) 
and unzip in <Arduino-1.5.7>/libraries folder.



For Arduino Mega2560 with ArduinoEthernet Shield:

scons ARDUINO_HOME=<arduino-1.5.7 directory path> TARGET_OS=arduino BOARD=mega 
NET=Ethernet



Thanks

Sachin



From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Pulleti, Uday 
Kiran
Sent: Thursday, March 12, 2015 8:32 AM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] Compiling for Arduino Mega 2560 and Due



Hi,

I want to compile the Arduino samples for Mega 2560 and Due. As mentioned in 
the previous email at 
http://lists.iotivity.org/pipermail/iotivity-dev/2015-March/000451.html, the 
getting started page is not up to date. But even the command is not working $ 
scons TARGET_OS=arduino TARGET_ARCH=avr BOARD=mega2560. Can you point me to the 
steps to compile for Mega 2560 and Due. Does these two statements in the 
getting started page still hold good 

?For Arduino ATMega 2560,  <http://arduino.cc/en/Main/OldSoftwareReleases> 
Arduino version 1.0.5 and AVR-GCC version 4.5.3 is needed.

For Arduino Due:  <http://arduino.cc/en/Main/OldSoftwareReleases> Arduino 
Version 1.5.7 and AVR-GCC version 4.8.3 is needed?


or do we need any other specific version of AVR-GCC. Appreciate if you can let 
me know if there is any change with Time library 


Arduino Time Library


Download the Arduino Time Library and unzip it in the Arduino directory at 
<ARDUINO_DIR>/libraries/TIME. 
For Arduino ATMega 2560, download the Time library from  
<http://playground.arduino.cc/code/time> here.
For Arduino Due, download the Time library from  
<http://www.pjrc.com/teensy/td_libs_Time.html> here.



Thanks
Uday



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150313/3cde9846/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7768 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150313/3cde9846/attachment.p7s>

Reply via email to