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

@ -72,7 +72,7 @@ public class UispUploader extends Uploader {
return uisp(commandDownloader);
}
public boolean burnBootloaderAVRISP() throws RunnerException {
public boolean burnBootloaderAVRISP(String target) throws RunnerException {
List commandDownloader = new ArrayList();
commandDownloader.add("-dprog=" + Preferences.get("bootloader.programmer"));
commandDownloader.add(
@ -83,7 +83,7 @@ public class UispUploader extends Uploader {
return burnBootloader(commandDownloader);
}
public boolean burnBootloaderParallel() throws RunnerException {
public boolean burnBootloaderParallel(String target) throws RunnerException {
List commandDownloader = new ArrayList();
commandDownloader.add("-dprog=dapa");
commandDownloader.add("-dlpt=" + Preferences.get("parallel.port"));