Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix up deploy to use new avrdudeuploader changes

  • Loading branch information...
commit 7b285efa4f56958b2ce26bd325e0b046f0b22743 1 parent 571f348
@tclem authored
View
4 src/main/java/com/github/tclem/arduinocli/MyBase.java
@@ -60,7 +60,6 @@ static public String init(String[] args) {
System.setProperty("user.dir", path); // Used by *nix
System.setProperty("javaroot", path); // Used by OS X
- //Preferences.set("sketchbook.path", "/Users/tclem/Documents/Arduino/");
Preferences.set("sketchbook.path", System.getProperty("arduino.sketchbook"));
loadHardware2(getHardwareFolder());
@@ -79,6 +78,9 @@ static public String init(String[] args) {
Preferences.set("serial.parity", "N");
Preferences.setInteger("serial.debug_rate", 9600);
+ Preferences.setBoolean("upload.verbose", true);
+ Preferences.set("programmer", "avrispmkii");
+
addLibraries();
return pdeFile;
View
2  src/main/java/com/github/tclem/arduinocli/MySketch.java
@@ -37,7 +37,7 @@ public void compile() throws RunnerException {
public void compileAndDeploy() throws RunnerException, SerialException {
compile();
- this.upload(tempBuildFolder, primaryClassName, true);
+ this.upload(tempBuildFolder, primaryClassName, false);
}
private void setField(String fieldName, Object value) {
Please sign in to comment.
Something went wrong with that request. Please try again.