hi Philippe Coval,
  I have followed following steps and it is failing at step 5 with the error ? 
can?t find file to patch at input line 4?. I have copied esp8266.patch as 
mentioned in below steps.
Please help
Thanks
Vishnu
==============================================================================================
STEPS to setup ESP8266 on linux machine for building CA code:

1) Going to the <PATH_TO_ESP8266_INSTALL_DIR> (any directory you want)

2) Clone the esp8266/Arduino repository into hardware/esp8266com/esp8266 
directory
            $ cd hardware
            $ mkdir esp8266com
            $ cd esp8266com
            $ git clone https://github.com/esp8266/Arduino.git esp8266

3) Download binary tools (you need Python 2.7)
            $ cd esp8266/tools
            $ python get.py

4) ONE TIME ONLY - ADDITIONAL LIBRARIES (Time)
            ESP8266 builds are dependent on latest Time library. Download it 
from here:
                        I. http://playground.arduino.cc/uploads/Code/Time.zip
            Place this library in the 
"<PATH_TO_ESP8266_INSTALL_DIR>/hardware/esp8266com/esp8266/libraries/Time" 
folder where other libraries are present.
                        [P.S - The Time library files path should be as follows 
"<PATH_TO_ESP8266_INSTALL_DIR>/hardware/esp8266com/esp8266/libraries/Time/{***files***}"]
            Some files in this library has windows style line endings, for 
patch to run properly, please execute following command:
                        cd 
<PATH_TO_ESP8266_INSTALL_DIR/hardware/esp8266com/esp8266/>
                        find ./libraries/Time/ -type f -exec dos2unix {} \;

5) ONE TIME ONLY - PATCH
            Complete patch has been provided at : 
"connectivity\lib\esp8266\esp8266_ld.patch"
                        Copy this patch file to "<PATH_TO_ESP8266_INSTALL_DIR>"
        To apply patch give the command :
                        patch -p1 < esp8266.patch
            To undo the patch give the command :
                        patch -R -p1 < esp8266.patch

6) Building IoTivity for ESP8266
                $ scons TARGET_OS=esp8266 
ESP8266_HOME=<PATH_TO_ESP8266_INSTALL_DIR>
========================================================================================

From: Philippe Coval [mailto:[email protected]]
Sent: Saturday, December 10, 2016 12:07 AM
To: Vishnu Bemre <vishnu.bemre at hcl.com>
Cc: Philippe Coval <philippe.coval at osg.samsung.com>; iotivity-dev at 
lists.iotivity.org
Subject: Re: [dev] ESP 8266 Support in IoTivity

On Fri, Dec 9, 2016 at 4:26 AM, Vishnu Bemre <vishnu.bemre at 
hcl.com<mailto:vishnu.bemre at hcl.com>> wrote:
hi Philippe Coval,
Thanks. I will try to spend time on this.

Great ! I can try to help if you're facing wall

I could see the code but unable to download it.

Do you see the "download"  menu on right of
https://gerrit.iotivity.org/gerrit/#/c/13315/
There you can download the code on the right base :
https://gerrit.iotivity.org/gerrit/changes/13315/revisions/7ec9b1f3ea5461e92da8a7f0e8c537979034eab1/archive?format=txz


Do I need any special permission for this?

you just need a linuxfoundation account to log it, it's free  !



--
--
https://wiki.tizen.org/wiki/User:Pcoval



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161212/2d87aa63/attachment.html>

Reply via email to