moving repo from git to local repo
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
||||||
Generated
+2520
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,581 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.IO.Ports;
|
||||||
|
using System.Threading;
|
||||||
|
using System.IO;
|
||||||
|
using Renci.SshNet;
|
||||||
|
|
||||||
|
// Based on, see below
|
||||||
|
// https://www.codeproject.com/Articles/678025/Serial-Comms-in-Csharp-for-Beginners
|
||||||
|
|
||||||
|
|
||||||
|
namespace uartTestGUI
|
||||||
|
{
|
||||||
|
public partial class Form1 : Form
|
||||||
|
{
|
||||||
|
|
||||||
|
SshClient ssh_client;
|
||||||
|
|
||||||
|
public Form1()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
// ssh_client = new SshClient(ipAddress.Text, "root", "");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void backgroundTask()
|
||||||
|
{
|
||||||
|
// while (true == status_update_en.Checked)
|
||||||
|
while (true)
|
||||||
|
{
|
||||||
|
|
||||||
|
ssh_connect.Invoke(new delegateRegDump(RegDump),
|
||||||
|
new object[] { });
|
||||||
|
|
||||||
|
|
||||||
|
Thread.Sleep(1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public delegate void delegateRegDump();
|
||||||
|
|
||||||
|
|
||||||
|
string ssh_ReadReg(string addr)
|
||||||
|
{
|
||||||
|
SshCommand cmd;
|
||||||
|
string str = String.Empty;
|
||||||
|
string str1 = String.Empty;
|
||||||
|
if (true == ssh_client.IsConnected)
|
||||||
|
{
|
||||||
|
str1 = "devmem " + addr;
|
||||||
|
Console.WriteLine("ssh_ReadReg(): Command: "+str1);
|
||||||
|
// Console.WriteLine(str1);
|
||||||
|
|
||||||
|
|
||||||
|
cmd = ssh_client.RunCommand(str1);
|
||||||
|
str = cmd.Result;
|
||||||
|
Console.WriteLine("ssh_ReadReg(): Response:"+str);
|
||||||
|
// Console.WriteLine(str);
|
||||||
|
return str.Substring(2, 8);
|
||||||
|
}
|
||||||
|
return "FFFFFFFF";
|
||||||
|
}
|
||||||
|
|
||||||
|
void ssh_WriteReg(string addr, string val)
|
||||||
|
{
|
||||||
|
SshCommand cmd;
|
||||||
|
string str = String.Empty;
|
||||||
|
|
||||||
|
if (true == ssh_client.IsConnected)
|
||||||
|
{
|
||||||
|
str = "devmem " + addr + " 32 " + val;
|
||||||
|
Console.WriteLine("ssh_WriteReg(): Command:"+str);
|
||||||
|
// Console.WriteLine(str); // Get the command output
|
||||||
|
|
||||||
|
cmd = ssh_client.RunCommand(str);// Execute a command
|
||||||
|
|
||||||
|
Console.WriteLine("ssh_WriteReg(): Response:"+ cmd.Result);
|
||||||
|
// Console.WriteLine(cmd.Result); // Get the command output
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private void RegDump()
|
||||||
|
{
|
||||||
|
if (true == ssh_client.IsConnected)
|
||||||
|
{
|
||||||
|
string str;
|
||||||
|
|
||||||
|
reg_0x00.Text = "";
|
||||||
|
reg_0x04.Text = "";
|
||||||
|
reg_0x14.Text = "";
|
||||||
|
reg_0x20.Text = "";
|
||||||
|
reg_0x28.Text = "";
|
||||||
|
reg_0x2C.Text = "";
|
||||||
|
reg_0x30.Text = "";
|
||||||
|
reg_0x34.Text = "";
|
||||||
|
reg_0x38.Text = "";
|
||||||
|
reg_0x3C.Text = "";
|
||||||
|
reg_0x40.Text = "";
|
||||||
|
reg_0xD4.Text = "";
|
||||||
|
reg_0xD8.Text = "";
|
||||||
|
reg_0xDC.Text = "";
|
||||||
|
reg_0xE0.Text = "";
|
||||||
|
reg_0xE4.Text = "";
|
||||||
|
reg_0xE8.Text = "";
|
||||||
|
reg_0xEC.Text = "";
|
||||||
|
reg_0xF0.Text = "";
|
||||||
|
|
||||||
|
reg_0x00.Text = ssh_ReadReg("0x80000000");
|
||||||
|
//
|
||||||
|
str = ssh_ReadReg("0x80000004");
|
||||||
|
uint val = (Convert.ToUInt32(str, 16));
|
||||||
|
reg_0x04.Text = str;
|
||||||
|
if (0x2 == (val & 0x02))
|
||||||
|
{
|
||||||
|
qsfp1_present.BackColor = Color.Red;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
qsfp1_present.BackColor = Color.LightGreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (0x20 == (val & 0x020))
|
||||||
|
{
|
||||||
|
qsfp2_present.BackColor = Color.Red;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
qsfp2_present.BackColor = Color.LightGreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (0x200 == (val & 0x0200))
|
||||||
|
{
|
||||||
|
qsfp3_present.BackColor = Color.Red;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
qsfp3_present.BackColor = Color.LightGreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (0x2000 == (val & 0x02000))
|
||||||
|
{
|
||||||
|
qsfp4_present.BackColor = Color.Red;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
qsfp4_present.BackColor = Color.LightGreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
reg_0x14.Text = ssh_ReadReg("0x80000014");
|
||||||
|
reg_0x20.Text = ssh_ReadReg("0x80000020");
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
//
|
||||||
|
str = ssh_ReadReg("0x8000002C");
|
||||||
|
val = (Convert.ToUInt32(str, 16));
|
||||||
|
reg_0x2C.Text = val.ToString("D");
|
||||||
|
|
||||||
|
reg_0x30.Text = ssh_ReadReg("0x80000030");
|
||||||
|
//
|
||||||
|
str = ssh_ReadReg("0x80000034");
|
||||||
|
val = (Convert.ToUInt32(str, 16));
|
||||||
|
reg_0x34.Text = val.ToString("D");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
reg_0x38.Text = ssh_ReadReg("0x80000038");
|
||||||
|
//
|
||||||
|
str = ssh_ReadReg("0x8000003C");
|
||||||
|
val = (Convert.ToUInt32(str, 16));
|
||||||
|
reg_0x3C.Text = val.ToString("D");
|
||||||
|
//
|
||||||
|
str = ssh_ReadReg("0x80000040");
|
||||||
|
val = (Convert.ToUInt32(str, 16));
|
||||||
|
reg_0x40.Text = val.ToString("D");
|
||||||
|
|
||||||
|
|
||||||
|
reg_0xD4.Text = ssh_ReadReg("0x800000D4");
|
||||||
|
reg_0xD8.Text = ssh_ReadReg("0x800000D8");
|
||||||
|
reg_0xDC.Text = ssh_ReadReg("0x800000DC");
|
||||||
|
reg_0xE0.Text = ssh_ReadReg("0x800000E0");
|
||||||
|
reg_0xE4.Text = ssh_ReadReg("0x800000E4");
|
||||||
|
reg_0xE8.Text = ssh_ReadReg("0x800000E8");
|
||||||
|
reg_0xEC.Text = ssh_ReadReg("0x800000EC");
|
||||||
|
reg_0xF0.Text = ssh_ReadReg("0x800000F0");
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private void cmac_0_RegDump()
|
||||||
|
{
|
||||||
|
if (true == ssh_client.IsConnected)
|
||||||
|
{
|
||||||
|
|
||||||
|
cmac_0_reg_0x10000.Text = "";
|
||||||
|
cmac_0_reg_0x10004.Text = "";
|
||||||
|
cmac_0_reg_0x1000C.Text = "";
|
||||||
|
cmac_0_reg_0x10014.Text = "";
|
||||||
|
cmac_0_reg_0x10024.Text = "";
|
||||||
|
cmac_0_reg_0x10090.Text = "";
|
||||||
|
|
||||||
|
cmac_0_reg_0x00.Text = "";
|
||||||
|
cmac_0_reg_0x04.Text = "";
|
||||||
|
cmac_0_reg_0x08.Text = "";
|
||||||
|
cmac_0_reg_0x0C.Text = "";
|
||||||
|
cmac_0_reg_0x10.Text = "";
|
||||||
|
cmac_0_reg_0x14.Text = "";
|
||||||
|
cmac_0_reg_0x18.Text = "";
|
||||||
|
cmac_0_reg_0x1C.Text = "";
|
||||||
|
|
||||||
|
cmac_0_reg_0x10000.Text = ssh_ReadReg("0x81010000");
|
||||||
|
cmac_0_reg_0x10004.Text = ssh_ReadReg("0x81010004");
|
||||||
|
cmac_0_reg_0x1000C.Text = ssh_ReadReg("0x8101000C");
|
||||||
|
cmac_0_reg_0x10014.Text = ssh_ReadReg("0x81010014");
|
||||||
|
cmac_0_reg_0x10024.Text = ssh_ReadReg("0x81010024");
|
||||||
|
cmac_0_reg_0x10090.Text = ssh_ReadReg("0x81010090");
|
||||||
|
|
||||||
|
cmac_0_reg_0x00.Text = ssh_ReadReg("0x81000000");
|
||||||
|
cmac_0_reg_0x04.Text = ssh_ReadReg("0x81000004");
|
||||||
|
cmac_0_reg_0x08.Text = ssh_ReadReg("0x81000008");
|
||||||
|
cmac_0_reg_0x0C.Text = ssh_ReadReg("0x8100000C");
|
||||||
|
cmac_0_reg_0x10.Text = ssh_ReadReg("0x81000010");
|
||||||
|
cmac_0_reg_0x14.Text = ssh_ReadReg("0x81000014");
|
||||||
|
cmac_0_reg_0x18.Text = ssh_ReadReg("0x81000018");
|
||||||
|
cmac_0_reg_0x1C.Text = ssh_ReadReg("0x8100001C");
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmac_4_RegDump()
|
||||||
|
{
|
||||||
|
if (true == ssh_client.IsConnected)
|
||||||
|
{
|
||||||
|
|
||||||
|
cmac_4_reg_0x10000.Text = "";
|
||||||
|
cmac_4_reg_0x10004.Text = "";
|
||||||
|
cmac_4_reg_0x1000C.Text = "";
|
||||||
|
cmac_4_reg_0x10014.Text = "";
|
||||||
|
cmac_4_reg_0x10024.Text = "";
|
||||||
|
cmac_4_reg_0x10090.Text = "";
|
||||||
|
|
||||||
|
cmac_4_reg_0x00.Text = "";
|
||||||
|
cmac_4_reg_0x04.Text = "";
|
||||||
|
cmac_4_reg_0x08.Text = "";
|
||||||
|
cmac_4_reg_0x0C.Text = "";
|
||||||
|
cmac_4_reg_0x10.Text = "";
|
||||||
|
cmac_4_reg_0x14.Text = "";
|
||||||
|
cmac_4_reg_0x18.Text = "";
|
||||||
|
cmac_4_reg_0x1C.Text = "";
|
||||||
|
|
||||||
|
cmac_4_reg_0x10000.Text = ssh_ReadReg("0x82010000");
|
||||||
|
cmac_4_reg_0x10004.Text = ssh_ReadReg("0x82010004");
|
||||||
|
cmac_4_reg_0x1000C.Text = ssh_ReadReg("0x8201000C");
|
||||||
|
cmac_4_reg_0x10014.Text = ssh_ReadReg("0x82010014");
|
||||||
|
cmac_4_reg_0x10024.Text = ssh_ReadReg("0x82010024");
|
||||||
|
cmac_4_reg_0x10090.Text = ssh_ReadReg("0x82010090");
|
||||||
|
|
||||||
|
cmac_4_reg_0x00.Text = ssh_ReadReg("0x82000000");
|
||||||
|
cmac_4_reg_0x04.Text = ssh_ReadReg("0x82000004");
|
||||||
|
cmac_4_reg_0x08.Text = ssh_ReadReg("0x82000008");
|
||||||
|
cmac_4_reg_0x0C.Text = ssh_ReadReg("0x8200000C");
|
||||||
|
cmac_4_reg_0x10.Text = ssh_ReadReg("0x82000010");
|
||||||
|
cmac_4_reg_0x14.Text = ssh_ReadReg("0x82000014");
|
||||||
|
cmac_4_reg_0x18.Text = ssh_ReadReg("0x82000018");
|
||||||
|
cmac_4_reg_0x1C.Text = ssh_ReadReg("0x8200001C");
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Open_ssh_connection_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
// if (false == ssh_client.IsConnected)
|
||||||
|
// {
|
||||||
|
try
|
||||||
|
{
|
||||||
|
ssh_client = new SshClient(ipAddress.Text, "root", "");
|
||||||
|
ssh_connect.Text = "Connecting...";
|
||||||
|
ssh_client.Connect();
|
||||||
|
Console.WriteLine($"Connected to {ssh_client.ConnectionInfo.Host} successfully.");
|
||||||
|
|
||||||
|
ssh_connect.BackColor = Color.LightGreen;
|
||||||
|
// SshCommand cmd = ssh_client.RunCommand("devmem 0x80000000"); // Execute a command
|
||||||
|
// Console.WriteLine("Command Output:");
|
||||||
|
// Console.WriteLine(cmd.Result); // Get the command output
|
||||||
|
// reg_0x00.Text = cmd.Result;
|
||||||
|
// read_all_regs.PerformClick();
|
||||||
|
// cmac_read_all_regs.PerformClick();
|
||||||
|
|
||||||
|
reg_0x00.Text = ssh_ReadReg("0x80000000");
|
||||||
|
cmac_0_reg_0x10024.Text = ssh_ReadReg("0x81010024");
|
||||||
|
cmac_4_reg_0x10024.Text = ssh_ReadReg("0x82010024");
|
||||||
|
ssh_connect.Text = "Connected";
|
||||||
|
|
||||||
|
// ssh_client.Disconnect();
|
||||||
|
// Thread oThread = new Thread(new ThreadStart(backgroundTask));
|
||||||
|
// oThread.IsBackground = true;
|
||||||
|
// oThread.Start();
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Console.WriteLine($"An error occurred: {ex.Message}");
|
||||||
|
ssh_connect.Text = "Connect";
|
||||||
|
ssh_connect.BackColor = Color.Red;
|
||||||
|
}
|
||||||
|
// }
|
||||||
|
// else
|
||||||
|
// {
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
private void reboot_fpga_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string str = String.Empty;
|
||||||
|
|
||||||
|
if (MessageBox.Show("Are you sure?", "", MessageBoxButtons.YesNo) == DialogResult.Yes)
|
||||||
|
{
|
||||||
|
str = String.Empty;
|
||||||
|
str += "XY";
|
||||||
|
str += "\n";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void read_all_regs_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
RegDump();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmac_reg_read_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
cmac_0_RegDump();
|
||||||
|
cmac_4_RegDump();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void dac_data_src_cmac_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
uint cntrl_reg28 = (Convert.ToUInt32(reg_0x28.Text, 16));
|
||||||
|
cntrl_reg28 |= 0x100; // bit8 = 1 <= CMAC
|
||||||
|
|
||||||
|
ssh_WriteReg("0x80000028", "0x" + cntrl_reg28.ToString("X8"));
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void dac_data_src_quadsend_rcv_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
uint cntrl_reg28 = (Convert.ToUInt32(reg_0x28.Text, 16));
|
||||||
|
cntrl_reg28 &= 0xFFFF_FEFF; // bit8 = 0 <= quadsendrecv
|
||||||
|
|
||||||
|
ssh_WriteReg("0x80000028", "0x" + cntrl_reg28.ToString("X8"));
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmac_rx_en_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
uint cntrl_reg28 = (Convert.ToUInt32(reg_0x28.Text, 16));
|
||||||
|
cntrl_reg28 &= 0xFFFF_FFFC; // bit1:0 = 0 <= cmac disabled
|
||||||
|
|
||||||
|
cntrl_reg28 |= 0x02; // bit0 = 1 <= Rx enable
|
||||||
|
|
||||||
|
ssh_WriteReg("0x80000028", "0x" + cntrl_reg28.ToString("X8"));
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmac_tx_en_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
uint cntrl_reg28 = (Convert.ToUInt32(reg_0x28.Text, 16));
|
||||||
|
cntrl_reg28 &= 0xFFFF_FFFC; // bit1:0 = 0 <= cmac disabled
|
||||||
|
|
||||||
|
cntrl_reg28 |= 0x01; // bit0 = 1 <= Tx enable
|
||||||
|
|
||||||
|
ssh_WriteReg("0x80000028", "0x" + cntrl_reg28.ToString("X8"));
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmac_rxtx_en_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
uint cntrl_reg28 = (Convert.ToUInt32(reg_0x28.Text, 16));
|
||||||
|
|
||||||
|
cntrl_reg28 |= 0x03; // bit1:0 = 1 <= Rx and Tx enable
|
||||||
|
|
||||||
|
ssh_WriteReg("0x80000028", "0x" + cntrl_reg28.ToString("X8"));
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmac_disable_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
uint cntrl_reg28 = (Convert.ToUInt32(reg_0x28.Text, 16));
|
||||||
|
cntrl_reg28 &= 0xFFFF_FFFC; // bit1:0 = 0 <= cmac disabled
|
||||||
|
|
||||||
|
ssh_WriteReg("0x80000028", "0x" + cntrl_reg28.ToString("X8"));
|
||||||
|
reg_0x28.Text = ssh_ReadReg("0x80000028");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmac_init_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
cmac_1_Init();
|
||||||
|
cmac_4_Init();
|
||||||
|
|
||||||
|
cmac_init.Text = "CMACs Initialized";
|
||||||
|
cmac_init.BackColor = Color.LightGreen;
|
||||||
|
cmac_read_all_regs.PerformClick();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void cmac_1_Init()
|
||||||
|
{
|
||||||
|
cmac_init.Text = "CMAC_1 Initializing...";
|
||||||
|
// RESET
|
||||||
|
ssh_WriteReg("0x81010000", "0x1");
|
||||||
|
cmac_0_reg_0x10000.Text = ssh_ReadReg("0x81010000");
|
||||||
|
ssh_WriteReg("0x81010000", "0xFFFFFFFF");
|
||||||
|
cmac_0_reg_0x10000.Text = ssh_ReadReg("0x81010000");
|
||||||
|
Thread.Sleep(5000);
|
||||||
|
ssh_WriteReg("0x81010000", "0x0");
|
||||||
|
cmac_0_reg_0x10000.Text = ssh_ReadReg("0x81010000");
|
||||||
|
|
||||||
|
//#:: RX ENABLE
|
||||||
|
//#:: offset 0x14
|
||||||
|
//#:: Set bit(0) to 1 to enable, do not modify other bits
|
||||||
|
ssh_WriteReg("0x81010014", "0x1");
|
||||||
|
cmac_0_reg_0x10014.Text = ssh_ReadReg("0x81010014");
|
||||||
|
|
||||||
|
//#:: TX ENABLE
|
||||||
|
//#:: offset 0xC
|
||||||
|
//#:: Set bit(0) to 1 to enable, do not modify other bits
|
||||||
|
ssh_WriteReg("0x8101000C", "0x1");
|
||||||
|
cmac_0_reg_0x1000C.Text = ssh_ReadReg("0x8101000C");
|
||||||
|
|
||||||
|
//#:: LOOPBACK MODE
|
||||||
|
//#:: 1=LB, 0=No LB
|
||||||
|
ssh_WriteReg("0x81010090", "0x0");
|
||||||
|
cmac_0_reg_0x10090.Text = ssh_ReadReg("0x81010090");
|
||||||
|
|
||||||
|
//#:: Set Destination MAC address
|
||||||
|
//#:: Broadcast (not multicast, but accepted everywhere): FF:FF:FF:FF:FF:FF
|
||||||
|
//#:: IPv4 multicast (All-hosts group): 01:00:5E:00:00:01
|
||||||
|
//#:: IPv6 multicast (All-nodes group): 33:33:00:00:00:01
|
||||||
|
ssh_WriteReg("0x81000000", "0x5E000001");
|
||||||
|
cmac_0_reg_0x00.Text = ssh_ReadReg("0x81000000");
|
||||||
|
|
||||||
|
ssh_WriteReg("0x81000004", "0x00000100");
|
||||||
|
cmac_0_reg_0x04.Text = ssh_ReadReg("0x81000004");
|
||||||
|
|
||||||
|
|
||||||
|
//#:: Set Source MAC address 02:00:00:00:00:01
|
||||||
|
ssh_WriteReg("0x81000008", "0x00000001");
|
||||||
|
cmac_0_reg_0x08.Text = ssh_ReadReg("0x81000008");
|
||||||
|
ssh_WriteReg("0x8100000C", "0x00000200");
|
||||||
|
cmac_0_reg_0x0C.Text = ssh_ReadReg("0x8100000C");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//#:: Set EtherType
|
||||||
|
//#:: 0x88B5 – IEEE “local/experimental” Ethertype (commonly used for custom payloads)
|
||||||
|
//#:: 0x0800 – IPv4 (often whitelisted by other stacks, even if the payload isn’t fully IP)
|
||||||
|
ssh_WriteReg("0x81000010", "0x000088B5");
|
||||||
|
cmac_0_reg_0x10.Text = ssh_ReadReg("0x81000010");
|
||||||
|
|
||||||
|
// PROG_FULL_ON_THRESH - 0x1C
|
||||||
|
ssh_WriteReg("0x8100001C", "0x00000100"); //256
|
||||||
|
cmac_0_reg_0x1C.Text = ssh_ReadReg("0x8100001C");
|
||||||
|
//PROG_FULL_OFF_THRESH - 0x18
|
||||||
|
ssh_WriteReg("0x81000018", "0x00000300"); //768
|
||||||
|
cmac_0_reg_0x18.Text = ssh_ReadReg("0x81000018");
|
||||||
|
}
|
||||||
|
private void cmac_4_Init()
|
||||||
|
{
|
||||||
|
cmac_init.Text = "CMAC_4 Initializing...";
|
||||||
|
// RESET
|
||||||
|
ssh_WriteReg("0x82010000", "0x1");
|
||||||
|
cmac_4_reg_0x10090.Text = ssh_ReadReg("0x82010000");
|
||||||
|
ssh_WriteReg("0x82010000", "0xFFFFFFFF");
|
||||||
|
cmac_4_reg_0x10000.Text = ssh_ReadReg("0x82010000");
|
||||||
|
Thread.Sleep(5000);
|
||||||
|
ssh_WriteReg("0x82010000", "0x0");
|
||||||
|
cmac_4_reg_0x10000.Text = ssh_ReadReg("0x82010000");
|
||||||
|
|
||||||
|
//#:: RX ENABLE
|
||||||
|
//#:: offset 0x14
|
||||||
|
//#:: Set bit(0) to 1 to enable, do not modify other bits
|
||||||
|
ssh_WriteReg("0x82010014", "0x1");
|
||||||
|
cmac_4_reg_0x10014.Text = ssh_ReadReg("0x82010014");
|
||||||
|
|
||||||
|
|
||||||
|
//#:: TX ENABLE
|
||||||
|
//#:: offset 0xC
|
||||||
|
//#:: Set bit(0) to 1 to enable, do not modify other bits
|
||||||
|
ssh_WriteReg("0x8201000C", "0x1");
|
||||||
|
cmac_4_reg_0x1000C.Text = ssh_ReadReg("0x8201000C");
|
||||||
|
|
||||||
|
|
||||||
|
//#:: LOOPBACK MODE
|
||||||
|
//#:: 1=LB, 0=No LB
|
||||||
|
ssh_WriteReg("0x82010090", "0x0");
|
||||||
|
cmac_4_reg_0x10090.Text = ssh_ReadReg("0x82010090");
|
||||||
|
|
||||||
|
//#:: Set Destination MAC address
|
||||||
|
//#:: Broadcast (not multicast, but accepted everywhere): FF:FF:FF:FF:FF:FF
|
||||||
|
//#:: IPv4 multicast (All-hosts group): 01:00:5E:00:00:01
|
||||||
|
//#:: IPv6 multicast (All-nodes group): 33:33:00:00:00:01
|
||||||
|
ssh_WriteReg("0x82000000", "0x5E000001");
|
||||||
|
cmac_4_reg_0x00.Text = ssh_ReadReg("0x82000000");
|
||||||
|
ssh_WriteReg("0x82000004", "0x00000100");
|
||||||
|
cmac_4_reg_0x04.Text = ssh_ReadReg("0x82000004");
|
||||||
|
|
||||||
|
|
||||||
|
//#:: Set Source MAC address 02:00:00:00:00:01
|
||||||
|
ssh_WriteReg("0x82000008", "0x00000001");
|
||||||
|
cmac_4_reg_0x08.Text = ssh_ReadReg("0x82000008");
|
||||||
|
ssh_WriteReg("0x8200000C", "0x00000200");
|
||||||
|
cmac_4_reg_0x0C.Text = ssh_ReadReg("0x8200000c");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//#:: Set EtherType
|
||||||
|
//#:: 0x88B5 – IEEE “local/experimental” Ethertype (commonly used for custom payloads)
|
||||||
|
//#:: 0x0800 – IPv4 (often whitelisted by other stacks, even if the payload isn’t fully IP)
|
||||||
|
ssh_WriteReg("0x82000010", "0x000088B5");
|
||||||
|
cmac_4_reg_0x10.Text = ssh_ReadReg("0x82000010");
|
||||||
|
|
||||||
|
// PROG_FULL_ON_THRESH - 0x1C
|
||||||
|
ssh_WriteReg("0x8200001C", "0x00000100"); //256
|
||||||
|
cmac_4_reg_0x1C.Text = ssh_ReadReg("0x82000018");
|
||||||
|
//PROG_FULL_OFF_THRESH - 0x18
|
||||||
|
ssh_WriteReg("0x82000018", "0x00000300"); //768
|
||||||
|
cmac_4_reg_0x18.Text = ssh_ReadReg("0x82000018");
|
||||||
|
}
|
||||||
|
|
||||||
|
private void reg_read_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
reg_data.Text = ssh_ReadReg("0x"+reg_addr.Text);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void reg_write_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
ssh_WriteReg("0x"+reg_addr.Text, "0x"+reg_data.Text);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void counters_rst_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
reg_0x20.Text = ssh_ReadReg("0x80000020");
|
||||||
|
uint cntrl_reg20 = (Convert.ToUInt32(reg_0x28.Text, 16));
|
||||||
|
cntrl_reg20 |= 0x8000_0000; // bit31: 1 <= reset
|
||||||
|
|
||||||
|
ssh_WriteReg("0x80000020", "0x" + cntrl_reg20.ToString("X8"));
|
||||||
|
reg_0x20.Text = ssh_ReadReg("0x80000020");
|
||||||
|
|
||||||
|
reg_0x20.Text = ssh_ReadReg("0x80000020");
|
||||||
|
cntrl_reg20 = (Convert.ToUInt32(reg_0x28.Text, 16));
|
||||||
|
cntrl_reg20 &= 0x7FFF_FFFF; // bit31: 0 <= normal
|
||||||
|
|
||||||
|
ssh_WriteReg("0x80000020", "0x" + cntrl_reg20.ToString("X8"));
|
||||||
|
reg_0x20.Text = ssh_ReadReg("0x80000020");
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+194
@@ -0,0 +1,194 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<metadata name="label34.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</metadata>
|
||||||
|
<metadata name="label6.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</metadata>
|
||||||
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>
|
||||||
|
/9j/4AAQSkZJRgABAQEAeAB4AAD/4QDCRXhpZgAATU0AKgAAAAgAAwE7AAIAAAANAAAAModpAAQAAAAB
|
||||||
|
AAAAQJydAAEAAAAaAAAAoAAAAABOaWNrIFNhbnRhbmEAAAAEkAMAAgAAABQAAAB2kAQAAgAAABQAAACK
|
||||||
|
kpEAAgAAAAM1NQAAkpIAAgAAAAM1NQAAAAAAADIwMjQ6MDE6MDUgMTQ6MTc6MDkAMjAyNDowMTowNSAx
|
||||||
|
NDoxNzowOQAAAE4AaQBjAGsAIABTAGEAbgB0AGEAbgBhAAAA/9sAQwAHBQUGBQQHBgUGCAcHCAoRCwoJ
|
||||||
|
CQoVDxAMERgVGhkYFRgXGx4nIRsdJR0XGCIuIiUoKSssKxogLzMvKjInKisq/9sAQwEHCAgKCQoUCwsU
|
||||||
|
KhwYHCoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq/8AAEQgA
|
||||||
|
PwB+AwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMF
|
||||||
|
BQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2
|
||||||
|
Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeo
|
||||||
|
qaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+v/EAB8BAAMBAQEB
|
||||||
|
AQEBAQEAAAAAAAABAgMEBQYHCAkKC//EALURAAIBAgQEAwQHBQQEAAECdwABAgMRBAUhMQYSQVEHYXET
|
||||||
|
IjKBCBRCkaGxwQkjM1LwFWJy0QoWJDThJfEXGBkaJicoKSo1Njc4OTpDREVGR0hJSlNUVVZXWFlaY2Rl
|
||||||
|
ZmdoaWpzdHV2d3h5eoKDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT
|
||||||
|
1NXW19jZ2uLj5OXm5+jp6vLz9PX29/j5+v/aAAwDAQACEQMRAD8A+gdb13T/AA7prX+r3At7ZWClz6mu
|
||||||
|
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
|
||||||
|
</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace uartTestGUI
|
||||||
|
{
|
||||||
|
static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The main entry point for the application.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
Application.Run(new Form1());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,36 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("uartTestGUI")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("uartTestGUI")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
|
// to COM components. If you need to access a type in this assembly from
|
||||||
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
|
[assembly: Guid("13b69149-489f-486c-a625-a0f8c3595025")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
Generated
+71
@@ -0,0 +1,71 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace uartTestGUI.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||||
|
/// </summary>
|
||||||
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||||
|
// class via a tool like ResGen or Visual Studio.
|
||||||
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
|
// with the /str option, or rebuild your VS project.
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||||
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
internal class Resources
|
||||||
|
{
|
||||||
|
|
||||||
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
|
internal Resources()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Returns the cached ResourceManager instance used by this class.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Resources.ResourceManager ResourceManager
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if ((resourceMan == null))
|
||||||
|
{
|
||||||
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("uartTestGUI.Properties.Resources", typeof(Resources).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Overrides the current thread's CurrentUICulture property for all
|
||||||
|
/// resource lookups using this strongly typed resource class.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Globalization.CultureInfo Culture
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,117 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
Generated
+30
@@ -0,0 +1,30 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace uartTestGUI.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||||
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||||
|
{
|
||||||
|
|
||||||
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
|
public static Settings Default
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return defaultInstance;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
|
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||||
|
<Profiles>
|
||||||
|
<Profile Name="(Default)" />
|
||||||
|
</Profiles>
|
||||||
|
<Settings />
|
||||||
|
</SettingsFile>
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="BouncyCastle.Cryptography" version="2.6.2" targetFramework="net472" />
|
||||||
|
<package id="Microsoft.Bcl.AsyncInterfaces" version="8.0.0" targetFramework="net472" />
|
||||||
|
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="8.0.2" targetFramework="net472" />
|
||||||
|
<package id="Microsoft.Extensions.Logging.Abstractions" version="8.0.3" targetFramework="net472" />
|
||||||
|
<package id="SSH.NET" version="2025.1.0" targetFramework="net472" />
|
||||||
|
<package id="System.Buffers" version="4.5.1" targetFramework="net472" />
|
||||||
|
<package id="System.Formats.Asn1" version="8.0.2" targetFramework="net472" />
|
||||||
|
<package id="System.Memory" version="4.5.5" targetFramework="net472" />
|
||||||
|
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net472" />
|
||||||
|
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.3" targetFramework="net472" />
|
||||||
|
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net472" />
|
||||||
|
<package id="System.ValueTuple" version="4.5.0" targetFramework="net472" />
|
||||||
|
</packages>
|
||||||
@@ -0,0 +1,163 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{13B69149-489F-486C-A625-A0F8C3595025}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>uartTestGUI</RootNamespace>
|
||||||
|
<AssemblyName>quadRT_CMAC_TestGUI</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<PublishUrl>C:\erisys\Alinx_Z19_MISC\quadRT_TestGUI\publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>1</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManifestCertificateThumbprint>02D86ACA016F73FD78CB79BCDD9B8129DD453E3B</ManifestCertificateThumbprint>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManifestKeyFile>uartTestGUI_TemporaryKey.pfx</ManifestKeyFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<GenerateManifests>true</GenerateManifests>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SignManifests>true</SignManifests>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="BouncyCastle.Cryptography, Version=2.0.0.0, Culture=neutral, PublicKeyToken=072edcf4a5328938, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\BouncyCastle.Cryptography.2.6.2\lib\net461\BouncyCastle.Cryptography.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.2, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\Microsoft.Extensions.DependencyInjection.Abstractions.8.0.2\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=8.0.0.3, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\Microsoft.Extensions.Logging.Abstractions.8.0.3\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Renci.SshNet, Version=2025.1.0.1, Culture=neutral, PublicKeyToken=1cee9f8bde3db106, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\SSH.NET.2025.1.0\lib\net462\Renci.SshNet.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Formats.Asn1, Version=8.0.0.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\System.Formats.Asn1.8.0.2\lib\net462\System.Formats.Asn1.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Numerics" />
|
||||||
|
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Windows.Forms.DataVisualization" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Deployment" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Form1.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Form1.Designer.cs">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<EmbeddedResource Include="Form1.resx">
|
||||||
|
<DependentUpon>Form1.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<None Include="packages.config" />
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
<None Include="uartTestGUI_TemporaryKey.pfx" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 16
|
||||||
|
VisualStudioVersion = 16.0.29215.179
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "quadRT_CMAC_TestGUI", "quadRT_CMAC_TestGUI.csproj", "{13B69149-489F-486C-A625-A0F8C3595025}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{13B69149-489F-486C-A625-A0F8C3595025}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{13B69149-489F-486C-A625-A0F8C3595025}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{13B69149-489F-486C-A625-A0F8C3595025}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{13B69149-489F-486C-A625-A0F8C3595025}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {FC4A8BE8-072D-43F6-B98D-934EFB2AAE12}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Reference in New Issue
Block a user