Arduino rolled back the version of avrdude that they used but we were
always using the latest version.
Show the arduino package first in the list of Platforms to Add.
Turn on the Arduino Neon site for future updates.
Change-Id: I63a5d638d8ad7894715242949595216f4ff1091a
gdb doesn't work when the serial port is tty.*. cu.* is supposed to
be for calling out, tty is for receiving. Our use cases are the former.
Change-Id: Iea15efbfa353eda3a7260c2f9c8a75a310f679f9
For some reason I got rid of platform_path and switched it to
platform_core_path. That's totally wrong for platform libraries.
Putting it back.
Also fix dispose() error when switching to boards that don't have
programmers, such as the Huzzah.
Change-Id: If89bf814f570b78551de85d009e4beec2c435df2
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