[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] avrdude on Windows
From: |
Theodore A. Roth |
Subject: |
Re: [avrdude-dev] avrdude on Windows |
Date: |
Thu, 13 Feb 2003 09:55:20 -0800 (PST) |
On Thu, 13 Feb 2003, E. Weddington wrote:
:) Currently in main.c are Unix definitions:
:)
:) #define DEFAULT_PARALLEL "/dev/ppi0"
:) #define DEFAULT_SERIAL "/dev/cuaa0"
:)
:) Which is meaningless in Windows. Windows would have something like:
:)
:) #define DEFAULT_PARALLEL "lpt1"
:) #define DEFAULT_SERIAL "com1"
:)
Autoconf can handle this in either the source or the config file at
configure time. Thus, I don't see any reason for it not to be in the
config file if that is preferred.
To have autoconf process a file, you just need to create a <foo>.in
and tell autoconf to create <foo> in configure.in.
Of course, the defaults on linux would be different yet:
#define DEFAULT_PARALLEL "/dev/parport0"
#define DEFAULT_SERIAL "/dev/ttyS0"
The configure script would need to search for the various dev files or
figure out some way of determining which host system it is running on
(uname maybe for *nix?).
Ted
- Re: [avrdude-dev] avrdude on Windows, (continued)
- Re: [avrdude-dev] avrdude on Windows, Joerg Wunsch, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Brian Dean, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Joerg Wunsch, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Brian Dean, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows,
Theodore A. Roth <=
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Brian Dean, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Brian Dean, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Joerg Wunsch, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Joerg Wunsch, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, E. Weddington, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Brian Dean, 2003/02/13
- Re: [avrdude-dev] avrdude on Windows, Theodore A. Roth, 2003/02/13