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:
@ -1672,10 +1672,16 @@ public class Sketch {
|
||||
|
||||
protected String upload(String buildPath, String suggestedClassName)
|
||||
throws RunnerException {
|
||||
|
||||
Uploader uploader;
|
||||
|
||||
// download the program
|
||||
//
|
||||
Uploader uploader = new AvrdudeUploader();
|
||||
if ("uisp".equals(Preferences.get("upload.application"))) {
|
||||
uploader = new UispUploader();
|
||||
} else {
|
||||
uploader = new AvrdudeUploader();
|
||||
}
|
||||
// macos9 now officially broken.. see PdeCompilerJavac
|
||||
//PdeCompiler compiler =
|
||||
// ((PdeBase.platform == PdeBase.MACOS9) ?
|
||||
|
Reference in New Issue
Block a user