Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

Update ESP8266 library on Arduino IDE

Open odilonafonso opened this issue 10 years ago • 4 comments

Please, how can I update the esp8266 librarys on Ubuntu.

I did it (in January) :

<"git clone https://github.com/esp8266/Arduino.git esp8266">

Now I want update, but git does not clone over an existing directory.

odilonafonso avatar May 31 '16 14:05 odilonafonso

git pull in the esp8266 directory.

WereCatf avatar May 31 '16 15:05 WereCatf

Oh, and don't forget to run the get.py in the tools-directory to get the latest tools.

WereCatf avatar May 31 '16 15:05 WereCatf

Hi @WereCatf .. thanks for help.

I tried git pull. But....

git pull https://github.com/esp8266/Arduino.git esp8266
fatal: Not a git repository (or any of the parent directories): .git

For now, i did :

mv esp8266 esp8266old
git clone https://github.com/esp8266/Arduino.git esp8266

I know, is not the best solution !!!

odilonafonso avatar May 31 '16 15:05 odilonafonso

I said, inside the esp8266-directory. You tried to run git pull outside the directory, that's why you got an error. It's a lot easier and faster than doing a full clone every time.

WereCatf avatar May 31 '16 16:05 WereCatf