mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
No longer mangling microcontroller names before passing them to avrdude, as it seems to support the same ones as avr-gcc now.
This commit is contained in:
parent
d29c49a27b
commit
294abd0419
@ -165,10 +165,7 @@ public class AvrdudeUploader extends Uploader {
|
||||
commandDownloader.add("-q");
|
||||
commandDownloader.add("-q");
|
||||
}
|
||||
// XXX: quick hack to chop the "atmega" off of "atmega8" and "atmega168",
|
||||
// then shove an "m" at the beginning. won't work for attiny's, etc.
|
||||
commandDownloader.add("-pm" +
|
||||
Preferences.get("boards." + Preferences.get("board") + ".build.mcu").substring(6));
|
||||
commandDownloader.add("-p" + Preferences.get("boards." + Preferences.get("board") + ".build.mcu"));
|
||||
commandDownloader.addAll(params);
|
||||
|
||||
return executeUploadCommand(commandDownloader);
|
||||
|
Loading…
x
Reference in New Issue
Block a user