arduino: make avrdude command line compatible with Windows
On Windows, it is common that there is a colon in the path. avrdude will treat that as a separator and everything behind it as the file format specifier instead of defaulting to Intel hex format. By explicitly specifying the Intel hex format (with `:i`), this issue should be fixed.
Этот коммит содержится в:
родитель
e17a2e6776
коммит
4c0ebb5b41
1 изменённых файлов: 1 добавлений и 1 удалений
|
@ -15,5 +15,5 @@
|
||||||
"targets/avr.S",
|
"targets/avr.S",
|
||||||
"src/device/avr/atmega328p.s"
|
"src/device/avr/atmega328p.s"
|
||||||
],
|
],
|
||||||
"flash-command": "avrdude -c arduino -p atmega328p -P {port} -U flash:w:{hex}"
|
"flash-command": "avrdude -c arduino -p atmega328p -P {port} -U flash:w:{hex}:i"
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче