mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-07 00:04:36 +03:00
Upping version to 0015 and going back to use of core.a in build process.
This commit is contained in:
@@ -53,8 +53,8 @@ import processing.core.*;
|
||||
* files and images, etc) that comes from that.
|
||||
*/
|
||||
public class Base {
|
||||
static final int VERSION = 14;
|
||||
static final String VERSION_NAME = "0014";
|
||||
static final int VERSION = 15;
|
||||
static final String VERSION_NAME = "0015";
|
||||
|
||||
/**
|
||||
* Path of filename opened on the command line,
|
||||
|
@@ -172,9 +172,9 @@ public class Compiler implements MessageConsumer {
|
||||
}
|
||||
|
||||
baseCommandLinker.addAll(sketchObjectNames);
|
||||
baseCommandLinker.addAll(targetObjectNames);
|
||||
//baseCommandLinker.add(runtimeLibraryName);
|
||||
//baseCommandLinker.add("-L" + buildPath);
|
||||
//baseCommandLinker.addAll(targetObjectNames);
|
||||
baseCommandLinker.add(runtimeLibraryName);
|
||||
baseCommandLinker.add("-L" + buildPath);
|
||||
baseCommandLinker.add("-lm");
|
||||
|
||||
firstErrorFound = false; // haven't found any errors yet
|
||||
@@ -200,12 +200,12 @@ public class Compiler implements MessageConsumer {
|
||||
return false;
|
||||
}
|
||||
|
||||
// for(int i = 0; i < targetObjectNames.size(); i++) {
|
||||
// List commandAR = new ArrayList(baseCommandAR);
|
||||
// commandAR.add(targetObjectNames.get(i));
|
||||
// if (execAsynchronously(commandAR) != 0)
|
||||
// return false;
|
||||
// }
|
||||
for(int i = 0; i < targetObjectNames.size(); i++) {
|
||||
List commandAR = new ArrayList(baseCommandAR);
|
||||
commandAR.add(targetObjectNames.get(i));
|
||||
if (execAsynchronously(commandAR) != 0)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (execAsynchronously(baseCommandLinker) != 0)
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user