1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 12:05:21 +02:00

Bug 481747 - Final fix to get chipKIT working.

Change-Id: I94b99d42a9d1729ae6afd0f799931cd7c350ac86
This commit is contained in:
Doug Schaefer 2016-06-23 02:39:37 -05:00
parent 452d57aa7a
commit 01ae529864
2 changed files with 4 additions and 2 deletions

View file

@ -68,7 +68,7 @@ public class FullIntegration {
new URL("https://adafruit.github.io/arduino-board-index/package_adafruit_index.json"),
new URL("http://arduino.esp8266.com/stable/package_esp8266com_index.json"),
new URL("http://drazzy.com/package_drazzy.com_index.json"),
//new URL("https://github.com/chipKIT32/chipKIT-core/raw/master/package_chipkit_index.json"),
new URL("https://github.com/chipKIT32/chipKIT-core/raw/master/package_chipkit_index.json"),
};
ArduinoPreferences.setBoardUrlList(urls);
@ -83,6 +83,8 @@ public class FullIntegration {
skipBuild.add(arduinoManager.getBoard("arduino", "avr", "robotControl"));
skipBuild.add(arduinoManager.getBoard("arduino", "avr", "robotMotor"));
skipBuild.add(arduinoManager.getBoard("adafruit", "avr", "adafruit32u4"));
skipBuild.add(arduinoManager.getBoard("chipKIT", "pic32", "cerebot32mx7"));
skipBuild.add(arduinoManager.getBoard("chipKIT", "pic32", "OpenScope"));
// What is Microsoft doing?
skipBuild.add(arduinoManager.getBoard("Microsoft", "win10", "w10iotcore"));

View file

@ -226,7 +226,7 @@ public class ArduinoBuildConfiguration extends CBuildConfiguration implements Te
properties.put("build.arch", platform.getArchitecture().toUpperCase()); //$NON-NLS-1$
properties.put("build.path", "."); //$NON-NLS-1$ //$NON-NLS-2$
properties.put("build.core.path", //$NON-NLS-1$
platform.getInstallPath().resolve("core").resolve("{build.core}").toString()); //$NON-NLS-1$ //$NON-NLS-2$
platform.getInstallPath().resolve("cores").resolve("{build.core}").toString()); //$NON-NLS-1$ //$NON-NLS-2$
properties.put("build.system.path", platform.getInstallPath().resolve("system").toString()); //$NON-NLS-1$ //$NON-NLS-2$
properties.put("build.variant.path", //$NON-NLS-1$
platform.getInstallPath().resolve("variants").resolve("{build.variant}").toString()); //$NON-NLS-1$ //$NON-NLS-2$