Skip to content

Commit fac81ef

Browse files
committed
Windows 64 bit and arduino IDE 1.5.8 need the arduino in the path.
1 parent 5ff6893 commit fac81ef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/tools/ArduinoHelpers.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,9 @@ private static void setTheEnvironmentVariablesSetTheDefaults(IContributedEnviron
572572

573573
// some glue to make it work
574574
String extraPathForOS = "";
575-
if (Platform.getOS().equals(Platform.OS_WIN32)) {
576-
extraPathForOS = "${PathDelimiter}${" + ENV_KEY_ARDUINO_PATH + "}/hardware/tools/avr/utils/bin";
575+
if (Platform.getWS().equals(Platform.WS_WIN32)) {
576+
extraPathForOS = "${PathDelimiter}${" + ENV_KEY_ARDUINO_PATH + "}/hardware/tools/avr/utils/bin${PathDelimiter}${" + ENV_KEY_ARDUINO_PATH
577+
+ "}";
577578
}
578579
var = new EnvironmentVariable("PATH", "${A.COMPILER.PATH}${PathDelimiter}${" + ENV_KEY_build_generic_path + "}" + extraPathForOS
579580
+ "${PathDelimiter}${PATH}");

0 commit comments

Comments
 (0)