mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Removing parallel programming bootloader options, adding a upload.application preference to force use of uisp. Not flushing the serial port on bootloader burn.
This commit is contained in:
@ -65,6 +65,9 @@ public class AvrdudeUploader extends Uploader {
|
||||
if (!Preferences.getBoolean("upload.verify"))
|
||||
commandDownloader.add("-V");
|
||||
commandDownloader.add("-Uflash:w:" + buildPath + File.separator + className + ".hex:i");
|
||||
|
||||
flushSerialBuffer();
|
||||
|
||||
return uisp(commandDownloader);
|
||||
}
|
||||
|
||||
@ -119,8 +122,6 @@ public class AvrdudeUploader extends Uploader {
|
||||
}
|
||||
|
||||
public boolean uisp(Collection params) throws RunnerException {
|
||||
flushSerialBuffer();
|
||||
|
||||
List commandDownloader = new ArrayList();
|
||||
commandDownloader.add("avrdude");
|
||||
|
||||
|
Reference in New Issue
Block a user