Open Hipska opened 10 years ago
BTW, I could program my ATmega88a perfectly when I added part definition in my .avrduderc
file.
As you may have noticed already, xavr passes the GCC MCU as is to avrdude, which works 99.99% of the time.
Do you have any ideas on how to handle such cases ? The only thing I can think of is to hard code a mapping for the cases where it doesn't work in the makefile.
In any case, the command avrdude -p ?
gives a list of known parts for AVRdude.
There are some options what could be done.
Do you like any of these options?
I looked into this issue and it appears to be a more general issue: according to my tests, there are 123 parts supported by gcc but not by avrdude (atmega649p, attiny2313a, atmega169p, etc.).
I could detect those during the template generation but:
Which leaves up with your suggestion number 2, which is doable.
I made a test with the TemplateInfo.plist file and it works if you replace <key>at43usb320</key>
with for example <key>at43usb320 # not programmable</key>
. Building works, programming not. This leaves option 3 open.
I could not find any documentation on how this plist should be formatted.
Also, while searching for template documentation, I figured out that you can have 1 parent project template and have for example 1 template generated for every mcu as child of the master template with own settings (and a note if it is programmable by avrdude)
Hi. This problem still persist. Any solution for this one?
When creating new Xcode project, I can select "atmega88a" from MCU list, but avrdude complains:
avrdude: AVR Part "atmega88a" not found.
and gives a list with valid parts, where I see the following MCU's:So it seems that the drop down list is not compatible with avrdude supported items.
Maybe something to take care of.