mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-19 13:54:23 +01:00
In Linux, passing -C tools/avrdude.conf to avrdude.
This commit is contained in:
parent
963fde6c90
commit
c52bf007bb
@ -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")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user