Go Down

Topic: alternate programmer options (Read 1 time) previous topic - next topic

The_Bongmaster

Is there a way to choose between isp and bootloader methods for uploading sketches to arduino boards yet other than editing a file buried away in a folder?

i need to be able to choose between uploading via serial to a board with a bootloader and ftdi, and another without using the icsp header and a usbtinyisp. but its a pain to have to go into the settings file and change bootloader to usbtinyisp (or watever), upload and change it back again.

would be nice and easy to do it inside the IDE as if changing port or board..
B-dui in creation.

johnwasser

Create a new boards.txt file in a folder named 'hardware' in your Arduino sketch folder.  In that file put a new board definition that matches the target board.  Add to that board definition: "upload.using=USBtinyISP".  That should override the default in 'preferences.txt'.
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

The_Bongmaster

B-dui in creation.

The_Bongmaster

or i can just use 'upload using programmer' in the file menu <.<
derp >.<
B-dui in creation.

Go Up