1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 23:55:26 +02:00
Commit graph

53 commits

Author SHA1 Message Date
Doug Schaefer
ae02a50dba Bug 483729 - Make Arduino upload a proper launch.
Creates and ArduinoLaunch object to manage the pause and resume of the
serial port on launch and terminate. Registers the uploader process
with the debug framework so that it's connected properly to the launch
and the console.

Change-Id: If14cf8ddf2c1b6ceda19bce8d37e07ebce9700f2
2015-12-07 10:52:07 -05:00
Franz Schnyder
207d2e1006 Bug 482784 - Include gcc generated make dependency files.
So that also changes in header files are recognized. This ensures that
source files that include changed header files are recompiled during the
next build.   


Change-Id: Ice5439fe42cf5039a2520ee0290fbd93ee985f6f
Signed-off-by: Franz Schnyder <schnyderfranz@gmail.com>
2015-12-06 12:51:06 -05:00
Doug Schaefer
25bc7a3950 Bug 480575 - Arduino install and upgrade by platform.
Changes from a Board based install UI to a Platform based one which
is more honestly what it does. Adds support for upgrading platforms.
Also moves the hardware and tools under the platforms directory
to match what the Arduino IDE does.

Change-Id: I1ff4ad1178439dd1e51a7594870596e0cbe34afb
2015-12-01 16:15:03 -05:00
Doug Schaefer
dae65dd9f3 Bug 481469 - Support new archive_file_path var in Arduino 1.6.9.
Change-Id: I1aa9473ad50418d908993c7b39929e5d73b34685
2015-11-05 12:56:45 -05:00
Doug Schaefer
365828b0fd Bug 480585 - Better handling of default config.
We no longer create a default config. Instead we use the Eclipse
default and select a default board for it. At build time though we
make sure we create a new one for it.

Change-Id: I11bd9e67f1df160d5a660d383eb37a74da8ec38c
2015-11-01 22:32:12 -05:00
Doug Schaefer
4d22181892 Bug 480603 - Support Intel's crazy tarballs and such.
Includes +'s in file names. Also fixed up how we unpack the links
inside tarballs.

Change-Id: I09a7e6a4a6f1c2db91f3f429f313eaff67fc84db
2015-10-26 11:56:44 -04:00
Doug Schaefer
9e2f937a06 Bug 480603 - Deal with extra file in Intel's tarballs for Arduino.
Change-Id: I575496e490959defe5fe978664bac87b7e53fede
2015-10-25 23:37:03 -04:00
Doug Schaefer
cf05b210bd Bug 480109 - Force Shell on windows to be ComSpec (cmd)
Change-Id: I35e7710c3a6eb27ba6d30a46fe1e585bd4296036
2015-10-24 13:30:45 -04:00
Doug Schaefer
0c59d09514 Bug 480287 Uncategorized libs were losing their parent.
This badly affected the check behavior since it couldn't find it in
the tree.

Change-Id: Ic77c9d45568f31f9563d2c1a93040291e28b20df
2015-10-24 13:09:16 -04:00
Benjamin Cabé
fabc2a02b9 Bug 480407 - Arduino Yún name is mangled in the UI
Chain the FileReader (which uses default character encoding) with an InputStreamReader in order to force UTF-8 encoding

Change-Id: Ia32c079a18f580e36f1629182bfb829ab8f71c71
Signed-off-by: Benjamin Cabé <benjamin@eclipse.org>
2015-10-22 13:22:36 +02:00
Doug Schaefer
8cc9e5f3f0 Bug 480365 - Support Arduino Zero
Made a number of bad assumptions. This get us building for the Zero
and tested to make sure Uno and ESP8266 still work.

Change-Id: Ifed78af11969c7fba65754b9254d8a2eecf335ac
2015-10-21 22:22:41 -04:00
Doug Schaefer
79285aa3f0 Bug 480347 - Support utility folder for old Arduino libraries.
Change-Id: Ib25783b1d2b5a94757e3273ae0a2ada543e5c7e7
2015-10-21 22:21:24 -04:00
Doug Schaefer
948d0d13eb Bug 480115 - Pick a board any board
If Uno isn't installed, pick the first board in the installed board
list instead so we have something and don't NPE.

Change-Id: I691c1a743d374a1950d00c084e74ff8a174efdc0
2015-10-21 22:01:20 -04:00
Doug Schaefer
12acb6f54e Bug 480169 - Add proper support for platform libraries.
Change-Id: I3016ee6db3cd892f59b44d74d4181c30ca1b5b10
2015-10-21 19:25:42 -04:00
Doug Schaefer
a88d0eb0d9 Bug 480256 - Fix pattern for finding platform libraries
Change-Id: I781651c1204a7fb348271b69817260f0bf3beb81
2015-10-20 22:30:40 -04:00
Doug Schaefer
edd2025baa Bug 480253 - fix look up of menu properties for boards
Also removes the old arduino.mk file. The new system works pretty well.

Change-Id: I8a954af055e162ed88eebb69c1812e77a6b74f0b
2015-10-20 22:30:39 -04:00
Doug Schaefer
14b6ad286e Bug 480181 - Missing Arduino tools host choice for Linux
Change-Id: Icd47871214a21fcbc322b61abfb201d23b31ba7d
2015-10-20 12:14:51 -04:00
Doug Schaefer
8e38e98780 Bug 480114 Fix package URL dialog box. 2015-10-20 12:00:26 -04:00
Doug Schaefer
063ab089db Improve robustness of downloads and add license confirmation.
Bad things were happening when the downloads of the tools and sdk
failed. Added retries and changed the order of the downloads so that
partial downloads aren't registered as complete.

Also added license confirmation dialog to make sure the user agrees
to the Arduino licenses before installing the tools and sdk.

Change-Id: Ie8f4fcd041d8e89195bc7d3551c63fd3270881ef
2015-10-10 19:18:48 -04:00
Doug Schaefer
598690f75c Point at my copy of make.exe so we don't have to ftp equation.org.
Change-Id: Idf22a2eda8112550e5aa4172eae5d0fa49c9c1c2
2015-09-11 22:58:41 -04:00
Doug Schaefer
586937fc05 Try Arduino without adding things to the enviornment.
Full paths to tools seems to be the norm for the arduino platform
definitions. We're having trouble on Windows finding make so let's
try without then env and put the full path to make as well.

Change-Id: I0143c7b36d93a035ec07ded5b55859bcef7ce0d0
2015-09-11 12:01:00 -04:00
Doug Schaefer
4ba5681024 Fix template loading for packaged bundles. Remove src folder.
Change-Id: Ie0a00e36e6ffd4dc8fa920f6823c04cfd538cbeb
2015-09-09 11:27:04 -04:00
Doug Schaefer
cd7319b883 [Arduino] Get things working on Windows again.
Change-Id: I0bc70a504fcc36cca36d646f35791c6c6fe08345
2015-09-08 13:58:40 -04:00
Doug Schaefer
d3e0ebc390 [Arduino] Force reindex when changing build configs.
Also fixes duplicate markers being created by the error parser.

Change-Id: I02d2430df40e62d8a329bfe0ea8728e06afca059
2015-09-08 11:06:46 -04:00
Doug Schaefer
eca5073324 Support for platform libraries for Arduino.
Went to use the ESP8266 wifi library and couldn't since it's shipped
with the esp8266 platform.

Also fixed up a platform sdk problem that prevented the project from
building even after I added the library.

Change-Id: If99596f1f531f62f7553b238aa7cf0d6c426aca8
2015-09-06 02:08:34 -04:00
Doug Schaefer
a887378f70 Arduino "menus" and stuff needed for ESP8266.
Change-Id: Ia275d697cb08b393445727a08768ca8d451c7537
2015-09-05 17:10:33 -04:00
Doug Schaefer
832f2bb899 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: I6b134712d3189ae3559cae3e412acd7d3b1df7f1
2015-09-02 16:33:34 -04:00
Doug Schaefer
3e704522ba 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 09:42:00 -04:00
Doug Schaefer
49cfd17ccb Arduino Library Support
Change-Id: Ifdc9075beba4002b1481576d07ed2d8d44e5c2da
2015-08-24 23:16:19 -04:00
Doug Schaefer
e79a534ba3 Remove dependency on apache http client. Don't need it.
Change-Id: Ic12222668217dab543e231bfbf2615757d6dc389
2015-08-18 21:20:45 -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