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

Now have uploading working with the Boards menu. Improved serial port error messages.

This commit is contained in:
David A. Mellis
2007-10-06 20:26:45 +00:00
parent 1f35dce6a8
commit c78c1efe18
15 changed files with 218 additions and 139 deletions

View File

@ -78,7 +78,8 @@ 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 + "cores", Preferences.get("build.target")));
File.separator + "cores",
Preferences.get("boards." + Preferences.get("board") + ".build.core")));
if (!success) break;
//System.out.println("success was " + success);
}