Thanks for the info Sachin.

I?m able to compile the code. Can you let me know where I can find 
documentation for flashing the Arduino board and testing it.
Also from the compiled code,  libcoap.a is 300KB, liboctbstack.a is 600KB and 
SimpleClientServer is 500KB. The total flash memory size of Arduino mega 2560 
is 256KB. What are the binaries that will be flashed on the board. It will be 
of great help if you can point me some detailed documentation. And I appreciate 
your patience as I?m working on Arduino for the first time.

Thanks
Uday

From: Agrawal, Sachin [mailto:[email protected]]
Sent: Friday, March 13, 2015 11:22 AM
To: Pulleti, Uday Kiran; iotivity-dev at lists.iotivity.org
Subject: RE: Compiling for Arduino Mega 2560 and Due

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: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<mailto: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, Arduino version 
1.0.5<http://arduino.cc/en/Main/OldSoftwareReleases> and AVR-GCC version 4.5.3 
is needed.

For Arduino Due: Arduino Version 
1.5.7<http://arduino.cc/en/Main/OldSoftwareReleases> 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 
here<http://playground.arduino.cc/code/time>.
For Arduino Due, download the Time library from 
here<http://www.pjrc.com/teensy/td_libs_Time.html>.





Thanks

Uday

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150313/64414d68/attachment.html>

Reply via email to