avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Implementation of of FTD2XX-based AVR programmer in av


From: Johnathan Corgan
Subject: Re: [avrdude-dev] Implementation of of FTD2XX-based AVR programmer in avrdude
Date: Mon, 15 Aug 2005 07:36:47 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Joerg Wunsch wrote:

Keep in mind that we'll need a Unix implementation as well...

Sure. I'm not yet familiar with the build system in place for distinguishing between platforms. I see that there is a separate directory for Windows and a WIN32NATIVE symbol defined, so I'll figure out how to use these for the Cygwin version.

I haven't used the Linux drivers for FTDI yet, I don't know how similar they are to the Windows ones. If they correspond one for one then it should be easy.

Also, I'm not particularly knowledgeable about autoconf/automake. For the Win32 version, one must link in FTD2XX.lib. I did this with a line:

avrdude_LDADD = FTD2XX.lib

in the Makefile.am file. But this needs to put the .lib file in the current directory. I'd like instead to grab the copy in the installed FTDI driver directory.

Under Linux I'm sure there will be a similar .so or .a to link to. Again, I don't know how to conditionalize things in Makefile.am to do the right thing when the build is on Linux vs. Windows.

Since my AVR project will ultimately be Windows based I've set up using Cygwin for now. In a few days I may take a crack at Linux.

I leave on a business trip tonight until Thursday, so I probably won't get to post the patch until then.

-Johnathan






reply via email to

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