1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Added Contributed Platforms.

- TargetPackage / TargetPlatform / TargetBoard are now interfaces
- Contributions installed are detected during init time
- Tools must be referenced through "path" property (automatically set
  by the IDE to the contributed tool path)
This commit is contained in:
Cristian Maglie
2014-05-16 00:53:57 +02:00
committed by Federico Fissore
parent 183c386e8c
commit 100dd21bd0
21 changed files with 1475 additions and 285 deletions

View File

@ -91,6 +91,15 @@ public class Base {
splashScreenHelper.splashText(_("Loading configuration..."));
try {
guardedMain(args);
} catch (Throwable e) {
e.printStackTrace(System.err);
System.exit(255);
}
}
static public void guardedMain(String args[]) throws Exception {
BaseNoGui.initLogger();
BaseNoGui.notifier = new GUIUserNotifier();

View File

@ -19,7 +19,7 @@ public class UploaderFactoryTest extends AbstractWithPreferencesTest {
@Before
public void setUp() throws Exception {
targetPackage = new TargetPackage("arduino", new File(".", "hardware/arduino/"));
targetPackage = new LegacyTargetPackage("arduino", new File(".", "hardware/arduino/"));
}
@Test