From ba24a6ff4d624040e6316084e54b5ce4f93ece4a Mon Sep 17 00:00:00 2001 From: Thomas Kilian Date: Mon, 21 Sep 2015 20:41:44 +0200 Subject: [PATCH] Add path examples for both Mac IDE versions --- Arduino.mk | 7 ++++++- README.md | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Arduino.mk b/Arduino.mk index 561793d..eb94a3c 100644 --- a/Arduino.mk +++ b/Arduino.mk @@ -45,11 +45,16 @@ # that things are canonically arranged beneath the directories defined # above. # -# On the Mac you might want to set: +# On the Mac with IDE 1.0 you might want to set: # # ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java # ARDMK_DIR = /usr/local # +# On the Mac with IDE 1.5+ you might want to set: +# +# ARDUINO_DIR = /Applications/Arduino.app/Contents/Java +# ARDMK_DIR = /usr/local +# # On Linux, you might prefer: # # ARDUINO_DIR = /usr/share/arduino diff --git a/README.md b/README.md index 120d1da..19b0f0e 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ whilst [Blink](examples/Blink/Makefile) demonstrates the minimal settings requir Download a copy of this repo some where in your system or install it through a package. -On the Mac you might want to set: +On the Mac with IDE 1.0 you might want to set: ```make ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java @@ -144,6 +144,11 @@ On the Mac you might want to set: BOARD_TAG = mega2560 ``` +On the Mac with IDE 1.5+ it's like above but with + + ARDUINO_DIR = /Applications/Arduino.app/Contents/Java +``` + On Linux (if you have installed through package), you shouldn't need to set anything other than your board type and port: ```make