Skip to content

Commit 02a1811

Browse files
committed
Merge pull request #390 from thomaskilian/master
Correct path ARDUINO_DIR for Macs Merged and thanks for the PR @thomaskilian
2 parents 0ce685b + cba5155 commit 02a1811

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

Arduino.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,16 @@
4545
# that things are canonically arranged beneath the directories defined
4646
# above.
4747
#
48-
# On the Mac you might want to set:
48+
# On the Mac with IDE 1.0 you might want to set:
4949
#
5050
# ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
5151
# ARDMK_DIR = /usr/local
5252
#
53+
# On the Mac with IDE 1.5+ you might want to set:
54+
#
55+
# ARDUINO_DIR = /Applications/Arduino.app/Contents/Java
56+
# ARDMK_DIR = /usr/local
57+
#
5358
# On Linux, you might prefer:
5459
#
5560
# ARDUINO_DIR = /usr/share/arduino

HISTORY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it
2020
- Fix: Make sure TARGET is set correctly when CURDIR contains spaces (https://github.com/svendahlstrand)
2121
- Fix: Ensure AVRDUDE_CONF is set when AVR_TOOLS_DIR is, not just on Windows (Issue #381) (https://github.com/sej7278)
2222
- Fix: Rename VENDOR to ARDMK_VENDOR to workaround tcsh issue (Issue #386) (https://github.com/sej7278)
23+
- Fix: Document OSX 1.0/1.6 ARDUINO_DIR differences (https://github.com/thomaskilian)
2324

2425
### 1.5 (2015-04-07)
2526
- New: Add support for new 1.5.x library layout (Issue #275) (https://github.com/lukasz-e)

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ whilst [Blink](examples/Blink/Makefile) demonstrates the minimal settings requir
134134

135135
Download a copy of this repo some where in your system or install it through a package.
136136

137-
On the Mac you might want to set:
137+
On the Mac with IDE 1.0 you might want to set:
138138

139139
```make
140140
ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
@@ -144,6 +144,12 @@ On the Mac you might want to set:
144144
BOARD_TAG = mega2560
145145
```
146146

147+
On the Mac with IDE 1.5+ it's like above but with
148+
149+
```
150+
ARDUINO_DIR = /Applications/Arduino.app/Contents/Java
151+
```
152+
147153
On Linux (if you have installed through package), you shouldn't need to set anything other than your board type and port:
148154

149155
```make

examples/MakefileExample/Makefile-example.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ARDMK_DIR = $(PROJECT_DIR)/Arduino-Makefile
1515
### ARDUINO_DIR
1616
### Path to the Arduino application and resources directory.
1717
### On OS X:
18-
ARDUINO_DIR = /Applications/Arduino.app/Contents/Resources/Java
18+
ARDUINO_DIR = /Applications/Arduino.app/Contents/Java
1919
### or on Linux: (remove the one you don't want)
2020
ARDUINO_DIR = /usr/share/arduino
2121

0 commit comments

Comments
 (0)