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 binary to be used for projects #1213

Closed
kristofmulier opened this issue Dec 10, 2022 · 4 comments
Closed

AVRDUDE binary to be used for projects #1213

kristofmulier opened this issue Dec 10, 2022 · 4 comments
Labels
question Further information is requested

Comments

@kristofmulier
Copy link
Contributor

Hi @mcuee ,
I discovered your new GitHub repo avrdude-packing. It's great you did this, I applaud the effort. However, right now, I see the following sources where I can collect AVRDUDE binaries:

Please help me - where should I collect the binaries? How do I make the decision?

PS: I need binaries that just work, without installation. It's for our Embeetle IDE project, and IDE that works on both Windows and Linux. Embeetle should just drop a zipped folder on the user's computer (in any location the user wishes), then unzip the folder and invoke the avrdude binary - no installation required.

@mcuee
Copy link
Collaborator

mcuee commented Dec 10, 2022

My repo is only for testing, not for production.

If you need cross platform support, like Linux and macOS with static linking, go with the Arduino project offering.

If you just need Windows, I think avrdude official release is good enough.

Based on your needs, you should wait for the official release from Arduino project. I believe that is also true for popular Arduino Core projects like those from @MCUdude.

@kristofmulier
Copy link
Contributor Author

Thank you @mcuee for your clarifications.

I currently need Linux and Windows. Not yet MacOS (but perhaps later, I do as well). Unfortunately, the official release on https://github.com/avrdudes/avrdude/releases only offers Windows binaries. Any idea if that would ever change?

For the moment, I'll probably stick with the Arduino release at: https://github.com/arduino/avrdude-packing/releases

Kind regards,
Kristof

@mcuee mcuee added the question Further information is requested label Dec 11, 2022
@mcuee
Copy link
Collaborator

mcuee commented Dec 11, 2022

I currently need Linux and Windows. Not yet MacOS (but perhaps later, I do as well). Unfortunately, the official release on https://github.com/avrdudes/avrdude/releases only offers Windows binaries. Any idea if that would ever change?

I do not think that it will happen anytime soon, and for sure not for the upcoming 7.1 release.

Take note the two required patches to be able to use static linking are not in an ideal state to be adopted by avrdude project yet.

Patch 06 may need some work. Patch 07 is just a hack.We need CMake experts like @mariusgreuel to come out with the real solution.

https://github.com/arduino/avrdude-packing/tree/main/patches
Patch 06: https://github.com/arduino/avrdude-packing/blob/main/patches/0006-Cmake-add-libtinfo-and-libncurses-as-dependencies.patch
Patch 07: https://github.com/arduino/avrdude-packing/blob/main/patches/0007-Cmake-fix-build-not-working-with-mingw-toolchain.patch

(Patch 08 is just Arduino branding)

For the moment, I'll probably stick with the Arduino release at: https://github.com/arduino/avrdude-packing/releases

Yes that is the way to go.

@mcuee mcuee changed the title Still confused where to collect my AVRDUDE libraries AVRDUDE binary to be used for projects Dec 11, 2022
@mcuee
Copy link
Collaborator

mcuee commented Dec 14, 2022

I will close this issue. For users who are interested in this topic, please go to #987.

@mcuee mcuee closed this as completed Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants