-
-
Notifications
You must be signed in to change notification settings - Fork 7k
One click compile all known boards #2031
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
Conversation
Your code looks fairly ok to me. I left some comments in the individual commits. However, I'm wondering if adding "build for all boards" support makes sense in the IDE itself? It sounds like a bit of a special case, though I guess it helps for library authors to compile-test their libraries? I originally thought that you intended to actually distribute the compiled .hex file, but I see now that that is not the case. In any case, you should probably bring this up on the developers mailing list as well, to see if there is more interest in this feature. |
Posted on the mailing list to get a feel on the interest level. Menu entry is cleaner from an implementation standpoint, just a little less functional since it has to be kicked off from the menu instead of the toolbar. Really though, I don't care, I just need the function. |
I've posted twice on the developer's mailing list and nothing has come Thanks,
|
Hi @WesGilster |
Can I build this pull request? |
Of course. Let me know how it works for you. Thanks,
|
@WesGilster sorry for the automated comment from arduinobot. We are setting up automated build of all PRs, so that we can provide a downloadable version of the patched IDE |
I was wondering why someone would ask... :) Thanks,
|
Can one of the admins verify this patch? |
Sorry for the late reply. If I got it right, this PR aims at easing integration with other tools, right? If so, does using the CLI suffice? An additional "build all" board will make life harder to both students and teachers teaching Arduino. Proof is the confusion created to studends with osx, puzzled by the two ports listed under ports, one tty and one cu. We ended up filtering out one: see #2626 and a8b29d4 |
This the CLI man page: https://github.com/arduino/Arduino/blob/master/build/shared/manpage.adoc |
I don't really see how it complicates things given that everyone pretty To answer your other question, it does look like the CLI would work with I haven't heard much interest on the "build all" topic; so, honestly I Thanks,
|
Sorry, I just don't think this feature fits into the IDE. By using the CLI you can get the same result and also finer control over which boards are actually selected as targets. |
@WesGilster, not sure if you saw this one already, but since my last message I've written arduino-mass-builder, a python script that can build a sketch for a large number of boards using the IDE commandline interface. The primary goal of that script was to compare different builds and test code, but it might be useful for you too. |
Well yeah, that's pretty much perfect guys. That makes moving to Eclipse Thanks,
|
Changes to compiler and boards.txt file to enable a single click compile. This is helpful for tool builders that need to distribute a simple program as a part of a larger distribution that supports the full range of Arduino devices.