Updating Arduino ESP32

electronichamster
Posts: 3
Joined: Thu Mar 23, 2017 3:18 am

Updating Arduino ESP32

Postby electronichamster » Sun Mar 18, 2018 6:38 am

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!

chegewara
Posts: 2380
Joined: Wed Jun 14, 2017 9:00 pm

Re: Updating Arduino ESP32

Postby chegewara » Sun Mar 18, 2018 8:22 pm

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

electronichamster
Posts: 3
Joined: Thu Mar 23, 2017 3:18 am

Re: Updating Arduino ESP32

Postby electronichamster » Mon Mar 19, 2018 6:28 am

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.

Who is online

Users browsing this forum: shizacat and 64 guests