Page 1 of 1

Running arduino-esp32 git version

Posted: Thu Nov 26, 2020 6:52 pm
by OutOfLine
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?

Re: Running arduino-esp32 git version

Posted: Thu Nov 26, 2020 7:58 pm
by chegewara
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

solved: Running arduino-esp32 git version

Posted: Sat Nov 28, 2020 12:49 pm
by OutOfLine
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.

Re: Running arduino-esp32 git version

Posted: Sun Nov 29, 2020 2:38 am
by chegewara
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.