Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVRDUDE does not link to LIBUSB during compile #13

Open
ryangenz opened this issue Oct 31, 2017 · 2 comments
Open

AVRDUDE does not link to LIBUSB during compile #13

ryangenz opened this issue Oct 31, 2017 · 2 comments

Comments

@ryangenz
Copy link

ryangenz commented Oct 31, 2017

The compile succeeds but results in an AVRDUDE build without USB support.

During compile the following check fails:

checking for usb_get_string_simple in -lusb... no

As well as in the Configuration Summary:

DON'T HAVE libelf
DON'T HAVE libusb
DON'T HAVE libusb_1_0
DON'T HAVE libftdi1

I found I was able to compile with USB support by switching from using version libusb_compat=0.1.5 and rolled back to use libusb 0.1.12 (legacy).

I spent quite some time trying to set the right flag to set to get AVRDUDE to compile with the latest version of LIBUSB, but I couldn't solve it.

Anyone have any ideas?

~R

@vossi1
Copy link

vossi1 commented Oct 31, 2017

Hi, I installed it on my Mac with Sierra.
I installed the latest version from avrdude (6.3): brew install avrdude
Now it works great with my avrisp2 clone (barion st isp/tdi/pdi programmer).
It has a custom firmware 1.30 on it.

I just bought a second clone from ebay - and that doesn't work properly with avrdude.
This clone has the latest atmel-firmware on it.

@ryangenz
Copy link
Author

ryangenz commented Nov 1, 2017

Thanks for this info. Good to know.
In this case CrossPack-AVR is not using Brew as the installation method.
The script should compile without the use of Brew.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants