This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
[trunk+v3] ConfigTool serial baud options
- From: John Dallaway <john at dallaway dot org dot uk>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Mon, 23 Feb 2009 20:56:04 +0000
- Subject: [trunk+v3] ConfigTool serial baud options
This patch rationalises the set of serial baud options presented by the
eCos Configuration Tool. Checked in.
John Dallaway
Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/host/tools/configtool/ChangeLog,v
retrieving revision 1.77
diff -u -5 -r1.77 ChangeLog
--- ChangeLog 16 Feb 2009 09:17:42 -0000 1.77
+++ ChangeLog 23 Feb 2009 20:49:01 -0000
@@ -1,5 +1,10 @@
+2009-02-23 John Dallaway <john@dallaway.org.uk>
+
+ * standalone/wxwin/settingsdlg.cpp: Rationalise serial baud options.
+ [ Bugzilla 1000687 ]
+
2009-02-16 John Dallaway <john@dallaway.org.uk>
* standalone/wxwin/mainwin.cpp: Tweak the conflicts status pane width.
* standalone/wxwin/configtooldoc.cpp, standalone/wxwin/filename.cpp:
Index: standalone/wxwin/settingsdlg.cpp
===================================================================
RCS file: /cvs/ecos/ecos/host/tools/configtool/standalone/wxwin/settingsdlg.cpp,v
retrieving revision 1.7
diff -u -5 -r1.7 settingsdlg.cpp
--- standalone/wxwin/settingsdlg.cpp 29 Jan 2009 17:47:50 -0000 1.7
+++ standalone/wxwin/settingsdlg.cpp 23 Feb 2009 20:49:05 -0000
@@ -1103,27 +1103,35 @@
wxStaticText *item20 = new wxStaticText( parent, wxID_STATIC, _("&Baud:"), wxDefaultPosition, wxDefaultSize, 0 );
item16->Add( item20, 0, wxALIGN_CENTRE|wxLEFT|wxTOP|wxBOTTOM, 5 );
wxString strs21[] =
{
+ _("50"),
+ _("75"),
_("110"),
+// _("134.5"),
+ _("150"),
+ _("200"),
_("300"),
_("600"),
_("1200"),
+ _("1800"),
_("2400"),
+ _("3600"),
_("4800"),
+ _("7200"),
_("9600"),
_("14400"),
_("19200"),
_("38400"),
- _("56000"),
_("57600"),
_("115200"),
- _("128000"),
- _("256000")
+ _("230400"),
+ _("460800"),
+ _("921600")
};
- wxChoice *item21 = new wxChoice( parent, ecID_RUN_PROPERTIES_SERIAL_PORT_SPEED, wxDefaultPosition, wxSize(80,-1), 15, strs21, 0 );
+ wxChoice *item21 = new wxChoice( parent, ecID_RUN_PROPERTIES_SERIAL_PORT_SPEED, wxDefaultPosition, wxSize(90,-1), 22, strs21, 0 );
item16->Add( item21, 0, wxALIGN_CENTRE|wxALL, 5 );
item14->Add( item16, 0, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5 );
wxSizer *item22 = new wxBoxSizer( wxHORIZONTAL );