Arduino Forum

Using Arduino => Installation & Troubleshooting => Topic started by: marcmerlin on Apr 26, 2019, 04:07 am

Title: Running multiple versions of arduino IDE with different preferences.txt
Post by: marcmerlin on Apr 26, 2019, 04:07 am
I'd like to run 3 version of the arduino IDE, one for ESP32, one for teensy, and one for ESP8266 so that I can recompile for all 3 quickly without having to switch back and forth.
I can do that just fine right now, except they all share the same preferences.txt, which is annoying as they save settings on top of one another (CPU used, port to flash on, and last files used).

Is there an easy way to patch 2 of those IDEs so that they use something else than ~/.arduino15/preferences.txt ?
Title: Re: Running multiple versions of arduino IDE with different preferences.txt
Post by: pert on Apr 26, 2019, 04:37 am
The easiest way to do it is by running the Arduino IDEs in portable mode by creating a folder named "portable" under the Arduino IDE installation folder. That will cause the preferences.txt file to be saved under each IDEs portable folder.

More information:
https://www.arduino.cc/en/Guide/PortableIDE (https://www.arduino.cc/en/Guide/PortableIDE)
Title: Re: Running multiple versions of arduino IDE with different preferences.txt
Post by: marcmerlin on May 06, 2019, 04:11 am
This worked great, thank you.
Title: Re: Running multiple versions of arduino IDE with different preferences.txt
Post by: pert on May 06, 2019, 04:16 am
You're welcome. I'm glad if I was able to be of assistance. Enjoy!
Per