mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-02 13:24:12 +01:00
Avrdude isn't using cygwin, so it uses normal COM1 device names, not /dev/com1
This commit is contained in:
parent
3d1ebb5e64
commit
30537b36b9
@ -54,10 +54,7 @@ public class AvrdudeUploader extends Uploader {
|
|||||||
// avrdude doesn't need to be told the address of the parallel port
|
// avrdude doesn't need to be told the address of the parallel port
|
||||||
//commandDownloader.add("-dlpt=" + Preferences.get("parallel.port"));
|
//commandDownloader.add("-dlpt=" + Preferences.get("parallel.port"));
|
||||||
} else {
|
} else {
|
||||||
commandDownloader.add(
|
commandDownloader.add("-P" + Preferences.get("serial.port"));
|
||||||
"-P" + (Base.isWindows() ?
|
|
||||||
"/dev/" + Preferences.get("serial.port").toLowerCase() :
|
|
||||||
Preferences.get("serial.port")));
|
|
||||||
commandDownloader.add(
|
commandDownloader.add(
|
||||||
"-b" + Preferences.getInteger("serial.download_rate"));
|
"-b" + Preferences.getInteger("serial.download_rate"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user