From abeab51d00e7567c71f16d6c72ccb6826591cd6f Mon Sep 17 00:00:00 2001 From: Raqbit Date: Tue, 27 Apr 2021 23:05:16 +0200 Subject: [PATCH] Add Arduino Nano w/ New Bootloader target Since 2018, Arduino Nanos and clones are sold with a new bootloader, which requires programming at 115200 baud instead of the 57600 baud required by the old one. --- targets/arduino-nano-new.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 targets/arduino-nano-new.json diff --git a/targets/arduino-nano-new.json b/targets/arduino-nano-new.json new file mode 100644 index 00000000..78c990f5 --- /dev/null +++ b/targets/arduino-nano-new.json @@ -0,0 +1,4 @@ +{ + "inherits": ["arduino-nano"], + "flash-command": "avrdude -c arduino -p atmega328p -b 115200 -P {port} -U flash:w:{hex}:i" +}