libftdi Archives

Subject: RE: libftdi: Make ftdi_read_data() honor usb_read_timeout

From: "Michael Plante" <michael.plante@xxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Jun 2010 09:39:02 -0500
Xiaofan Chen wrote:
>> On Mon, Jun 28, 2010 at 7:40 PM, Uwe Bonnes
>> <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>> >>>>>> "Xiaofan" == Xiaofan Chen <xiaofanc@xxxxxxxxx> writes:
>> >
>> > ...
>> >    Xiaofan> Since both MinGW and Cygwin have this one, maybe the above
is
>> >    Xiaofan> needed.
>> >
>> > What do you want to say with this?
>>
>> I have a typo here. I mean " not needed".
>>
>> > Should we use the replacement function or gettimeofday()?
>>
>> I think the replacement function is not needed.


...


Xiaofan Chen wrote:
>> Other than MinGW 32bit (and possible MinGW 64bit), I think Cygwin is
>> the only supported compiler for libftdi. Am I right? I do not know if
>> libftdi supports MSVC or not.


You mean on Windows?  If true (which I doubt), this is a step backwards.  I
haven't tried compiling libftdi-1 recently, but I can compile and use
libftdi-0.1 on MSVC6 just fine.  (I may have some changes to 0.1, and I may
have to check, but they were more likely cross-platform changes to 0.1
related to thread safety in scanning the usb bus for devices in init, in
which case that likely doesn't apply to libftdi-1 anyway, and, regardless,
is probably not something you want, since it introduces a pthread
dependency.)

Michael


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread