Commit 6be0dd7d authored by SouthWolf's avatar SouthWolf

Modify Arduino build config for IDE >= 1.5.7

Arduino IDE >= 1.5.7 Changed ARDUINO_PATH from `Contents/Resources/Java` to `Contents/Java`, mentioned in #2632
parent 8a6e6005
...@@ -21,8 +21,10 @@ end ...@@ -21,8 +21,10 @@ end
MRuby::CrossBuild.new("ArduinoDue") do |conf| MRuby::CrossBuild.new("ArduinoDue") do |conf|
toolchain :gcc toolchain :gcc
# Mac OS X # Mac OS X, Arduino IDE <= 1.5.6
# ARDUINO_PATH = '/Applications/Arduino.app/Contents/Resources/Java' # ARDUINO_PATH = '/Applications/Arduino.app/Contents/Resources/Java'
# Mac OS X, Arduino IDE >= 1.5.7
# ARDUINO_PATH = '/Applications/Arduino.app/Contents/Java'
# GNU Linux # GNU Linux
ARDUINO_PATH = '/opt/arduino' ARDUINO_PATH = '/opt/arduino'
BIN_PATH = "#{ARDUINO_PATH}/hardware/tools/g++_arm_none_eabi/bin" BIN_PATH = "#{ARDUINO_PATH}/hardware/tools/g++_arm_none_eabi/bin"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment