1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00
Commit graph

53 commits

Author SHA1 Message Date
Marco Syfrig
82f4fac87b removed unused imports
Change-Id: I3c2df7a891b2f58d2efc60a23cd4c360a16c5b56
Signed-off-by: Marco Syfrig <marco.syfrig@gmail.com>
2016-10-21 11:25:05 -04:00
Doug Schaefer
e371ba0919 Updates for Core Build.
Change-Id: I8720d5b57e335adde538838790c3ecdd465a7ed7
2016-10-12 19:19:19 -04:00
Doug Schaefer
b26917be90 Introduce Core Build launches and Launch Bar integration.
Unify launching for projects that use the new Core Build system.
Starts with CMake projects. We'll do Qt projects next.

Change-Id: I14af8e99decd54cc6548095b3ad3e054c550aea2
2016-09-12 11:14:17 -04:00
Doug Schaefer
33a979c651 Bug 500237 - Use specific version of tool for uploads.
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.

Conflicts:
	toolchains/arduino/org.eclipse.cdt.arduino-feature/p2.inf

Change-Id: I0392594d7e9d30daeb6c9e4ca7090a92dde8b19f
(cherry picked from commit 32bc90f8bf)
2016-08-26 12:22:52 -04:00
Marc Khouzam
cd559dafaf Update version to 9.1.0
This commit used the script releng/scripts/ChangeFeaturesVersion.sh

Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-08-17 10:11:57 -04:00
Doug Schaefer
e747b21ae0 Propagate fixes for Arduino from CDT 9.0 to master.
Change-Id: If7d02530ba46f01f7f58724cba7b4921b93ca895
2016-08-09 15:52:10 -04:00
Doug Schaefer
01845929c4 [Arduino] Fix Makefile template to use new libraries layout.
We removed the version from the file path and forgot to update the
Makefile template to take that into account.

Change-Id: I7ab74723554561f86674ef22e38fff6153526912
2016-06-17 23:34:50 -04:00
Doug Schaefer
d6d135d701 Bug 485992 - Add support for libs with parens and assembly files.
The AVR Timer Library has this.

Change-Id: I595ed64d2d6d56e17cbbb503875b07afb77ec199
2016-06-17 16:08:02 -04:00
Doug Schaefer
bf8d82a992 Bug 487633 - Arduino support build.system.path for Due.
Change-Id: I4ef4de8ed34c5fc412830ca9789bc5becb883911
2016-06-17 16:07:50 -04:00
Doug Schaefer
5d2cbaaa1c Cherry picking changes from the CDT 9 branch for Qt and Arduino.
Change-Id: I85eca2b8bb0447d4dd703030c41d90c1f9bcdf89
2016-06-13 21:23:10 -04:00
Doug Schaefer
c2316a0b18 Arduino Downloads Manager and lots of cleanup around that.
Change-Id: Ie2e4d987849831006d443bae98349861871a4057
2016-05-24 01:00:06 -04:00
Doug Schaefer
2c4921bca0 Add binary parsers to new build system. Clean up some toolchain stuff.
new build configs now support binary parsers which are by default
driven from the toolchains. Ran into problem with new versions of
toolchains. Added versioning info to toolchains to take that into
account.

Change-Id: Ie1fb7755e84239b525dca0ae11759027a0b44574
2016-05-10 16:05:53 -04:00
Doug Schaefer
3f660b725b Remove the Arduino Boards Preference Page.
Change-Id: Ie72dd2a058f93929cd64a95319743995a63d20ff
2016-05-06 11:02:05 -04:00
Doug Schaefer
7139dc2f1e Modernize Arduino plug-ins. Adjust APIs to suite.
Change-Id: Ic877c8f0992874e647d4b464502165d7bd3ebe0e
2016-04-28 11:14:07 -04:00
Alex Blewitt
12904409a3 Bug 492304 - Fix NLS warnings
Eclipse warns if a String literal does not have a `//$NON-NLS-<n>$`
entry at the end of the line. However, for historic or formatting
reasons, many such occurrences in the CDT source have an intermediate
whitespace, such as `// $NON-NLS-<n>$`

Fix these so that the whitespace is removed between the // and $
characters.

Change-Id: Idc12398fe6e9d619af1d0b1b73fb8b6180da223c
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-25 22:53:30 +01:00
Alex Blewitt
2356a29c70 Bug 492200 - Replace StringBuffer with StringBuilder
There are many opportunities for replacing `StringBuffer` with
`StringBuilder` provided that the type isn't visible from the
public API and is used only in internal methods. Replace these
where appropriate.

Change-Id: Ic2f50c5b6f3c3a4eae301bb3b40fb6faed235f79
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
2016-04-21 22:17:03 -05:00
Doug Schaefer
d1dda291d9 New Qt templates using new templates framework. Arduino fixes.
Change-Id: Ib50fb439ba248965286242e476728bb9f36ac18b
2016-02-22 22:55:06 -05:00
Marc Khouzam
766f66c0ab Missing copyright header.
Copyright assigned to company of the committer
who did the first commit of the file.

Change-Id: Ia133694018c798f9558258810982f5276737a0b0
2016-02-01 12:47:41 -05:00
Marc Khouzam
b745736775 Incremented CDT features version to 9.0.0
This includes bumping the standalone debugger to 9.0.0

Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2016-01-18 16:37:47 -05:00
Doug Schaefer
73805d2ea4 Bug 484994 - Migrate Mars Arduino support to Neon.
This brings the master branch up to date with everything we've done
in the 8.8 branch. Adjusts for the new ILaunchTarget and targeted
launch delegate.

Also has a start at making more things common in the new build system.
With three extenders of it now in CDT, i.e. Qt, CMake, and Arduino,
it's obvious we can make things more common and make new extenders
less work.

Also undoes some of the work I've done to get Arduino onto the new
build system. Will need to redo it as we do the new common stuff.

Change-Id: I51ce768e0fc60e29c16b05567bd9802d64e33779
2015-12-30 20:12:30 -05:00
Christian Walther
8640070d4b Bug 484955 - Provide serial.port.file property, needed for SAM boards.
a6e36fac9d/hardware/arduino/sam/platform.txt (L102)
uses this property because the bossac tool expects a serial port name
without the leading "/dev/".

Copied from how the Arduino IDE does this in
a6e36fac9d/arduino-core/src/cc/arduino/packages/uploaders/SerialUploader.java (L148)
.

Change-Id: I17b2556cab3ad7fba00e03171881f6459cf97826
Signed-off-by: Christian Walther <walther@indel.ch>
2015-12-28 22:12:40 -05:00
Doug Schaefer
e3496e1246 Bug 481978 - Big overhaul of new build system to work with Qt.
Moved new build system to it's own plug-ins. Cleaned up the root
build configuration and toolchain classes and use them for Qt local
run builds. Also hooks Qt local run launch delegate to launch target
manager and associated delegate interface.

Change-Id: I0c0f711ee53005edd399f6d24ba96658d606e1e5
2015-11-24 22:11:33 -05:00
Doug Schaefer
790f90ee55 Bug 481352 - Adapt Qt and Arduino providers to ILaunchTargets
ILaunchTarget replaces IRemoteConnection.

Change-Id: I77825ae1347cec7095655548e06cb6dbc5c2aaf4
2015-11-04 23:59:46 -05:00
Doug Schaefer
64bf3c4f69 Starting to put Qt onto the new build system and launch.
Change-Id: I3e65f5d69bfb35d16b2d1135f99517c7a2b2c437
2015-09-28 13:24:41 -04:00
Doug Schaefer
40ff5f2a66 Add support for multiple board packages suppliers.
Default URLs for Arduino and the ESP8266 community. Preference page
to allow user to add their own.

Change-Id: Ia40d2729d6b5e26225dbecf85a845322b4a71f5f
2015-09-02 16:38:59 -04:00
Doug Schaefer
6e6156e42f Add missing copyright notices. 2015-08-31 15:32:43 -04:00
Doug Schaefer
64c5782589 Bug 321443 - First implementation of new build model.
Includes adaptation of the Arduino build model where many of these
ideas started to the new model. And start of the Qt build system which
uses it.

Change-Id: Icb212185773ebc4d415e8a9862101744703ff80b
2015-08-31 14:14:21 -04:00
Doug Schaefer
3c105249e8 Build and Launch working on Windows.
Had to convert backslashes in paths to forward slashes. Also had
figure out how to call the compiler for scanner info. Had to break
the command up myself into args.

Change-Id: I08f1438d8c17bb92a8871d4bd6e187af4e8a49f7
2015-08-27 14:05:59 -04:00
Doug Schaefer
21f8bd8742 Arduino Library Support
Change-Id: Ifdc9075beba4002b1481576d07ed2d8d44e5c2da
2015-08-25 10:22:16 -04:00
Doug Schaefer
71ed78fcbe Remove dependency on apache http client. Don't need it.
Change-Id: Ic12222668217dab543e231bfbf2615757d6dc389
2015-08-21 20:53:29 -04:00
Doug Schaefer
81f6bd0259 A good start on the error parsers/hyperlinks for Arduino.
Change-Id: I5f3a3565970d177392ca6af569a3447aabe1be81
2015-08-16 23:04:38 -04:00
Doug Schaefer
fb9547a46c Hooked up Arduino launch to new build configs.
Wow, this is slick. Launch delegate gets upload command from
build config.

Change-Id: I779625407877610f1405a48eab851b25d886165f
2015-08-12 23:11:35 -04:00
Doug Schaefer
f38efe2a91 Scanner info with built-ins working for Arduino.
Change-Id: Ifa3ea76c11324e06fb7f735f5eb435f387fbbedc
2015-08-12 15:32:00 -04:00
Doug Schaefer
fbee145ff0 Completed new Arduino makefile generator and build.
Change-Id: I0ab166174131b81361b7ee249cd0f178c9d6e5e2
2015-08-11 22:01:10 -04:00
Doug Schaefer
19629b7ab5 Much progress on the Arduino build system.
Change-Id: I437621ed8af02abddc05852bf6c1b62b50f17a25
2015-08-11 10:07:55 -04:00
Doug Schaefer
7571170de6 Some cleanup for Arduino CDT.
Change-Id: Ib2384053c1bf40d65c9e6e72c3146a3264abbf33
2015-07-28 15:58:52 -04:00
Doug Schaefer
8d2489c8ac Support installing of board platforms using pref page.
Change-Id: Ieaa9704027183a25657d2f4ec0f446949bb5e27f
2015-07-28 15:29:35 -04:00
Doug Schaefer
05a2939d54 Start restructuring Arduino CDT to use index files.
Change-Id: Ibfa9b1e679d737c53b28700341e91d0dcacaba0f
2015-07-21 11:17:53 -04:00
Doug Schaefer
df39cb4b09 Start of using Arduino package index for board packages.
Added dependency to Gson for JSON parsing and Apache Http Client
for getting the index files from the Arduino site.

Change-Id: I3d265c1037e7f74e082f36c751f5eaf780e96684
2015-07-20 10:40:10 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Doug Schaefer
76267c7aa9 Adapt Arduino plug-ins to final LaunchBar API.
Change-Id: Ib5d7738ad137566b7cf6f9b8c177f72c747b2d2b
2015-06-01 21:59:49 -04:00
Doug Schaefer
a2babed084 Fix Arduino to managed the target in the delegate. 2015-05-29 11:27:06 -04:00
Doug Schaefer
109655d384 Final Arduino touches for Mars. Preference Page, template cleanup.
Externalized Strings.

Change-Id: I3450fe67fa3f3e3db40955be926b8b62951460f1
2015-05-29 11:26:38 -04:00
Doug Schaefer
409b39b10a Reuse Anrduino remote connections when fetching.
Change-Id: I776cf031f34b51ed504709d367b6b0352c868815
2015-05-29 11:26:03 -04:00
Doug Schaefer
49bf118c8f Support Arduino C++ on Windows. Move entire Makefile into template.
Also added the command shell console to the cdt 4.5 target so we can
test the Arduino command shell.

Change-Id: I185f9b39d23a6718204112e1fd4388c2458f7e5e
2015-05-29 11:25:02 -04:00
Doug Schaefer
de91588fe1 Clean up Arduino projects, remove Maven natures.
Change-Id: I063508705b6d469fb6bb28b077ebcbf2b9793afa
2015-05-29 11:23:38 -04:00
Doug Schaefer
583cbf2503 Start work to build against the Arduino IDE. 2015-05-29 11:22:42 -04:00
Doug Schaefer
809f470514 Adjust to removal of special launch config delegate for remote.
Change-Id: I767ca01a8a233b2b6ab197991a696b4deef52b8c
2015-05-19 14:26:26 -04:00
Doug Schaefer
e2ca94284e Adjust to the final launch config API.
Change-Id: Ia539832e9e8c4d95cdac9295aae7f56552f10a2b
2015-05-19 00:45:58 -04:00
Doug Schaefer
a170ca1895 Step 1 of adapting Arduino IDE to new Launch Bar API.
Change-Id: I5fcfcde182eff8a5cc34d64f75ba5deea9487770
2015-05-18 02:07:14 -04:00