Go Down

Topic: Would like menu option for AVR-based programming (Read 1 time) previous topic - next topic

mellis

Also, we want to keep things simple for beginners.  They won't have a programmer, and probably won't even know what one is.  

wholder

Quote
IIRC, version 12 will allow direct programming in the boards.txt file, so you could do a one-time edit of that file and have an entries like "ATmega8 via AVRISPmkII" or "ATMEGA168 via USBtiny"

-j



That seem like a workable solution.  Thanks.

Wayne

wholder

Quote
Because coding preference dialogs is annoying as hell :) :) :)

But anybody who wants to do it is welcome to contribute it to the code

massimo


I'd love to contribute (time permitting.)  I'm the lead architect on a large, Java-based project, so I have some skills.  What's the best way to help out?

Wayne

mellis

While not exactly the same as this issue, we'd like to add an "Add board..." menu item to the Tools > Board menu.  This should prompt you for a .zip file containing a boards.txt file to be merged into the global one and potentially a directory to be added to the hardware/cores/ directory.  You could try to put together a more detailed plan for how this could be implemented, and send it to the developers mailing list.

wholder

I downloaded and built the latest 0012 version to try this out and can report that it does work.  However, it did take a minute to puzzle out how to add the needed annotations to the boards.txt file.  What I did was copy the Diecimila definition and made a new "direct168" entry.  I then added this:

 direct168.upload.using=avrispmkii

to enable this entry to upload via the AVR ISP.  However, I did find that I needed to add this entry:

 pro.upload.using= bootloader

to the other entries in boards.txt to switch them back to the normal bootloader upload.  Without making these changes, the upload didn' seem to switch back after I selected the direct168 option.

Wayne

Go Up