From 51238fba5040e31559d036ddf560adb3ab5f5d25 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Wed, 2 Sep 2020 13:26:15 +0200 Subject: [PATCH] arduino-mega2560: fix flashing on Windows Without the extra `:i` at the end, avrdude will misinterpret the colon in Windows paths. --- targets/arduino-mega2560.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/arduino-mega2560.json b/targets/arduino-mega2560.json index 792ede40..b1e550da 100644 --- a/targets/arduino-mega2560.json +++ b/targets/arduino-mega2560.json @@ -4,5 +4,5 @@ "ldflags": [ "-Wl,--defsym=_bootloader_size=8192" ], - "flash-command":"avrdude -c wiring -b 115200 -p atmega2560 -P {port} -U flash:w:{hex} -v -D" + "flash-command":"avrdude -c wiring -b 115200 -p atmega2560 -P {port} -U flash:w:{hex}:i -v -D" }