Skip to content

Commit

Permalink
Added wb32-dfu-updater_cli automatically disabled read protection fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
Joy committed Mar 25, 2022
1 parent 6318c69 commit a34c1b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions windows/QMK Toolbox/Flashing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -394,12 +394,12 @@ private void FlashWb32Dfu(string file)
{
if (Path.GetExtension(file)?.ToLower() == ".hex")
{
RunProcess("wb32-dfu-updater_cli.exe", $"--download \"{file}\"");
RunProcess("wb32-dfu-updater_cli.exe", $"--toolbox-mode --download \"{file}\"");
_printer.Print("Flash complete", MessageType.Bootloader);
}
else
{
RunProcess("wb32-dfu-updater_cli.exe", $"--dfuse-address 0x08000000 --download \"{file}\"");
RunProcess("wb32-dfu-updater_cli.exe", $"--toolbox-mode --dfuse-address 0x08000000 --download \"{file}\"");
_printer.Print("Flash complete", MessageType.Bootloader);
}
}
Expand Down
2 changes: 1 addition & 1 deletion windows/QMK Toolbox/QMK Toolbox.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="Resources\output.ico" />
<EmbeddedResource Include="Resources\wb32-dfu-updater_cli.exe" />
<EmbeddedResource Include="..\..\common\avrdude.conf">
<Link>Resources\avrdude.conf</Link>
</EmbeddedResource>
Expand All @@ -169,7 +170,6 @@
<EmbeddedResource Include="Resources\mdloader.exe" />
<EmbeddedResource Include="Resources\qmk_driver_installer.exe" />
<EmbeddedResource Include="Resources\teensy_loader_cli.exe" />
<EmbeddedResource Include="Resources\wb32-dfu-updater_cli.exe" />
<EmbeddedResource Include="Resources\libftdi1.dll" />
<EmbeddedResource Include="Resources\libusb0.dll" />
<EmbeddedResource Include="Resources\libusb-0-1-4.dll" />
Expand Down
Binary file modified windows/QMK Toolbox/Resources/wb32-dfu-updater_cli.exe
Binary file not shown.

0 comments on commit a34c1b0

Please sign in to comment.