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

67 commits

Author SHA1 Message Date
Doug Schaefer
f36e081d49 Bug 485100 - Fix library page. Cherry picked from master.
Change-Id: I84b920faba0c8d41a07466bb02aa33b446d46e95
2016-01-16 14:11:12 -05:00
Christian Walther
58d36661ab 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)
.

Conflicts:
	toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/build/ArduinoBuildConfiguration.java

Change-Id: Ic26af7502a9f104194d242e4cf1d0cf836ff1b5c
Signed-off-by: Christian Walther <walther@indel.ch>
2015-12-30 20:17:28 -05:00
Doug Schaefer
6983ecd405 Bug 484925 - Fix path to make on Windows.
Also make fixes up building with the default build config so
that it has a name.
2015-12-28 15:14:16 -05:00
Doug Schaefer
a590b75c92 Bug 484285 - Slightly better install/uninstall Arduino package icons.
Change-Id: Iaf8540ff8362b428696b1155a266dcd69f5bef10
2015-12-13 21:39:52 -05:00
Doug Schaefer
b724c1fa17 Bug 480580 - [Arduino] Be more flexible about serial port names.
Allow empty for testing or setting up and allow freeform in case the
desired serial port doesn't match our filter.

Change-Id: Iff94b6b7fcb0acf4d2109e818c3b5de9a013086e
2015-12-07 20:28:21 -05:00
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
f7a9a69e24 Oops, missing class.
Change-Id: Iff3e390e338c283d4c2f8a7f469eff7283cbf3e6
2015-12-01 21:04:49 -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
acf1d055c1 Bug 480577 - Add an empty tab group for Arduino launch configs
This prevents the error in the launch config dialog so you can delete
orphaned configs.

Change-Id: I9c33547a506b32260f4a258ec1911f32fd363df2
2015-11-01 21:59:31 -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
e61edf0d66 Bug 480579 - Put platform libs into proper categories.
I had created a category for platform libraries, but some of those
libraries actually belong to real categories. So, let's just use
them instead.

Change-Id: Ie94b546e4c21b2d6b545becc781ca0dc02f5379d
2015-10-25 20:20:07 -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
a9034fa6e9 Bug 480334 - add dependency on CDT feature to make sure it's there.
Change-Id: I9445521483b680bdde4acb97dee556204a29de65
2015-10-21 22:22:16 -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
Benjamin Cabé
31ef77b3b1 Bug 480345 - Invalid values in Arduino project properties
Fix the enablement condition for ArduinoTargetPropertyPage.

Change-Id: Ib9d69d2cf03733a4a21cd0173a1e342f2549efb9
Signed-off-by: Benjamin Cabé <benjamin@eclipse.org>
2015-10-21 20:51:04 -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
97f85e0f6b Arduino also needs the Remote Console feature for the serial monitor.
Change-Id: I3e785d6dba5b698fe15c8b2d32e923c9be79edad
2015-09-09 13:47:12 -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
a2e0c459bd Add description text for board and library install pages.
Change-Id: I6354ab5cc54e16df3ffe0d27fae0eec4158d9546
2015-08-31 21:35:05 -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
Marc-Andre Laperle
18ca0c7583 Fix typo: Aurdino -> Arduino
Change-Id: Ic9a49e519a4eca85da756271a72243f59397e127
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2015-07-27 12:56:44 -04:00