Don't send the library includes to platform source compiles. This has
led to problems as specified in the bug. And they're really shouldn't
be necessary. Also Arduino IDE does things this way.
Change-Id: I70b37b660c98b88b3de18ec53e8b86a119fc0baf
The core exception we used to throw when the program patch was not
present is necessary for GDBBackend#getProgramPath() to set the path to
an empty value instead of returning null.
Although we could have made GdbLaunch#getProgramPath return and empty
string to fix this problem, I thought we should play it safe and behave
like we used to in case something else needed that exception thrown.
Change-Id: I4684226c731aedef50bdeb37accdf2a2feb818b5
I have branched the tools.templates plug-ins for Neon.1. Switch to
use the 1.0 maintenance branch.
Also added com.google.gson, which is used by the Arduino plug-ins to
our repo. All our dependencies from Orbit need to be in our repo.
Change-Id: Ia61a3d7ee1444570e7fee79c2dd5a9687e405288
This was totally missing. Implemented now. Will need to test libraries
once they are versioned. Theres a different bug for that.
Change-Id: I539cb32b6cc46e6d9e8768f872fbae94cb21168b
This allows us to change properties of the target and not get the
builds confused. Also makes more sense to the user.
Change-Id: Ic0b6be0699a366c20c5aedc9ec82451e0b3b0899
Originally, to determine the program path, GDBBackend's constructor
would call:
ICProject cproject = LaunchUtils.getCProject(lc);
fProgramPath = LaunchUtils.verifyProgramPath(lc, cproject);
When we made the change in 192bfff688 we
didn't keep that logic and lost some functionality.
This commit re-instates the original logic.
Change-Id: Ifbee2273517c41ad6ebdc9980261ed36d651f130
__has_feature() is a clang extension for feature testing.
Additions include features that we support that weren't added previously
because they weren't listed in clang's documentation (such as cxx_atomic),
and features for which we've since gained supprot (such as
cxx_variable_templates).
The addition of cxx_atomic is particularly important because it's required
for CDT to parse libc++'s <atomic> header correctly.
Change-Id: I21a0472bb3983cf70f5b7b734827ab1111370690
Demo gremlins got me. Had a concurrent modification of the properties
in an Arduino build config. Turns out I missed making a copy of the
properties when calculating the upload command and was making changes
to it there.
Change-Id: Ic7be10dc4860a73e293b106ee7e67a713bd7ac10
The SparkFun package json file is a bit different. Need to merge
packages.
Also fix a couple of NPEs.
Change-Id: Ida495af0b497ba3cd6dbd3e95045c8923f8e9bc8
On Windows, OK and Cancel are reversed. Instead of making Cancel
invisible, dispose it so it's gone. Also rename OK to Done.
Change-Id: I37a63f431d71797c442c13389ead4bab9d08a8b1
Use versions in platform installs just like tools. Make sure those
version numbers don't have +'s in them since it screws up Freemarker.
Add cheat in so that the Intel toolchains extract properly.
Change-Id: I7f4e6a92844461b6cbfe21436151d876558a4d2a
This patch addresses an issue in the "Select Remote C/C++ Application
File" browse dialog:
- The remote browse dialog's selected file or directory is still used
in the launch configuration, even if the user cancels the browse dialog
Change-Id: Ib535254d681a349b2aadfe91adfc73d633a16e90
(cherry picked from commit 9dc70ec8a5)
Needed by a few boards, Gemma famously. Adds UI to select a programmer
for a board and using it if upload.protocol isn't set for the board
(same as the Arduino IDE).
No support for the Burn Bootloader menu item yet, but we're closer.
Change-Id: I5d550b96191fdd1bd18da3daf69bbf7504bfa241
These boards don't have variants so now handle when they're missing.
Includes change to order the properties so that the default menu
selections are the same as in the Arduino IDE.
Change-Id: Ibcc69e2399a92f513964ef6500c1b1766021cd39
We removed the version from the file path and forgot to update the
Makefile template to take that into account.
Change-Id: I7ab74723554561f86674ef22e38fff6153526912
Now have an integration test that builds an empty project for all
boards we can enter into it. This change fixes a bunch of the bugs
that were found making it.
Change-Id: Id62919abd419ac4fef986d620c32ac328eb2cf40
We can launch new build system features using the existing launch
configuration delegates since they assume old build configs.
Since Qt is still preview. This will have to do now until we can
figure a way to support both build systems with those delegates.
Change-Id: I61074d3f5d3481222f75a887b3b2b59fdfa4d9eb
Not sure how this was working my desktop machine, but in my home
environment, I ran across an issue where the macros weren't resolved
in the ICdtVariables used for the launch. They need to be resolved.
I think took a look at the debug launch because it was also failing.
As I found out, the GdbLaunchDelegate wasn't using the new GDBLaunch
getVersion routine and was using the deprecated method in launch utils.
Change-Id: I63076833fc444c6df7f758e08df67c1c6f9d9f72
The mac signing has to happen between materialize-products and
archive-products goals. Because we only want to do it when the
production profile is enabled (eclipse.org server), we have to duplicate
some xml to fit the macsigner between the two. I did extract some
variables in order to make the duplication less error prone.
Change-Id: I523c287c0e1dff15026e1007fa2831af6d14003a
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
And fix up autodiscovery and launching on Linux. And disable
debug_and_release in all platforms. win32 adds it automatically.
Change-Id: If079f83645893d5132b6a459132123f33e5b28f2
We have this functionality for debug but didn't for run. When using
the MSYS2, you need that environment to setup the paths to the DLLs
it uses.
Change-Id: Idcb4400efd609d72b5ed587d5ba90777bec8a4d3
This prevents a deadlock where two different Executor threads are both
listening to changes on the same launch configuration (e.g. when the
same launch configuration is launched twice).
See Bug 494650 for more details and information on the master branch
which has a fuller, more involved fix.
This change is a continuation of:
commit 6283890715
Bug 472765: Use gdb's "set substitute-path from to"
Change-Id: I7615e34a949d7766c178025923cdab920250a591
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
Provide support for new build configs using the default config.
Previously, we used it to represent old style configs. But if you're
not using the launch bar, you end up building with the default config.
Adds support for Qt to build debug_and_release, and for Arduino to just
build normally for run.
Users are then responsible for creating their own launch config, just
like the old days.
Change-Id: I54305fa27e7eac198ac50d800e0c175143215516