Sorunome / arduino-upload

Atom Package for those who don't like the Arduino IDE
https://atom.io/packages/arduino-upload
MIT License
34 stars 7 forks source link

Add command to Upload with Programmer #44

Open jordiorlando opened 6 years ago

jordiorlando commented 6 years ago

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'.

Sorunome commented 6 years ago

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 notifications@github.com:

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

jordiorlando commented 6 years ago

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