Running arduino-esp32 git version

OutOfLine
Posts: 52
Joined: Sat Feb 24, 2018 1:32 pm

Running arduino-esp32 git version

Postby OutOfLine » Thu Nov 26, 2020 6:52 pm

https://github.com/espressif/arduino-es ... manager.md gives instructions how to install arduino-esp32 by using the boards manager. It puts the code into ~/.arduino15/ but it does not clone the git repository there. But I want to use some of the nice git tools like 'git bisect' and need the repo for that.

So I follow https://github.com/espressif/arduino-es ... _ubuntu.md which clones the repository to ~/Arduino/hardware/espressif/esp32/

But how do I tell the Arduino IDE to use this code now and to let me select ESP32 boards?

Adding the additional boards manager URL in Preferences just puts the code into that strange-named ~/.arduino15/ hierarchy again and runs the code from there, not from my git clone...

I tried to combine the two methods, like cloning into ~/.arduino15/hardware/espressif/esp32/ but was not able to have a running system like this.

Can somebody show me how to do it?

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

Re: Running arduino-esp32 git version

Postby chegewara » Thu Nov 26, 2020 7:58 pm

You have to start from beginning, so uninstall esp32 from arduino IDE board manager.

I have installed arduino portable version in folder:

Code: Select all

~/Documents/arduino-1.8.13/
and i have git cloned arduino-esp32 to this folder:

Code: Select all

~/Documents/arduino-1.8.13/hardware/espressif/esp32
It is the path you have to keep, and it is all shown in this instruction:
https://github.com/espressif/arduino-es ... _ubuntu.md

OutOfLine
Posts: 52
Joined: Sat Feb 24, 2018 1:32 pm

solved: Running arduino-esp32 git version

Postby OutOfLine » Sat Nov 28, 2020 12:49 pm

The linux installation instructions on https://github.com/espressif/arduino-es ... _ubuntu.md instal the git repository below the ~/Arduino/ directory. I was told in https://github.com/espressif/arduino-esp32/issues/4585 to leave the arduino sketchbook path pointing to the same ~/Arduino/ directory and not reconfigure it in Preferences. Like this everything works fine :)
I hope this information will be included in the installing instructions.

@chegewara Thank you for your answer. I was not aware of the 'arduino portable version' and will try that out too.

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

Re: Running arduino-esp32 git version

Postby chegewara » Sun Nov 29, 2020 2:38 am

I am using portable arduino version on ubuntu 20.04, because installed with snap caused me so many problems, including problems with backtrace decoder. Eventually i could not install even simplest app with arduino ide after some time. With portable version i am happy now.

Who is online

Users browsing this forum: No registered users and 70 guests