1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

Modified bootloader burning: AvrdudeUploader now can burn bootloader with avrispmkii (but not parallel port), and the bootloader burning commands take a target. And the menu items are there, but wrong.

This commit is contained in:
David A. Mellis
2007-07-18 22:17:35 +00:00
parent f64b201e73
commit d0c55e79c7
4 changed files with 118 additions and 67 deletions

View File

@ -58,9 +58,9 @@ public abstract class Uploader implements MessageConsumer {
public abstract boolean uploadUsingPreferences(String buildPath, String className)
throws RunnerException;
public abstract boolean burnBootloaderAVRISP() throws RunnerException;
public abstract boolean burnBootloaderAVRISP(String target) throws RunnerException;
public abstract boolean burnBootloaderParallel() throws RunnerException;
public abstract boolean burnBootloaderParallel(String target) throws RunnerException;
protected void flushSerialBuffer() {
// Cleanup the serial buffer