1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-19 09:42:11 +03:00

Moving hardware/targets to hardware/cores.

This commit is contained in:
David A. Mellis
2007-10-06 14:47:50 +00:00
parent 6541c74c6c
commit 97aafe935a
55 changed files with 7 additions and 7 deletions

View File

@ -1448,7 +1448,7 @@ public class Editor extends JFrame
try {
if (!sketch.handleRun(new Target(
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target"))))
File.separator + "cores", Preferences.get("build.target"))))
return;
//runtime = new Runner(sketch, Editor.this);
@ -2057,7 +2057,7 @@ public class Editor extends JFrame
//sketch.exportLibrary() : sketch.exportApplet();
boolean success = sketch.exportApplet(new Target(
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target")));
File.separator + "cores", Preferences.get("build.target")));
if (success) {
message("Done uploading.");
} else {

View File

@ -49,7 +49,7 @@ public class LibraryManager {
"libraries");
target = new Target(
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target"));
File.separator + "cores", Preferences.get("build.target"));
refreshLibraries();
}

View File

@ -78,7 +78,7 @@ public class ExportFolder {
// success may not be that useful, usually an ex is thrown
success = editor.sketch.exportApplet(new Target(
System.getProperty("user.dir") + File.separator + "hardware" +
File.separator + "targets", Preferences.get("build.target")));
File.separator + "cores", Preferences.get("build.target")));
if (!success) break;
//System.out.println("success was " + success);
}