avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #41854] avrdude 6.1 does not compile on systems witho


From: Joerg Wunsch
Subject: [avrdude-dev] [bug #41854] avrdude 6.1 does not compile on systems without libUSB
Date: Wed, 06 Aug 2014 20:30:33 +0000
User-agent: Mozilla/5.0 (X11; FreeBSD amd64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

Follow-up Comment #7, bug #41854 (project avrdude):

> I would expect that I can use EITHER libusb-0.1.x or 
> libusb-1.x.x and that once I use ONE of them, USB 
> support is present. Is that correct?

Nope, usb_libusb.c (which wraps USB access for the Atmel tools) 
requires just USB_LIBUSB (i.e., libusb-0.1) support to be 
present.  The reasons are:

* libusb-0.1 API is more universally available; last I've heard, OpenSolaris
(or its successors) don't have the libusb-1.0 API at all
* except for more work rewriting our implementation ;), we wouldn't gain much
by switching the API
* all libusb-1.0 implementations known do offer a 0.1 API compatibility
wrapper anyway

So the latter is where you'd have to look for on MinGW32. 
All I can tell you is that I'm using MinGW32-Crosstools under 
FreeBSD to build the "official" Win32 binaries, and it works 
there.

DFU support (which is the layer below FLIP) also uses the 
libusb-0.1 API.

As Hannes already mentioned, pthreads are by now only used by 
the FT245 implementation (low-level bitbang using FTDI FT245 
chips).

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?41854>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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