avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] avrdude on Windows


From: E. Weddington
Subject: Re: [avrdude-dev] avrdude on Windows
Date: Wed, 12 Feb 2003 12:55:23 -0700

On 11 Feb 2003 at 12:54, E. Weddington wrote:

> This port to cygwin uses a port driver called PortTalk. It does 
> similar things as giveio.sys. I have to do some investigation on its
> licensing before use of this.
> 

Licensing does not look good for this PortTalk stuff. So I'm going to 
go with giveio.sys. This seems to be a common path on other open 
souce projects.

PPI:
The Linux port seemed easy enough to do because there doesn't seem to 
be a whole lot of difference between the Unices.

For a port to Windows, I'll have to use the win32api which IIRC also 
comes with cygwin.

In ppi.c there are only 8 low-level functions that are platform 
specific:
1. ppi_open
2. ppi_close
3. ppi_set
4. ppi_clr
5. ppi_get
6. ppi_toggle
7. ppi_setall
8. ppi_getall

The function ppi_getops, and to an extent ppi_claim and ppi_release 
(since they're only needed on Linux), are internal to the 8 functions 
above. The ioctl function that is called is also internal.

All the other functions are reducible to the 8 above.

These funcs are what I'll need to implement for Windows.

Any thoughts about moving these out to their own file / API to drop 
in replacements per platform?

Eric





reply via email to

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