1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-30 19:52:13 +01: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:
David A. Mellis 2009-03-13 14:37:44 +00:00
parent 673e2513b8
commit 1bd1284a8b

View File

@ -116,6 +116,10 @@ public class AvrdudeUploader extends Uploader {
if (!avrdude(params, fuses))
return false;
try {
Thread.sleep(1000);
} catch (InterruptedException e) {}
List bootloader = new ArrayList();
bootloader.add("-Uflash:w:" + "hardware" + File.separator + "bootloaders" + File.separator +
Preferences.get("boards." + Preferences.get("board") + ".bootloader.path") +