mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 10:11:31 +00:00
This commit is contained in:
parent
ed2abdb9a2
commit
1456bd05cf
2 changed files with 20 additions and 19 deletions
|
|
@ -6,20 +6,20 @@ using System.IO.Ports;
|
|||
|
||||
namespace Cosmos.Debug.Common.CDebugger
|
||||
{
|
||||
public class DebugConnectorSerial : DebugConnectorStream {
|
||||
private SerialPort mPort;
|
||||
//public class DebugConnectorSerial : DebugConnectorStream {
|
||||
// private SerialPort mPort;
|
||||
|
||||
public DebugConnectorSerial(byte aPort) {
|
||||
// TODO: MtW - Make COM port configurable
|
||||
mPort = new SerialPort("COM" + aPort, 9600, Parity.None, 8, StopBits.One);
|
||||
mPort.Handshake = Handshake.None;
|
||||
mPort.Open();
|
||||
Start(mPort.BaseStream);
|
||||
}
|
||||
// public DebugConnectorSerial(byte aPort) {
|
||||
// // TODO: MtW - Make COM port configurable
|
||||
// mPort = new SerialPort("COM" + aPort, 9600, Parity.None, 8, StopBits.One);
|
||||
// mPort.Handshake = Handshake.None;
|
||||
// mPort.Open();
|
||||
// Start(mPort.BaseStream);
|
||||
// }
|
||||
|
||||
public override void WaitConnect() {
|
||||
//TODO: Serial we cant detect connection, but we can wait for first byte...
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
// public override void WaitConnect() {
|
||||
// //TODO: Serial we cant detect connection, but we can wait for first byte...
|
||||
// throw new NotImplementedException();
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,13 +12,14 @@
|
|||
Matthijs</h3>
|
||||
<ul>
|
||||
<li>Ask on forums: How to debug the vsdebug pkg?</li>
|
||||
<li>From debug pkg - how to get the current .cosmos project being debugged?</li>
|
||||
<li>Pipe reuse wo restarting vs</li>
|
||||
</ul>
|
||||
<p>
|
||||
Post MS5</p>
|
||||
<h3>
|
||||
Post MS5</h3>
|
||||
<ul>
|
||||
<li>Launch GDB client</li>
|
||||
<li>Launch GDB client<br />
|
||||
From debug pkg - how to get the current .cosmos project being debugged?<br />
|
||||
AD7Porcess.ctor<br />
|
||||
NameValuePair - ProjectFile</li>
|
||||
<li>Build: ISOs etc get rebuilt even when Im running a non Cosmos project (such as
|
||||
GDB)</li>
|
||||
<li>express</li>
|
||||
|
|
|
|||
Loading…
Reference in a new issue