Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

You can specify the arduino tools directory with the environment variabl... #239

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ino/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ class Environment(dict):
if platform.system() == 'Darwin':
arduino_dist_dir_guesses.insert(0, '/Applications/Arduino.app/Contents/Resources/Java')

if os.environ.get('ARDUINO_HOME') is not None:
arduino_dist_dir_guesses.insert(0, os.environ['ARDUINO_HOME'])

default_board_model = 'uno'
ino = sys.argv[0]

Expand Down