1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-17 22:23:10 +03:00

In Linux, passing -C tools/avrdude.conf to avrdude.

This commit is contained in:
David A. Mellis
2007-08-06 23:07:43 +00:00
parent 963fde6c90
commit c52bf007bb

View File

@ -136,6 +136,8 @@ public class AvrdudeUploader extends Uploader {
else if(Base.isWindows()) {
String userdir = System.getProperty("user.dir") + File.separator;
commandDownloader.add("-C" + userdir + "tools/avr/etc/avrdude.conf");
} else {
commandDownloader.add("-C" + "tools/avrdude.conf");
}
if (Preferences.getBoolean("upload.verbose")) {