Page 1 of 1

Updating Arduino ESP32

Posted: Sun Mar 18, 2018 6:38 am
by electronichamster
Hi,
I followed the Arduino-ESP32 instructions for installing ESP32 support for Arduino. These instructions used Git Gui to clone. How do I update the repository (on windows)? I'm missing a lot of the Bluetooth development since I installed it way back when.

I thought I would be able to google the exact commands pretty easily, but that doesn't seem to be the case. Maybe I'm not understanding the full directions here:

https://github.com/espressif/arduino-es ... windows.md

Thanks!

Re: Updating Arduino ESP32

Posted: Sun Mar 18, 2018 8:22 pm
by chegewara
Its not easy to update arduino-esp32. You need manually update this file (copy/paste file content)
https://github.com/espressif/arduino-es ... plate.json

Code: Select all

(Arduino\hardware\espressif\esp32\package\package_esp32_index.template.json)
and then run get.exe or get.py from this folder:

Code: Select all

Arduino\hardware\espressif\esp32\tools
This way you will update toolchain.
Then from within this folder

Code: Select all

Arduino\hardware\espressif\esp32
run

Code: Select all

git pull
git submodule update --init

Re: Updating Arduino ESP32

Posted: Mon Mar 19, 2018 6:28 am
by electronichamster
I didn't know it was that messy. Makes me think it might be easier to do a clean install instead. I'd hate to re-install Arduino IDE, but there's not really anything out there for clean removal.