[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] Yet another config parameter
From: |
Theodore A. Roth |
Subject: |
Re: [avrdude-dev] Yet another config parameter |
Date: |
Fri, 21 Feb 2003 10:36:54 -0800 (PST) |
On Fri, 21 Feb 2003, E. Weddington wrote:
:) On 21 Feb 2003 at 13:15, Brian Dean wrote:
:)
:) > On Fri, Feb 21, 2003 at 09:47:49AM -0700, E. Weddington wrote:
:) >
:) > > Don't forget that we need to figure out how the per platform default
:) > > port values are going to be set.
:) >
:) > Oh yea, I forgot about that. So we need:
:) >
:) > default_parallel = <string>;
:) > default_serial = <string>;
:) >
:) > Was that it? These would take the place of the hard-coded #defines in
:) > main.c.
:)
:) Yes.
:)
:) #ifdef __CYGWIN__
:) default_parallel = lpt1
:) default_serial = com1
:) #endif
:)
:) Ted will have to define for Linux.
This should be done by configure. Then you just have a avrdude.conf.in
(or avrdude.conf.sample.in) which has these entries:
default_parallel = @PAR_PORT@
default_serial = @SER_PORT@
autoconf will replace the @foo@ stuff with the appropriate values
discovered when configure is run.
The whole point of using autoconf is to minimize use of #if's like the
above.
Ted
- Re: [avrdude-dev] Yet another config parameter, (continued)
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/20
- Re: [avrdude-dev] Yet another config parameter, Joerg Wunsch, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Joerg Wunsch, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, E. Weddington, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Joerg Wunsch, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, E. Weddington, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter,
Theodore A. Roth <=
- Re: [avrdude-dev] Yet another config parameter, E. Weddington, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Theodore A. Roth, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Theodore A. Roth, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, E. Weddington, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Theodore A. Roth, 2003/02/21
- Re: [avrdude-dev] Yet another config parameter, Brian Dean, 2003/02/21