[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Multiple IDs in avrdude conf?

From: Rick Mann
Subject: Re: [avr-chat] Multiple IDs in avrdude conf?
Date: Mon, 23 Jan 2012 03:54:24 -0800

On Jan 23, 2012, at 2:16 , Bob von Knobloch wrote:

> On 23/01/12 09:40, Rick Mann wrote:
>> Is it possible to specify multiple IDs for a part in avrdude.conf? It's a 
>> pain to specify two parts in the Makefile, one for GCC, and one for avrdude. 
>> I don't want to duplicate the entire entry in avrdude.conf, but I do want to 
>> be able to look up a part with "atmega644a" instead of "m644a".
>> Thanks,
>> Rick
>> _______________________________________________
>> AVR-chat mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/avr-chat
> As far as I am aware, avrdude also accepts the processor descriptions defined 
> as 'MCU_TARGET' by avr-gcc.
> All my projects '#define MCU_TARGET [processor_name e.g. atmega1284p]'
> somwhere near the top and I then use awk to extract that long name for the 
> Makefile and also for a bash script which calls avrdude, also using the long 
> name.
> This way, the processor definition is only in one place, the source.

Huh. For me, it complains if I supply that. Oh, wait, maybe it's complaining 
because I specified atmega644a, and didn't have an "m644a" in my file...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]