Skip to content

Commit

Permalink
(MAJOR) first revision in new home
Browse files Browse the repository at this point in the history
  • Loading branch information
lansalot committed Feb 19, 2024
1 parent ed53f23 commit 5336c9f
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 19 deletions.
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
################################################################################
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
################################################################################

/.vs/TeensyFlasher
/bin/Debug
/obj/Debug
/TeensyFlasher/bin
/TeensyFlasher/obj
/TeensyFlasher/.vs
/packages
18 changes: 9 additions & 9 deletions Firmwares.csv
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
All-in-one (for v2.x),https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares/AOG-2.5.hex
All-in-one (for v4.x),https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares/AOG-4.1.hex
CommonRail's CANBUS,https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares/AOG-CommonRail-CANBUS.hex
CommonRail's CANBUS (adapted for all-in-one board),https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares/CANBUS-All-In-One.hex
CANBUS for AIO (test added MF7S and CatMT support),https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares/CANBUS-AIO-beta.hex
Keya Motorwheel (for PCB4.1 and Keya CANBUS),https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares/AOG-Keya-CANBUS.hex
Keya Motorwheel 08G-V1-beta (for PCB4.1 and Keya CANBUS),https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares/Keya-08G-V1-Beta.hex
PANDA (for PCBv2),https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares/AOG-2.5.hex
Rate Controller (RC21 rate app),https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares/RCteensy.hex
All-in-one (for v2.x),https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares/AOG-2.5.hex
All-in-one (for v4.x),https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares/AOG-4.1.hex
CommonRail's CANBUS,https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares/AOG-CommonRail-CANBUS.hex
CommonRail's CANBUS (adapted for all-in-one board),https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares/CANBUS-All-In-One.hex
CANBUS for AIO (test added MF7S and CatMT support),https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares/CANBUS-AIO-beta.hex
Keya Motorwheel (for PCB4.1 and Keya CANBUS),https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares/AOG-Keya-CANBUS.hex
Keya Motorwheel 08G-V1-beta (for PCB4.1 and Keya CANBUS),https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares/Keya-08G-V1-Beta.hex
PANDA (for PCBv2),https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares/AOG-2.5.hex
Rate Controller (RC21 rate app),https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares/RCteensy.hex
4 changes: 2 additions & 2 deletions TeensyFlasher/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion TeensyFlasher/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions TeensyFlasher/TeensyFlasher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{2BE12002-7524-4552-9D32-1AC61BF78672}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>TeensyFlasher</RootNamespace>
<AssemblyName>TeensyFlasher</AssemblyName>
<RootNamespace>AOGConfigOMatic</RootNamespace>
<AssemblyName>AOGConfigOMatic</AssemblyName>
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
<LangVersion>8.0</LangVersion>
<Nullable>enable</Nullable>
Expand Down Expand Up @@ -91,6 +91,7 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Firmwares.csv" />
<None Include="packages.config" />
Expand Down
10 changes: 5 additions & 5 deletions TeensyFlasher/frmMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ bool DownloadFile(string url, string localFile)
}
private void btnRefreshTeensy_Click(object sender, EventArgs e)
{
string url = "https://raw.githubusercontent.com/lansalot/AOGTeensyFlasher/main/Firmwares.csv";
string url = "https://raw.githubusercontent.com/lansalot/AOGConfigOMatic/main/Firmwares.csv";
DownloadFile(url, localCSV);
UpdateFirmwareBox();
}
Expand Down Expand Up @@ -453,10 +453,10 @@ public void ConfigureReceiver(string configurationFilename)
return;
}

if (_serialPort == null)
{
_serialPort.DataReceived -= MySerialPort_DataReceived;
}
//if (_serialPort == null) // was I drunk?
//{
// _serialPort.DataReceived -= MySerialPort_DataReceived;
//}
btnConfigF9P.Enabled = false;
btnConnect.Enabled = false;
btnF9PFlashFirmware.Enabled = false;
Expand Down

0 comments on commit 5336c9f

Please sign in to comment.