From 8a45638df7e16aab861b54fee882477b3aeee4f2 Mon Sep 17 00:00:00 2001 From: Alex Schuilenburg Date: Thu, 19 Oct 2017 15:05:16 +0100 Subject: [PATCH] Bug 526254: Increase choice of speeds to match that of modern USB Serial FTDI chips. Increase the choice of serial baud rates for GDB as modern USB Serial FTDI chips can reliably support serial baud rates higher than the old RS232 115200 maxiumum. Change-Id: If60fd006fdb02d94e86ef2e76a26b56da7a3a067 Signed-off-by: Alex Schuilenburg --- .../internal/ui/launching/SerialPortSettingsBlock.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/SerialPortSettingsBlock.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/SerialPortSettingsBlock.java index c44b4c8a5bb..cf34cc074f0 100644 --- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/SerialPortSettingsBlock.java +++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/SerialPortSettingsBlock.java @@ -43,8 +43,12 @@ public class SerialPortSettingsBlock extends Observable { private ComboDialogField fSpeedField; - private String fSpeedChoices[] = { "9600", "19200", "38400", "57600", "115200" }; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ - + private String fSpeedChoices[] = { + "9600", "19200", "38400", "57600", "115200", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ + "230400", "460800", "921600", "1000000", "1152000", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ + "1500000", "2000000", "2500000", "3000000", "3500000", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ + "4000000" //$NON-NLS-1$ + }; private Control fControl; private String fErrorMessage = null;