-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace DFU implementation with ST Cube Programmer (#79)
- Loading branch information
1 parent
34325da
commit 62cc30c
Showing
13 changed files
with
729 additions
and
616 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
33 changes: 33 additions & 0 deletions
33
nanoFirmwareFlasher/Exceptions/CantConnectToDfuDeviceException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// Copyright (c) .NET Foundation and Contributors | ||
// See LICENSE file in the project root for full license information. | ||
// | ||
|
||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace nanoFramework.Tools.FirmwareFlasher | ||
{ | ||
/// <summary> | ||
/// Couldn't open the specified DFU device. | ||
/// </summary> | ||
[Serializable] | ||
internal class CantConnectToDfuDeviceException : Exception | ||
{ | ||
public CantConnectToDfuDeviceException() | ||
{ | ||
} | ||
|
||
public CantConnectToDfuDeviceException(string message) : base(message) | ||
{ | ||
} | ||
|
||
public CantConnectToDfuDeviceException(string message, Exception innerException) : base(message, innerException) | ||
{ | ||
} | ||
|
||
protected CantConnectToDfuDeviceException(SerializationInfo info, StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
} | ||
} |
36 changes: 0 additions & 36 deletions
36
nanoFirmwareFlasher/Exceptions/CantOpenDfuDeviceException.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.