Skip to main content
summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorWaqas Ilyas2019-01-08 10:53:40 -0500
committerJonah Graham2019-01-08 15:14:07 -0500
commita05bc1a576d9991c3fe1a958eb322f44363c3e59 (patch)
tree25e6f5805919c3c54d59be992f6343316eb6d7d5 /native
parent4ed5a2ab13f58a44b1202a9f4afaa20736183f37 (diff)
downloadorg.eclipse.cdt-a05bc1a576d9991c3fe1a958eb322f44363c3e59.tar.gz
org.eclipse.cdt-a05bc1a576d9991c3fe1a958eb322f44363c3e59.tar.xz
org.eclipse.cdt-a05bc1a576d9991c3fe1a958eb322f44363c3e59.zip
Bug 542849: List serial devices starting with ttyS
Change-Id: I874bdebaec7a04257a81aea4c8419f3a783cdf12 Signed-off-by: Waqas Ilyas <waqas.ilyas@gmail.com>
Diffstat (limited to 'native')
-rw-r--r--native/org.eclipse.cdt.native.serial/META-INF/MANIFEST.MF2
-rw-r--r--native/org.eclipse.cdt.native.serial/pom.xml2
-rw-r--r--native/org.eclipse.cdt.native.serial/src/org/eclipse/cdt/serial/SerialPort.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/native/org.eclipse.cdt.native.serial/META-INF/MANIFEST.MF b/native/org.eclipse.cdt.native.serial/META-INF/MANIFEST.MF
index 321d44aa76..005d1d1723 100644
--- a/native/org.eclipse.cdt.native.serial/META-INF/MANIFEST.MF
+++ b/native/org.eclipse.cdt.native.serial/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Serial Port
Bundle-SymbolicName: org.eclipse.cdt.native.serial
-Bundle-Version: 1.1.2.qualifier
+Bundle-Version: 1.1.100.qualifier
Bundle-Vendor: Eclipse CDT
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: org.eclipse.cdt.serial
diff --git a/native/org.eclipse.cdt.native.serial/pom.xml b/native/org.eclipse.cdt.native.serial/pom.xml
index 5b224d9a97..b56b247a99 100644
--- a/native/org.eclipse.cdt.native.serial/pom.xml
+++ b/native/org.eclipse.cdt.native.serial/pom.xml
@@ -23,7 +23,7 @@
<relativePath>../../pom.xml</relativePath>
</parent>
- <version>1.1.2-SNAPSHOT</version>
+ <version>1.1.100-SNAPSHOT</version>
<artifactId>org.eclipse.cdt.native.serial</artifactId>
<packaging>eclipse-plugin</packaging>
diff --git a/native/org.eclipse.cdt.native.serial/src/org/eclipse/cdt/serial/SerialPort.java b/native/org.eclipse.cdt.native.serial/src/org/eclipse/cdt/serial/SerialPort.java
index f81cd60249..0b8f071b8e 100644
--- a/native/org.eclipse.cdt.native.serial/src/org/eclipse/cdt/serial/SerialPort.java
+++ b/native/org.eclipse.cdt.native.serial/src/org/eclipse/cdt/serial/SerialPort.java
@@ -244,7 +244,7 @@ public class SerialPort {
if (osName.equals("Mac OS X")) { //$NON-NLS-1$
return listDevs(Pattern.compile("cu\\..*")); //$NON-NLS-1$
} else if (osName.equals("Linux")) { //$NON-NLS-1$
- return listDevs(Pattern.compile("(ttyUSB|ttyACM).*")); //$NON-NLS-1$
+ return listDevs(Pattern.compile("(ttyUSB|ttyACM|ttyS).*")); //$NON-NLS-1$
} else if (osName.startsWith("Windows")) { //$NON-NLS-1$
List<String> ports = new ArrayList<>();
int i = 0;

Back to the top