mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-19 09:42:11 +03:00
Adding a one-second delay between the two steps in burning the bootloader. This fixes bootloader burning with an AVRISP mkII on my Windows Vista machine.
This commit is contained in:
@ -116,6 +116,10 @@ public class AvrdudeUploader extends Uploader {
|
|||||||
if (!avrdude(params, fuses))
|
if (!avrdude(params, fuses))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
try {
|
||||||
|
Thread.sleep(1000);
|
||||||
|
} catch (InterruptedException e) {}
|
||||||
|
|
||||||
List bootloader = new ArrayList();
|
List bootloader = new ArrayList();
|
||||||
bootloader.add("-Uflash:w:" + "hardware" + File.separator + "bootloaders" + File.separator +
|
bootloader.add("-Uflash:w:" + "hardware" + File.separator + "bootloaders" + File.separator +
|
||||||
Preferences.get("boards." + Preferences.get("board") + ".bootloader.path") +
|
Preferences.get("boards." + Preferences.get("board") + ".bootloader.path") +
|
||||||
|
Reference in New Issue
Block a user