amperka / ino

Command line toolkit for working with Arduino hardware
http://inotool.org
MIT License
1.08k stars 233 forks source link

Allow use of USB programmers like avrispmkII #208

Closed ntavish closed 3 years ago

ntavish commented 9 years ago

ino.ino needs to have usb as serial-port in [upload], like:

[upload] board-model = atmega328bb serial-port = usb

The protocol ( '-c' option to avrdude) is picked from boards.txt as before, and the port ('-P' option for avrdude) is usb if usb is set.

ntavish commented 9 years ago

Should close #201 and #166, only tested avrispmkII on linux.

ntavish commented 9 years ago

Also needed to disable '-D' flag to avrdude. could also be #207