Pages: [1]   Go Down
Author Topic: alternate programmer options  (Read 1121 times)
0 Members and 1 Guest are viewing this topic.
Norway
Offline Offline
Sr. Member
****
Karma: 0
Posts: 370
R-Doo-Inoo in the making :3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

B-dui in creation.

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 201
Posts: 8660
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Norway
Offline Offline
Sr. Member
****
Karma: 0
Posts: 370
R-Doo-Inoo in the making :3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ok i'll give that a go thnx smiley
Logged

B-dui in creation.

Norway
Offline Offline
Sr. Member
****
Karma: 0
Posts: 370
R-Doo-Inoo in the making :3
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

or i can just use 'upload using programmer' in the file menu <.<
derp >.<
Logged

B-dui in creation.

Pages: [1]   Go Up
Jump to: