1

I'm using Arduino IDE for a variety of projects.

The libraries and boards used in different projects are different and I would like to have a customized environment for each project.

Eg: In a project involving an Arduino, I don't want all the ESP boards or Adafruit libraries that I might use on another project.

Python has something called Virtual Environments, where you can switch between environments and have a different setup of libraries and configurations for each project.

Is there something like this I can configure for Arduino?

4
  • Development environment like PlatformIO allow you to have your dependency libraries installed on per-project basis. It can be installed on Atom Editor or VSCode as a plug-in. Commented Jan 29, 2021 at 0:05
  • in Arduino IDE you can set the sketchbook folder Commented Jan 29, 2021 at 5:22
  • you can use GIT; all the config is "rest"ful; lives in files. Commented Jan 29, 2021 at 5:25
  • 1
    Has someone ever tried to run the Arduino-cli in a docker container? Just one crazy thought Commented Jan 29, 2021 at 8:43

1 Answer 1

-1

Sorry, but in Arduino IDE no such functionality as virtual enviroment. To add your own version of libraries to each projects you may only add it (libraries) directly to a project dir.

1
  • in Arduino IDE you can select the sketchbook folder. it contains the sketches, libraries, custom hardware specs. that is a much cleaner solution then adding libraries to sketch. Commented Jan 30, 2021 at 7:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.