Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/native
AgeCommit message (Collapse)AuthorFilesLines
2019-03-19Build with Eclipse 2019-03 dependenciesMarc-Andre Laperle1-94/+0
CDT nows defaults to targetting Eclipse 4.11 along with dependencies in the Eclipse 2019-03 simultaenous release. Once consequence is that 32-bit and ppc64 fragments are removed. Change-Id: I032fedb27a4e5086f10051b3b2ca9c9c59c3b965 Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2019-03-01[releng] Bump version to 9.8.0Jonah Graham2-2/+2
Change-Id: I3861d4c5d0eecaf9dd370f269a655e666b60561a
2019-01-08Bug 542849: List serial devices starting with ttySWaqas Ilyas3-3/+3
Change-Id: I874bdebaec7a04257a81aea4c8419f3a783cdf12 Signed-off-by: Waqas Ilyas <waqas.ilyas@gmail.com>
2018-12-10[releng] Bump version to 9.7.0Jonah Graham2-2/+2
Change-Id: Icaa0b6acf73e3a19e0d102fa8ae784e631d8743a
2018-11-24Bug 540373: Update the compiler warnings/ignoresJonah Graham1-1/+1
The previous alignment of all the warnings/ignores led to too many warnings that weren't there before. This commit relaxes them a bit. The core/org.eclipse.cdt.core/.settings/org.eclipse.jdt.core.prefs is still the "master" copy, with releng/scripts/check_code_cleanliness.sh containing the exceptions that apply to test plug-ins. Change-Id: Ibd4e31ade0b42b31e7cbe5a94f06c6fc15183a56
2018-11-22Bug 540373: Cleanup: Format & Remove trailing whitespaceJonah Graham6-96/+52
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Format source code - Remove trailing white spaces on all lines and completing the wizard Change-Id: I63685372c6bcc67719bcf145123bcb72e5b00394
2018-11-22Bug 540373: Standard .settings auto appliedJonah Graham5-0/+812
The releng/scripts/apply_jdt_prefs_to_all_projects.sh was run to copy standard settings to all other projects. Change-Id: I4436c947d7f0142f56b709e661379c3eb54f666b
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham11-50/+91
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22Bug 540371: normalize files before applying EPLv2Jonah Graham1-2/+2
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2018-10-30Bug 540610 - Add Automatic-Module-Name headerKarsten Thoms1-0/+1
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-10-23Bug 540367 - Increment version numbersWilliam Riley2-2/+2
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2
2018-06-17Revert "Bug 534286. Made read(byte[],int,int) blocking"Doug Schaefer1-26/+9
This reverts commit e5c7bb64f7ea88b517281d8ed312115c3123f322. Change-Id: I565f9eb2728d0ff0199e61f3f25df4aa0b64f17b (cherry picked from commit e6550c7a10b51ae7deeb78138277b69c2d6a9ec3)
2018-06-05[releng] Bump version to 9.6.0Jonah Graham2-2/+2
Change-Id: I1618eaeab14b421155af733a73e36f6e37ea0b85
2018-05-28Bug 534286. Made read(byte[],int,int) blockingWaqas Ilyas1-9/+26
Added a loop in read(byte[], int, int) to block until any input is available. Or until the port is closed, or an exception occurs. Change-Id: I1ead6f465571274e77e74de685b8185c8cdde108 Signed-off-by: Waqas Ilyas <waqas.ilyas@gmail.com>
2018-05-02Bug 482950. Reset the read pointer when array is filled with new dataWaqas Ilyas1-0/+2
Change-Id: I4bc9d2969d4ef69657d8a825659cafbc3680119c Signed-off-by: Waqas Ilyas <waqas.ilyas@gmail.com>
2018-02-13[releng] Bump version to 9.5.0Jonah Graham2-2/+2
Change-Id: Ie342f02f7aae633f41a7ab7d39c21e056793a04a
2018-02-08Bug 530620 - Hook build of native serial port driver into maven buildMat Booth2-4/+232
In the same vein as commit dff6b3bae3d, this commit adds profiles to trigger the build of the serial port component for the current architecture, only when the profile is activated. The serial port makefile is also improved to support building for ppc64 and ppc64le architectures and to honour CFLAGS and LDFLAGS that might be set in the environment, such as during RPM build. I also hooked in the makefile "clean" targets so that invoking "mvn clean verify" will do the right thing. This simplifies the build for downstreams building from source significantly. Change-Id: Ie8cea95d953b256a1f62b77c76370ed7b3d81cee Signed-off-by: Mat Booth <mat.booth@redhat.com>
2017-11-30Bug 515305 - Fix 32-bit serial port dllDoug Schaefer2-1/+1
It was depending on the libgcc dll. Changed to link it statically. Change-Id: Ifd8610c78d3861f3c4cd82fde3bb47f5c3afe594
2017-11-13Serial Flash Target and Launch. Clean up Generic Launch.Doug Schaefer1-8/+16
Adds target, launch classes, and launch bar support for targets intended to upload their code to flash using a Serial Port. The port is co-ordinated with the Serial Terminal so that the terminal is paused during the upload. Also cleaned up the Generic Launch so it's not using the External Tools launch which has a number of UX issues. This simplifies the settings and gives us more control. And it's made reusable for the Serial Flash launch. Change-Id: I31e9970243fbf1cf22d027bbdb892fde104dbefe
2017-10-06Add UI tests plugin for CMake. Fix a couple of bugs it found.Doug Schaefer1-3/+0
Also restructures the pom.xmls to put the modules in the top level so we can order them to have the test plugins build after them. Change-Id: I2f0e4ebd252791fb8844cdf0f635d574946207aa
2017-06-19Fix serial port naming on Windows to ensure get() method works.Doug Schaefer1-6/+10
Change-Id: Ida9b9568280b9530c8e7ff55b45e503889208dd1 (cherry picked from commit 34a3a012595ae95a876a77ea47ed47e7b843087f)
2017-05-23Bug 516836 Terminal support for Arduino.Doug Schaefer1-1/+2
Add Arduino Serial Monitor as a Terminal Connector type. It uses the Terminal's new cdtserial connector for communication and adds a config panel that lets you pick the Arduino remote connection to auto select the serial port. Also switched the Arduino launch to fetch the serial port out of the global registry to pause and resume the port while launching. The Terminal does not use the remote connection to get the serial port. Note: also adding the terminal as a dependency for builds. Yes, further adds to our build cycle, but we're dealing with it so far with o.e.remote. Change-Id: I5a7cc9ffbf8ae60cd86e0e5440547d12202acbac
2017-05-15Add a registry of open Serial Ports.Doug Schaefer2-1/+62
This will be used by components that need to pause an open serial port to run some other functionality over the port. For example, Arduino needs to pause the port to run the bootloader. This removes the need for Serial ports to use o.e.remote. Change-Id: Idb14598541ccf4e87c702cf2e5442335c64a6c65
2017-03-23Bug 509118. Extend regexp to detect devices in /dev for Linux.Zoltan Adasz1-1/+1
Change-Id: I1dfcca8f34019a210702473afb946b2a76cb37d7 Signed-off-by: Zoltan Adasz <adanrg@gmail.com>
2017-02-14releng: Make use of Tycho POM-less functionalityMarc-Andre Laperle2-17/+18
This removes a lot of pom.xml from the source tree. This is using the "POM-less" Tycho functionality. See https://wiki.eclipse.org/Tycho/Release_Notes/0.24#POM-less_Tycho_builds One advantage of this is that you do not need to update the version in the pom.xml when you change it in the MANIFEST.MF because the pom.xml is automatically generated. This also reduces a lot of the duplicated information and pom.xml repetition. - Maven 3.3 and up is required. - Only eclipse-plugins and eclipse-features can be pom-less. Repositories, target and others still have pom.xml. - New parent poms are added because a parent is necessary directly one level above the plug-in/feature that will have its pom generated - Some test plug-ins had to be renamed .test -> .tests because it's required so that it detects that it's a test plug-in - Some suites were renamed so that they all use the same consistent name "AutomatedIntegrationSuite" - Profiles were added for the more common test configurations. They are activated by the presence of simple .properties files that only serve to activate the correct profile. The profiles: - One for UI tests (UI present and start in UI thread) - One for SWTBot tests (UI present and do not start in UI thread) Other test plug-ins that are too different are kept intact and still have a pom.xml - Fragments are kept intact since they all have different target platform configurations Change-Id: I9d73380eb766f547830c552daf08053a30b1845c Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2017-01-20Fixes for Windows Serial Port.Doug Schaefer5-13/+40
Cleaned up some error messages. Especially when a system has no serial ports. Also added a delay when ports are closed since some serial port drivers (FDTI in particular) take a bit longer to properly close. Especially important in pause situations where we want to use the serial port for some other purpose right away. Change-Id: Ifc9b7171682962e0aed8e9ed9ebf5472fc9e8206 (cherry picked from commit db3d5974e66ac443ee773e062f62fe8537933f3c)
2016-11-16Update version to 9.3.0Marc Khouzam1-1/+1
Change-Id: Ic953ccc5d38ff3661ca44de21ed8c4b7dad5b246
2016-11-15Update version to 9.2.0Marc Khouzam1-1/+1
Change-Id: I36ad4218b20b8ea70584c89f5be45c757bf4c714
2016-08-26Fix Windows 32-bit serial.dll.Doug Schaefer5-1/+1
Change-Id: I4bccdf56a7317bf5f64209c58edfd7991081bc82 (cherry picked from commit dbd2b70814f822e5e2eea79bab2f9c89a964b8a2)
2016-08-17Update version to 9.1.0Marc Khouzam1-1/+1
This commit used the script releng/scripts/ChangeFeaturesVersion.sh Change-Id: I8274a6e8dd5c0f1e450f07952e138b265a441a62
2016-08-12Bug 497691 - Allow all cu.* serial ports on Mac. Remove tty.*Doug Schaefer1-1/+1
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
2016-06-27Bug 481199 - Add support for cu serial devices on Mac.Doug Schaefer1-1/+1
Change-Id: I1323ad71ab8d4d76c74380ad06d5216865bebe92
2016-06-22Move the rest of the CDT plugins to java 8Marc Khouzam3-5/+5
This change was generated using the script: releng/scripts/ChangeJavaVersion.sh Change-Id: I2ad96dc682a5acb8529c3edec40de279c331b5a4
2016-04-14Serial - Support COM ports > 9. Set default baud rate to 115200.Doug Schaefer2-2/+6
Change-Id: I2ca955a6071090a47a47eab3e494d308a1019e52
2016-04-06Bug 486307 - Throw exception when serial connection fails.Jonathan Williams18-762/+490
Build windows using mingw cross on Ubuntu. Clean up Makefiles and remove unused Windows code. Change-Id: Ic2d36ddbef7e4eecfcee12a496b923326c8a51c6 Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
2016-01-18Incremented CDT features version to 9.0.0Marc Khouzam1-1/+1
This includes bumping the standalone debugger to 9.0.0 Change-Id: I55fae1cec995b5f6865a5b174c004ed1b76e9bea
2015-10-19Bug 480077 Be more lenient on the *usbserial* port names.Doug Schaefer1-8/+9
Need to add support for /dev/tty.wchusbserial*. Change-Id: I219070b7464eff1781baa57882c93d4b70032fb2 (cherry picked from commit 652943dfdff297faf3b6e730e60ba600af081016)
2015-06-10Incremented CDT feature version to 8.8.0Marc Khouzam1-1/+1
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-29Try and fix missing about file in native.serial.source.Doug Schaefer4-61/+2
2015-05-05Incremented CDT feature version to 8.7.0Marc Khouzam1-1/+1
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5 Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04Bug 466209 - Initial commit of Arduino plugins.Doug Schaefer1-5/+76
Includes freemarker jar which we have CQ approval for. Change-Id: I8f36cd7f4539497bab5f106f84216f75a25da3a0
2015-04-08Windows and Linux serial port support. Also played with I/O streams.Doug Schaefer20-69/+674
Added buffered writes as well as non-native unbuffered reads. Change-Id: I3577746ed8215844e02601608f4a9173d1639aa1
2015-04-06Bug 459971 - Move serial port to it's own plug-in. Starting with Mac.Doug Schaefer23-0/+892
There are a number of requests to support serial port independent of CDT and independent of Eclipse. Putting the serial port into it's own plug-in so it's jar can be loaded into pure Java apps. Change-Id: I9b35d9bedeee0a0b1c16ad1c884830894320a726

    Back to the top