[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-chat] avrduderc file : template ?
From: |
Weddington, Eric |
Subject: |
RE: [avr-chat] avrduderc file : template ? |
Date: |
Tue, 6 Jan 2009 16:16:15 -0700 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> On Behalf Of Vincent Trouilliez
> Sent: Tuesday, January 06, 2009 3:58 PM
> To: address@hidden
> Subject: Re: [avr-chat] avrduderc file : template ?
>
> > It's basically an avrdude.conf file. Mine has:
> >
> > default_programmer = "jtag2";
> > default_serial = "usb";
>
>
> Ah, ok... mmm I am starting to fear then that it can only specify the
> programmer to be used ?
> I would have hoped avrduderc was designed to take any and all
> available command line arguments described in the man page, for
> example I was hoping I could set default arguments like this: -p m32
> -y -E noreset
For that you need a batch file (for a DOS box) or a shell script (*nix), or
even a Makefile. That's what they were designed for. The configuration file is
just static data about programmers and devices so you don't have to recompile
the program to add support for a new programmer/device.