Skip to main content
path: root/native
diff options
authorDoug Schaefer2017-05-17 13:57:01 -0400
committerDoug Schaefer2017-05-23 16:41:00 -0400
commit0880413e98069b52e3cb1f3e00da7336a8b82a64 (patch)
treedc6313ef8c154ac7a55bfaf347d081b847a4d253 /native
parente74222b86c8ad35cc1534f370ca11587d8365efb (diff)
Bug 516836 Terminal support for Arduino.
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
Diffstat (limited to 'native')
1 files changed, 2 insertions, 1 deletions
diff --git a/native/org.eclipse.cdt.native.serial/src/org/eclipse/cdt/serial/ b/native/org.eclipse.cdt.native.serial/src/org/eclipse/cdt/serial/
index 24c9002cfb..e6b6c89aac 100644
--- a/native/org.eclipse.cdt.native.serial/src/org/eclipse/cdt/serial/
+++ b/native/org.eclipse.cdt.native.serial/src/org/eclipse/cdt/serial/
@@ -365,7 +365,8 @@ public class SerialPort {
public void resume() throws IOException {
synchronized (pauseMutex) {
isPaused = false;
- open();
+ handle = open0(portName, baudRate.getRate(), byteSize.getSize(), parity.ordinal(), stopBits.ordinal());
+ isOpen = true;

Back to the top