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:
@ -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")) {
|
||||
|
Reference in New Issue
Block a user