arduino-upload icon indicating copy to clipboard operation
arduino-upload copied to clipboard

Add command to Upload with Programmer

Open jordiorlando opened this issue 7 years ago • 2 comments

It would be great if we could upload using an external programmer, like in the Arduino IDE. I can see in arduino-upload.coffee that you have already implemented some aspects of port selection. I would change it myself but my CoffeeScript knowledge is pretty rusty and I can't for the life of me figure out how to add another command that sets the port to 'PROGRAMMER'.

jordiorlando avatar May 30 '18 22:05 jordiorlando

It does that already automatically if a programmer is detected, tested with an Atmel ICE (I don't have USB manufacturer/product IDs of the other)

Am 31. Mai 2018 00:46:25 MESZ schrieb Jordi Pakey-Rodriguez [email protected]:

It would be great if we could upload using an external programmer, like in the Arduino IDE. I can see in arduino-upload.coffee that you have already implemented some aspects of port selection. I would change it myself but my CoffeeScript knowledge is pretty rusty and I can't for the life of me figure out how to add another command that sets the port to 'PROGRAMMER'.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/Sorunome/arduino-upload/issues/44

Sorunome avatar May 31 '18 05:05 Sorunome

For some reason it doesn't work for me. I think the -useprogrammer flag might not be passed to arduino? OS: Arch Linux Board: Arduino Uno Programmer: Atmel Corp AVRISP mkII (USB VID:PID 03eb:2104) Port: usb

jordiorlando avatar May 31 '18 23:05 jordiorlando