I’m trying to switch to platformIO from the Arduino IDE and am running into an issue uploading. Setup is with an Arduino Nano, connected via miniUSB cable, just trying to upload Blink.cpp. Building succeeds in ~1sec. But when I hit Upload, everything seems okay, until it hits the line: “Uploading .pio\build\nanoatmega328\firmware.hex”
It just sticks indefintely.
platformio.ini:
[env:nanoatmega328]
platform = atmelavr
framework = arduino
board = nanoatmega328
I tried using an Uno and its USB cable, and the program uploaded quickly (swapped the platformio.ini accordingly). I also tried uploading to the Nano via the Arduino IDE, and that worked perfectly fine with the same USB cable and port (COM15). Swapping the MiniUSB cable changed nothing. Using a different Nano still has the problem, albeit slightly different:
Any help would be greatly appreciated!