Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By murray
#54481 Hi there.

I've been developing for the esp8266 and Arduino successfully for some time, but now that I'm trying to use WifiSecureClient to do rest over SSL and it seems I need the latest update... so I updated the Arduino IDE to 1.6.11 and then tried to use git to update the esp8266 install to use the latest (https://github.com/esp8266/Arduino) software. When I follow the instructions I get an error saying "fatal: destination path 'esp8266' already exists and is not an empty directory." as show below.

Code: Select allC:\Program Files (x86)\Arduino\hardware>dir
 Volume in drive C is NewBoot
 Volume Serial Number is B423-22D2

 Directory of C:\Program Files (x86)\Arduino\hardware

09/04/2016  06:12 PM    <DIR>          .
09/04/2016  06:12 PM    <DIR>          ..
09/03/2016  04:51 PM    <DIR>          arduino
09/04/2016  06:12 PM    <DIR>          esp8266com
08/17/2016  09:41 AM             6,349 package_index_bundled.json
08/17/2016  09:41 AM             7,194 platform.keys.rewrite.txt
08/17/2016  09:41 AM               936 platform.txt
09/03/2016  04:51 PM    <DIR>          tools
               3 File(s)         14,479 bytes
               5 Dir(s)  114,341,609,472 bytes free

C:\Program Files (x86)\Arduino\hardware>cd esp8266com

C:\Program Files (x86)\Arduino\hardware\esp8266com>git clone https://github.com/esp8266/Arduino.git esp8266
fatal: destination path 'esp8266' already exists and is not an empty directory.


Where is the 'esp8266' destination path? As you can see in the listing above, there is no such directory. I've tried uninstalling the esp8266 using Boards Manager, still no luck. Where is this esp8266 destination path and how do you update? As an alternative method I downloaded Arduino-master.zip, but I am unsure where to extract it to. Can someone tell me how you update to the latest?
User avatar
By krzychb
#54489 Hi @murray,

You did dir of of C:\Program Files (x86)\Arduino\hardware
Git is complaining about C:\Program Files (x86)\Arduino\hardware\esp8266com

Please see the directory structure under https://github.com/esp8266/Arduino/blob ... ructions-1

I would delete contents of C:\Program Files (x86)\Arduino\hardware\esp8266com and start over.